File tree Expand file tree Collapse file tree 3 files changed +115
-0
lines changed
Expand file tree Collapse file tree 3 files changed +115
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ name : Build ArchLinux zfs iso with DKMS Package using experimental repository
3+ on :
4+ schedule : # arch relases are published first day of the month
5+ - cron : ' 50 21 1 * *'
6+ workflow_dispatch :
7+ pull_request :
8+ types :
9+ - closed
10+ push :
11+
12+ jobs :
13+ no_lts_dkms_iso :
14+ if : ${{ github.event.pull_request.merged == true ||
15+ github.event_name == 'schedule' ||
16+ github.event_name == 'workflow_dispatch' ||
17+ github.event.repository.default_branch }}
18+ runs-on : ubuntu-latest
19+ container :
20+ image : archlinux/archlinux:latest
21+ options : --privileged
22+ steps :
23+ - name : Set timestamp tag
24+ id : timetag
25+ run : echo "timestamp=$(date +'%Y%m%d')" >> "$GITHUB_ENV"
26+ - name : Check out codebase
27+ uses : actions/checkout@v5
28+ - name : Install requirements
29+ run : |
30+ pacman -Sy
31+ pacman -S --noconfirm archlinux-keyring archiso git
32+ pacman-key --init
33+ pacman-key -r DDF7DB817396A49B2A2723F7403BD972F75D9D76
34+ pacman-key --lsign-key DDF7DB817396A49B2A2723F7403BD972F75D9D76
35+ - name : Prepare env
36+ run : |
37+ echo -e 'ASK_TO_DUMP_ISO=0
38+ ASK_TO_RUN_ISO=0
39+ ASK_TO_UPLOAD_ISO=0
40+ IS_FORCED=1
41+ KERNEL="linux"
42+ USE_DKMS=1'
43+ ZFS_SERVERS="experimental"' > .env
44+ - name : Build dkms iso
45+ run : |
46+ chmod +x ./*.sh
47+ ls
48+ bash ./build.sh --verbose
49+ - name : Upload a release
50+ uses : softprops/action-gh-release@v1
51+ with :
52+ name : archlinux-archzfs-linux-dkms-${{ env.timestamp }}
53+ tag_name : ${{ env.timestamp }}
54+ prerelease : ${{ github.event_name != 'schedule' }}
55+ files : |
56+ dynamic_data/out/*
Original file line number Diff line number Diff line change 1+ ---
2+ name : Build ArchLinux zfs iso with native ZFS Package using experimental repository
3+ on :
4+ schedule : # arch relases are published first day of the month
5+ - cron : ' 50 20 1 * *'
6+ workflow_dispatch :
7+ pull_request :
8+ types :
9+ - closed
10+ push :
11+
12+ jobs :
13+ no_lts_no_dkms_iso :
14+ if : ${{ github.event.pull_request.merged == true ||
15+ github.event_name == 'schedule' ||
16+ github.event_name == 'workflow_dispatch' ||
17+ github.event.repository.default_branch }}
18+ runs-on : ubuntu-latest
19+ container :
20+ image : archlinux/archlinux:latest
21+ options : --privileged
22+ steps :
23+ - name : Set timestamp tag
24+ id : timetag
25+ run : echo "timestamp=$(date +'%Y%m%d')" >> "$GITHUB_ENV"
26+ - name : Check out codebase
27+ uses : actions/checkout@v5
28+ - name : Install requirements
29+ run : |
30+ pacman -Sy
31+ pacman -S --noconfirm archlinux-keyring archiso git
32+ pacman-key --init
33+ pacman-key -r DDF7DB817396A49B2A2723F7403BD972F75D9D76
34+ pacman-key --lsign-key DDF7DB817396A49B2A2723F7403BD972F75D9D76
35+ - name : Prepare env
36+ run : |
37+ echo -e 'ASK_TO_DUMP_ISO=0
38+ ASK_TO_RUN_ISO=0
39+ ASK_TO_UPLOAD_ISO=0
40+ IS_FORCED=1
41+ KERNEL="linux"
42+ USE_DKMS=0
43+ ZFS_SERVERS="experimental"' > .env
44+ - name : Build iso
45+ run : |
46+ chmod +x ./*.sh
47+ ls
48+ bash ./build.sh --verbose
49+ - name : Upload a release
50+ uses : softprops/action-gh-release@v1
51+ with :
52+ name : archlinux-archzfs-linux-${{ env.timestamp }}
53+ tag_name : ${{ env.timestamp }}
54+ prerelease : ${{ github.event_name != 'schedule' }}
55+ files : |
56+ dynamic_data/out/*
57+
58+
Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ git log ${TAG_CREATED_FROM}..HEAD | grep '^ ' | trim
5555* Added arguments to [ run the iso] ( run_iso.sh ) script, check out ` run_iso.sh `
5656* Added environment variable ` ISO_BOOT_TYPE ` to prevent question about "uefi or bios" when try to [ run the iso] ( run_iso.sh )
5757* Added ` last_build_date*.txt ` to [ gitignore] ( .gitignore )
58+ * Added ` -z|--zfs-servers ` as option to switch to experimental archzfs repository
5859
5960### Changed in unreleased
6061
You can’t perform that action at this time.
0 commit comments