CI: update jobs for new CI infrastrucure

This commit is contained in:
Daniel Zatovic
2023-10-13 11:09:39 +02:00
committed by Milan Broz
parent 35cd898c63
commit f8e79cdbe6
9 changed files with 41 additions and 25 deletions

View File

@@ -19,5 +19,5 @@ include:
- local: .gitlab/ci/compilation-gcc.gitlab-ci.yml - local: .gitlab/ci/compilation-gcc.gitlab-ci.yml
- local: .gitlab/ci/compilation-clang.gitlab-ci.yml - local: .gitlab/ci/compilation-clang.gitlab-ci.yml
- local: .gitlab/ci/alpinelinux.yml - local: .gitlab/ci/alpinelinux.yml
- local: .gitlab/ci/ubuntu-32bit.yml - local: .gitlab/ci/debian-i686.yml
- local: .gitlab/ci/cifuzz.yml - local: .gitlab/ci/cifuzz.yml

View File

@@ -1,12 +1,12 @@
.alpinelinux-dependencies: .alpinelinux-dependencies:
variables:
DISTRO: cryptsetup-alpine-edge
after_script: after_script:
- sudo dmesg > /mnt/artifacts/dmesg.log
- sudo cp /var/log/messages /mnt/artifacts/
- '[ "$(ls -A /var/coredumps)" ] && exit 1 || true' - '[ "$(ls -A /var/coredumps)" ] && exit 1 || true'
before_script: before_script:
- > - >
sudo apk add sudo apk add
lvm2-dev openssl1.1-compat-dev popt-dev util-linux-dev json-c-dev lvm2-dev openssl-dev popt-dev util-linux-dev json-c-dev
argon2-dev device-mapper which sharutils gettext gettext-dev automake argon2-dev device-mapper which sharutils gettext gettext-dev automake
autoconf libtool build-base keyutils tar jq expect git asciidoctor autoconf libtool build-base keyutils tar jq expect git asciidoctor
- ./autogen.sh - ./autogen.sh
@@ -17,7 +17,7 @@ test-main-commit-job-alpinelinux:
- .alpinelinux-dependencies - .alpinelinux-dependencies
tags: tags:
- libvirt - libvirt
- alpinelinux - cryptsetup-alpine-edge
stage: test stage: test
interruptible: true interruptible: true
variables: variables:
@@ -38,7 +38,7 @@ test-mergerq-job-alpinelinux:
- .alpinelinux-dependencies - .alpinelinux-dependencies
tags: tags:
- libvirt - libvirt
- alpinelinux - cryptsetup-alpine-edge
stage: test stage: test
interruptible: true interruptible: true
variables: variables:

View File

@@ -3,11 +3,12 @@ test-main-commit-job-annocheck:
- .dump_kernel_log - .dump_kernel_log
tags: tags:
- libvirt - libvirt
- rhel9-annocheck - cryptsetup-rhel-9
stage: test stage: test
interruptible: true interruptible: true
allow_failure: true allow_failure: true
variables: variables:
DISTRO: cryptsetup-rhel-9
RUN_SSH_PLUGIN_TEST: "1" RUN_SSH_PLUGIN_TEST: "1"
rules: rules:
- if: $CI_PROJECT_PATH != "cryptsetup/cryptsetup" - if: $CI_PROJECT_PATH != "cryptsetup/cryptsetup"

View File

@@ -1,4 +1,6 @@
.centos-openssl-backend: .centos-openssl-backend:
variables:
DISTRO: cryptsetup-centos-stream-9
extends: extends:
- .dump_kernel_log - .dump_kernel_log
before_script: before_script:
@@ -21,7 +23,7 @@ test-main-commit-centos-stream9:
- .centos-openssl-backend - .centos-openssl-backend
tags: tags:
- libvirt - libvirt
- centos-stream9 - cryptsetup-centos-stream-9
stage: test stage: test
interruptible: true interruptible: true
variables: variables:
@@ -42,7 +44,7 @@ test-mergerq-centos-stream9:
- .centos-openssl-backend - .centos-openssl-backend
tags: tags:
- libvirt - libvirt
- centos-stream9 - cryptsetup-centos-stream-9
stage: test stage: test
interruptible: true interruptible: true
variables: variables:

