M images/alpine/build.yml => images/alpine/build.yml +7 -1
@@ 13,6 13,7 @@ environment:
slaves:
- deploy@mio.runners.sr.ht
- deploy@yui.runners.sr.ht
+ - deploy@azusa.runners.sr.ht
secrets:
- fa00a8d3-7b63-42d5-8060-3bb31c3e3018
triggers:
@@ 24,7 25,12 @@ tasks:
cd builds.sr.ht/images/alpine/$release
sudo ./genimg $arch
- kvm: |
- sudo modprobe kvm-intel
+ if grep -i amd /proc/cpuinfo
+ then
+ sudo modprobe kvm_amd
+ else
+ sudo modprobe kvm_intel
+ fi
sleep 1
sudo chown build:build /dev/kvm
- sanity-check: |
M images/archlinux/build.yml => images/archlinux/build.yml +1 -0
@@ 11,6 11,7 @@ environment:
slaves:
- deploy@mio.runners.sr.ht
- deploy@yui.runners.sr.ht
+ - deploy@azusa.runners.sr.ht
secrets:
- fa00a8d3-7b63-42d5-8060-3bb31c3e3018
triggers:
M images/debian/archgen.yml => images/debian/archgen.yml +2 -0
@@ 11,6 11,8 @@ environment:
release: stretch
slaves:
- deploy@mio.runners.sr.ht
+ - deploy@yui.runners.sr.ht
+ - deploy@azusa.runners.sr.ht
secrets:
- fa00a8d3-7b63-42d5-8060-3bb31c3e3018
tasks:
M images/debian/build.yml => images/debian/build.yml +1 -0
@@ 15,6 15,7 @@ environment:
slaves:
- deploy@mio.runners.sr.ht
- deploy@yui.runners.sr.ht
+ - deploy@azusa.runners.sr.ht
secrets:
- fa00a8d3-7b63-42d5-8060-3bb31c3e3018
triggers:
M images/fedora/build.yml => images/fedora/build.yml +1 -0
@@ 12,6 12,7 @@ environment:
slaves:
- deploy@mio.runners.sr.ht
- deploy@yui.runners.sr.ht
+ - deploy@azusa.runners.sr.ht
secrets:
- fa00a8d3-7b63-42d5-8060-3bb31c3e3018
triggers:
M images/freebsd/build.yml => images/freebsd/build.yml +1 -0
@@ 11,6 11,7 @@ environment:
slaves:
- deploy@mio.runners.sr.ht
- deploy@yui.runners.sr.ht
+ - deploy@azusa.runners.sr.ht
secrets:
- fa00a8d3-7b63-42d5-8060-3bb31c3e3018
triggers:
M images/netbsd/build.yml => images/netbsd/build.yml +1 -0
@@ 11,6 11,7 @@ environment:
slaves:
- deploy@mio.runners.sr.ht
- deploy@yui.runners.sr.ht
+ - deploy@azusa.runners.sr.ht
secrets:
- fa00a8d3-7b63-42d5-8060-3bb31c3e3018
triggers:
M images/nixos/build.yml => images/nixos/build.yml +7 -1
@@ 16,13 16,19 @@ environment:
slaves:
- deploy@mio.runners.sr.ht
- deploy@yui.runners.sr.ht
+ - deploy@azusa.runners.sr.ht
triggers:
- action: email
condition: failure
to: Drew DeVault <sir@cmpwn.com>
tasks:
- kvm: |
- sudo modprobe kvm-intel
+ if grep -i amd /proc/cpuinfo
+ then
+ sudo modprobe kvm_amd
+ else
+ sudo modprobe kvm_intel
+ fi
sleep 1
sudo chown build:build /dev/kvm
- genimg: |
M images/ubuntu/build.yml => images/ubuntu/build.yml +1 -0
@@ 15,6 15,7 @@ environment:
slaves:
- deploy@mio.runners.sr.ht
- deploy@yui.runners.sr.ht
+ - deploy@azusa.runners.sr.ht
secrets:
- fa00a8d3-7b63-42d5-8060-3bb31c3e3018
triggers: