Compare commits
3 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
59a0193711 |
|||
|
8ab072b8e6 |
|||
|
4cbe964244 |
6 changed files with 14 additions and 14 deletions
|
|
@ -10,7 +10,7 @@ jobs:
|
|||
image: alpine:latest
|
||||
env:
|
||||
QUBES_REL: r4.2
|
||||
DIST: alpine322
|
||||
DIST: alpine323
|
||||
steps:
|
||||
- name: Environment setup
|
||||
run: |
|
||||
|
|
@ -30,13 +30,13 @@ jobs:
|
|||
git clone https://github.com/QubesOS/qubes-linux-template-builder qubes-builder/qubes-src/linux-template-builder
|
||||
patch -d qubes-builder/qubes-src/linux-template-builder -p1 -i $GITHUB_WORKSPACE/.forgejo/patches/linux-template-builder_use-fuse.patch
|
||||
echo "%define _arch x86_64" >> qubes-builder/qubes-src/linux-template-builder/templates.spec
|
||||
echo "4.2.0" > qubes-builder/qubes-src/linux-template-builder/version
|
||||
echo "4.3.0" > qubes-builder/qubes-src/linux-template-builder/version
|
||||
sed "s|DISTS_VM :.*|DISTS_VM := $DIST|" -i ./qubes-builder/builder.conf
|
||||
cd qubes-builder
|
||||
make linux-template-builder
|
||||
cp qubes-src/linux-template-builder/rpm/noarch/qubes-template-*.rpm $GITHUB_WORKSPACE/.
|
||||
- name: Package upload
|
||||
uses: forgejo/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: package
|
||||
path: qubes-template-*.rpm
|
||||
|
|
@ -56,7 +56,7 @@ jobs:
|
|||
- name: Repo pull
|
||||
uses: actions/checkout@v4
|
||||
- name: Package download
|
||||
uses: forgejo/download-artifact@v3
|
||||
uses: actions/download-artifact@v3
|
||||
- name: Package deployment
|
||||
run: ${{ github.workspace }}/.forgejo/bin/deploy.sh
|
||||
release-create:
|
||||
|
|
@ -66,7 +66,7 @@ jobs:
|
|||
image: node:latest
|
||||
steps:
|
||||
- name: Package download
|
||||
uses: forgejo/download-artifact@v3
|
||||
uses: actions/download-artifact@v3
|
||||
- name: Release creation
|
||||
uses: actions/forgejo-release@v2.3.1
|
||||
with:
|
||||
|
|
@ -76,5 +76,5 @@ jobs:
|
|||
verbose: true
|
||||
token: "${{ secrets.FORGE_REPO_TOKEN }}"
|
||||
release-dir: ./package
|
||||
release-notes: "For download of template through DNF, please go to https://ayakael.net/forge/-/packages/rpm/qubes-template-alpine320"
|
||||
release-notes: "For download of template through DNF, please go to https://ayakael.net/forge/-/packages/rpm/qubes-template-alpine323"
|
||||
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ jobs:
|
|||
make linux-template-builder
|
||||
cp qubes-src/linux-template-builder/rpm/noarch/qubes-template-*.rpm $GITHUB_WORKSPACE/.
|
||||
- name: Package upload
|
||||
uses: forgejo/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: package
|
||||
path: qubes-template-*.rpm
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ jobs:
|
|||
make linux-template-builder
|
||||
cp qubes-src/linux-template-builder/rpm/noarch/qubes-template-*.rpm $GITHUB_WORKSPACE/.
|
||||
- name: Package upload
|
||||
uses: forgejo/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: package
|
||||
path: qubes-template-*.rpm
|
||||
|
|
|
|||
|
|
@ -102,7 +102,7 @@ cp /home/user/.abuild/*.pub /etc/apk/keys
|
|||
```
|
||||
mkdir work
|
||||
cd work
|
||||
git clone https://ayakael.net/forge/qports -b <desired Qubes Rel, i.e r4.2>
|
||||
git clone https://ayakael.net/forge/qports -b <desired Qubes Rel, i.e r4.3>
|
||||
```
|
||||
|
||||
**3) Build all packages using `buildrepo`**
|
||||
|
|
@ -123,7 +123,7 @@ export QUBESALPINE_KEYFILE=<https://url-to-custom-repo-key>
|
|||
```
|
||||
mkdir work
|
||||
cd work
|
||||
git clone https://ayakael.net/forge/qubes-builder-alpine -b <desired Qubes Rel, i.e r4.2>
|
||||
git clone https://ayakael.net/forge/qubes-builder-alpine -b <desired Qubes Rel, i.e r4.3>
|
||||
```
|
||||
|
||||
**2) Set-up build environment for QubesOS template build**
|
||||
|
|
@ -140,9 +140,9 @@ git clone https://github.com/QubesOS/qubes-linux-template-builder qubes-builder/
|
|||
|
||||
```
|
||||
echo "%define _arch x86_64" >> qubes-builder/qubes-src/linux-template-builder/templates.spec
|
||||
echo "4.2.0" > qubes-builder/qubes-src/linux-template-builder/version
|
||||
echo "4.3.0" > qubes-builder/qubes-src/linux-template-builder/version
|
||||
```
|
||||
If you want to build a different Alpine version than default, you can modify `qubes-builder/builder.conf` on line `DIST_VM` to alpine<desired-version-without-dot> (i.e alpine320).
|
||||
If you want to build a different Alpine version than default, you can modify `qubes-builder/builder.conf` on line `DIST_VM` to alpine<desired-version-without-dot> (i.e alpine322).
|
||||
|
||||
**4) Build template**
|
||||
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ GIT_PREFIX := QubesOS/qubes-
|
|||
|
||||
# DISTS_VM - Choose the templates to build. Multiple templates can be defined
|
||||
# to build. Uncomment tempalte dist to build.
|
||||
DISTS_VM := alpine322
|
||||
DISTS_VM := alpine323
|
||||
COMPONENTS += builder-alpine
|
||||
BUILDER_PLUGINS += builder-alpine
|
||||
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ APKTOOLS_CACHE_DIR="${CACHEDIR}/apk_cache"
|
|||
ALPINELINUX_VERSION=${DIST_VER:-latest-stable}
|
||||
QUBESALPINE_MIRROR="${QUBESALPINE_MIRROR:-https://ayakael.net/api/packages/forge/alpine}"
|
||||
QUBESALPINE_KEYFILE="${QUBESALPINE_KEYFILE:-https://ayakael.net/api/packages/forge/alpine/key}"
|
||||
QUBES_REL="${QUBES_REL:-r4.2}"
|
||||
QUBES_REL="${QUBES_REL:-r4.3}"
|
||||
export APK_CACHE_DIR
|
||||
|
||||
set -e
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue