Merge pull request #35 from fosslinux/ci-timeout-reuse
Various CI improvments
This commit is contained in:
commit
fb554b3685
30
.cirrus.yml
30
.cirrus.yml
|
@ -2,14 +2,10 @@
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
container:
|
shell_lint_task:
|
||||||
image: potyarkin/molecule:host-kvm
|
container:
|
||||||
kvm: true
|
image: debian:stable
|
||||||
cpu: 2
|
deps_script:
|
||||||
memory: 4G
|
|
||||||
|
|
||||||
lint_task:
|
|
||||||
install_script:
|
|
||||||
- apt-get -y update
|
- apt-get -y update
|
||||||
- apt-get -y dist-upgrade
|
- apt-get -y dist-upgrade
|
||||||
- apt-get -y install shellcheck
|
- apt-get -y install shellcheck
|
||||||
|
@ -17,7 +13,25 @@ lint_task:
|
||||||
check_script:
|
check_script:
|
||||||
- shellcheck rootfs.sh sysa/run.sh sysa/helpers.sh
|
- shellcheck rootfs.sh sysa/run.sh sysa/helpers.sh
|
||||||
|
|
||||||
|
reuse_lint_task:
|
||||||
|
container:
|
||||||
|
image: debian:stable
|
||||||
|
deps_script:
|
||||||
|
- apt-get -y update
|
||||||
|
- apt-get -y dist-upgrade
|
||||||
|
- apt-get -y install python3-pip git
|
||||||
|
- apt-get -y clean
|
||||||
|
- pip3 install reuse
|
||||||
|
check_script:
|
||||||
|
- reuse lint
|
||||||
|
|
||||||
run_task:
|
run_task:
|
||||||
|
timeout_in: 90m
|
||||||
|
container:
|
||||||
|
image: potyarkin/molecule:host-kvm
|
||||||
|
kvm: true
|
||||||
|
cpu: 2
|
||||||
|
memory: 4G
|
||||||
# Required background services
|
# Required background services
|
||||||
dbus_background_script:
|
dbus_background_script:
|
||||||
- mkdir -p /var/run/dbus
|
- mkdir -p /var/run/dbus
|
||||||
|
|
Loading…
Reference in New Issue