View File

@@ -3,11 +3,12 @@ test-commit-job-csmock:
- .dump_kernel_log - .dump_kernel_log
tags: tags:
- libvirt - libvirt
- rhel9-csmock - cryptsetup-rhel-9
stage: test stage: test
interruptible: true interruptible: true
allow_failure: true allow_failure: true
variables: variables:
DISTRO: cryptsetup-rhel-9
RUN_SSH_PLUGIN_TEST: "1" RUN_SSH_PLUGIN_TEST: "1"
rules: rules:
- if: $CI_PROJECT_PATH != "cryptsetup/cryptsetup" - if: $CI_PROJECT_PATH != "cryptsetup/cryptsetup"

View File

@@ -1,9 +1,11 @@
test-mergerq-job-ubuntu-32bit: test-mergerq-job-debian-i686:
variables:
DISTRO: cryptsetup-debian-12i686
extends: extends:
- .debian-prep - .debian-prep
tags: tags:
- libvirt - libvirt
- ubuntu-bionic-32bit - cryptsetup-debian-12i686
stage: test stage: test
interruptible: true interruptible: true
variables: variables:
@@ -19,12 +21,14 @@ test-mergerq-job-ubuntu-32bit:
- make -j -C tests check-programs - make -j -C tests check-programs
- sudo -E make check - sudo -E make check
test-main-commit-job-ubuntu-32bit: test-main-commit-job-debian-i686:
variables:
DISTRO: cryptsetup-debian-12i686
extends: extends:
- .debian-prep - .debian-prep
tags: tags:
- libvirt - libvirt
- ubuntu-bionic-32bit - cryptsetup-debian-12i686
stage: test stage: test
interruptible: true interruptible: true
variables: variables:

View File

@@ -1,6 +1,8 @@
.debian-prep: .debian-prep:
extends: extends:
- .dump_kernel_log - .dump_kernel_log
variables:
DISTRO: cryptsetup-debian-12
before_script: before_script:
- sudo apt-get -y update - sudo apt-get -y update
- > - >
@@ -11,7 +13,7 @@
sudo apt-get -y install -y -qq git gcc make autoconf automake autopoint sudo apt-get -y install -y -qq git gcc make autoconf automake autopoint
pkgconf libtool libtool-bin gettext libssl-dev libdevmapper-dev pkgconf libtool libtool-bin gettext libssl-dev libdevmapper-dev
libpopt-dev uuid-dev libsepol-dev libjson-c-dev libssh-dev libblkid-dev libpopt-dev uuid-dev libsepol-dev libjson-c-dev libssh-dev libblkid-dev
tar libargon2-0-dev libpwquality-dev sharutils dmsetup jq xxd expect tar libargon2-dev libpwquality-dev sharutils dmsetup jq xxd expect
keyutils netcat-openbsd passwd openssh-client sshpass asciidoctor keyutils netcat-openbsd passwd openssh-client sshpass asciidoctor
- sudo apt-get -y build-dep cryptsetup - sudo apt-get -y build-dep cryptsetup
- sudo -E git clean -xdf - sudo -E git clean -xdf
@@ -23,7 +25,7 @@ test-mergerq-job-debian:
- .debian-prep - .debian-prep
tags: tags:
- libvirt - libvirt
- debian12 - cryptsetup-debian-12
stage: test stage: test
interruptible: true interruptible: true
variables: variables:
@@ -42,7 +44,7 @@ test-main-commit-job-debian:
- .debian-prep - .debian-prep
tags: tags:
- libvirt - libvirt
- debian12 - cryptsetup-debian-12
stage: test stage: test
interruptible: true interruptible: true
variables: variables:
@@ -62,7 +64,7 @@ test-mergerq-job-debian-meson:
- .debian-prep - .debian-prep
tags: tags:
- libvirt - libvirt
- debian12 - cryptsetup-debian-12
stage: test stage: test
interruptible: true interruptible: true
variables: variables:
@@ -82,7 +84,7 @@ test-main-commit-job-debian-meson:
- .debian-prep - .debian-prep
tags: tags:
- libvirt - libvirt
- debian12 - cryptsetup-debian-12
stage: test stage: test
interruptible: true interruptible: true
variables: variables:

