mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-02 01:18:08 +01:00
Various CI improvments
- Use KVM specific stuff for only the actual running task - Introduce a new reuse lint task - Use generic debian image for linting tasks
This commit is contained in:
parent
bd3e7659b2
commit
c0ffc482e4
1 changed files with 22 additions and 8 deletions
30
.cirrus.yml
30
.cirrus.yml
|
|
@ -2,14 +2,10 @@
|
|||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
container:
|
||||
image: potyarkin/molecule:host-kvm
|
||||
kvm: true
|
||||
cpu: 2
|
||||
memory: 4G
|
||||
|
||||
lint_task:
|
||||
install_script:
|
||||
shell_lint_task:
|
||||
container:
|
||||
image: debian:stable
|
||||
deps_script:
|
||||
- apt-get -y update
|
||||
- apt-get -y dist-upgrade
|
||||
- apt-get -y install shellcheck
|
||||
|
|
@ -17,7 +13,25 @@ lint_task:
|
|||
check_script:
|
||||
- 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:
|
||||
timeout_in: 90m
|
||||
container:
|
||||
image: potyarkin/molecule:host-kvm
|
||||
kvm: true
|
||||
cpu: 2
|
||||
memory: 4G
|
||||
# Required background services
|
||||
dbus_background_script:
|
||||
- mkdir -p /var/run/dbus
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue