mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-14 23:35:24 +01:00
Add cirrus CI
This commit is contained in:
parent
5a369dc783
commit
97fd39feb2
4 changed files with 49 additions and 1 deletions
38
.cirrus.yml
Normal file
38
.cirrus.yml
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
container:
|
||||
image: potyarkin/molecule:host-kvm
|
||||
kvm: true
|
||||
cpu: 2
|
||||
memory: 4G
|
||||
|
||||
lint_task:
|
||||
install_script:
|
||||
- apt-get -y update
|
||||
- apt-get -y dist-upgrade
|
||||
- apt-get -y install shellcheck
|
||||
- apt-get -y clean
|
||||
check_script:
|
||||
- shellcheck rootfs.sh
|
||||
|
||||
run_task:
|
||||
# Required background services
|
||||
dbus_background_script:
|
||||
- mkdir -p /var/run/dbus
|
||||
- /usr/bin/dbus-daemon --system --nofork --nopidfile
|
||||
virtlogd_background_script:
|
||||
- /usr/sbin/virtlogd
|
||||
libvirtd_background_script:
|
||||
- sleep 2 && /usr/sbin/libvirtd
|
||||
iptables_legacy_script:
|
||||
- update-alternatives --set iptables /usr/sbin/iptables-legacy
|
||||
deps_script:
|
||||
- apt-get -y update
|
||||
- apt-get -y dist-upgrade
|
||||
- apt-get -y install sudo git cpio linux-image-4.19.0-13-amd64 expect wget
|
||||
- apt-get -y clean
|
||||
submodule_script:
|
||||
- git submodule update --init --recursive
|
||||
kernel_script:
|
||||
- cp /boot/vmlinuz-4.19.0-13-amd64 ./kernel
|
||||
run_script:
|
||||
- ./.cirrus.expect | tee -a /tmp/run.log
|
||||
- grep -q 'Bootstrapping completed.' /tmp/run.log
|
||||
Loading…
Add table
Add a link
Reference in a new issue