View File

@@ -1,4 +1,6 @@
.dnf-openssl-backend: .dnf-openssl-backend:
variables:
DISTRO: cryptsetup-fedora-rawhide
extends: extends:
- .dump_kernel_log - .dump_kernel_log
before_script: before_script:
@@ -24,7 +26,7 @@ test-main-commit-job-rawhide:
- .dnf-openssl-backend - .dnf-openssl-backend
tags: tags:
- libvirt - libvirt
- fedora-rawhide - cryptsetup-fedora-rawhide
stage: test stage: test
interruptible: true interruptible: true
allow_failure: true allow_failure: true
@@ -44,7 +46,7 @@ test-mergerq-job-rawhide:
- .dnf-openssl-backend - .dnf-openssl-backend
tags: tags:
- libvirt - libvirt
- fedora-rawhide - cryptsetup-fedora-rawhide
stage: test stage: test
interruptible: true interruptible: true
allow_failure: true allow_failure: true

View File

@@ -21,10 +21,11 @@ test-main-commit-rhel8:
- .rhel-openssl-backend - .rhel-openssl-backend
tags: tags:
- libvirt - libvirt
- rhel8 - cryptsetup-rhel-8
stage: test stage: test
interruptible: true interruptible: true
variables: variables:
DISTRO: cryptsetup-rhel-8
RUN_SSH_PLUGIN_TEST: "1" RUN_SSH_PLUGIN_TEST: "1"
rules: rules:
- if: $RUN_SYSTEMD_PLUGIN_TEST != null - if: $RUN_SYSTEMD_PLUGIN_TEST != null
@@ -42,10 +43,11 @@ test-main-commit-rhel9:
- .rhel-openssl-backend - .rhel-openssl-backend
tags: tags:
- libvirt - libvirt
- rhel9 - cryptsetup-rhel-9
stage: test stage: test
interruptible: true interruptible: true
variables: variables:
DISTRO: cryptsetup-rhel-9
RUN_SSH_PLUGIN_TEST: "1" RUN_SSH_PLUGIN_TEST: "1"
rules: rules:
- if: $RUN_SYSTEMD_PLUGIN_TEST != null - if: $RUN_SYSTEMD_PLUGIN_TEST != null
@@ -65,10 +67,11 @@ test-main-commit-rhel8-fips:
- .rhel-openssl-backend - .rhel-openssl-backend
tags: tags:
- libvirt - libvirt
- rhel8-fips - cryptsetup-rhel-8-fips
stage: test stage: test
interruptible: true interruptible: true
variables: variables:
DISTRO: cryptsetup-rhel-8-fips
RUN_SSH_PLUGIN_TEST: "1" RUN_SSH_PLUGIN_TEST: "1"
rules: rules:
- if: $RUN_SYSTEMD_PLUGIN_TEST != null - if: $RUN_SYSTEMD_PLUGIN_TEST != null
@@ -87,11 +90,12 @@ test-main-commit-rhel9-fips:
- .rhel-openssl-backend - .rhel-openssl-backend
tags: tags:
- libvirt - libvirt
- rhel9-fips - cryptsetup-rhel-9-fips
stage: test stage: test
interruptible: true interruptible: true
allow_failure: true allow_failure: true
variables: variables:
DISTRO: cryptsetup-rhel-9-fips
RUN_SSH_PLUGIN_TEST: "1" RUN_SSH_PLUGIN_TEST: "1"
rules: rules:
- if: $RUN_SYSTEMD_PLUGIN_TEST != null - if: $RUN_SYSTEMD_PLUGIN_TEST != null