mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-05 16:00:05 +01:00
ci: Remove rhel runner
This commit is contained in:
committed by
Milan Broz
parent
68d4749d8a
commit
2b9523a1ef
@@ -10,7 +10,6 @@ include:
|
|||||||
- local: .gitlab/ci/debian.yml
|
- local: .gitlab/ci/debian.yml
|
||||||
- local: .gitlab/ci/fedora.yml
|
- local: .gitlab/ci/fedora.yml
|
||||||
- local: .gitlab/ci/fedora-opal.yml
|
- local: .gitlab/ci/fedora-opal.yml
|
||||||
- local: .gitlab/ci/rhel.yml
|
|
||||||
- local: .gitlab/ci/centos.yml
|
- local: .gitlab/ci/centos.yml
|
||||||
# - local: .gitlab/ci/annocheck.yml
|
# - local: .gitlab/ci/annocheck.yml
|
||||||
- local: .gitlab/ci/csmock.yml
|
- local: .gitlab/ci/csmock.yml
|
||||||
|
|||||||
@@ -1,157 +0,0 @@
|
|||||||
.rhel-openssl-backend:
|
|
||||||
extends:
|
|
||||||
- .fail_if_coredump_generated
|
|
||||||
before_script:
|
|
||||||
- >
|
|
||||||
sudo yum -y -q install
|
|
||||||
autoconf automake device-mapper-devel gcc gettext-devel json-c-devel
|
|
||||||
libblkid-devel libpwquality-devel libselinux-devel libssh-devel libtool
|
|
||||||
libuuid-devel make popt-devel libsepol-devel nc openssh-clients passwd
|
|
||||||
pkgconfig sharutils sshpass tar uuid-devel vim-common device-mapper
|
|
||||||
expect gettext git jq keyutils openssl-devel openssl gem
|
|
||||||
- sudo gem install asciidoctor
|
|
||||||
- sudo -E git clean -xdf
|
|
||||||
- ./autogen.sh
|
|
||||||
- ./configure --enable-fips --enable-pwquality --with-crypto_backend=openssl --enable-asciidoc
|
|
||||||
|
|
||||||
# non-FIPS jobs
|
|
||||||
|
|
||||||
test-main-commit-rhel8:
|
|
||||||
extends:
|
|
||||||
- .rhel-openssl-backend
|
|
||||||
tags:
|
|
||||||
- libvirt
|
|
||||||
- cryptsetup-rhel-8
|
|
||||||
stage: test
|
|
||||||
interruptible: true
|
|
||||||
variables:
|
|
||||||
DISTRO: cryptsetup-rhel-8
|
|
||||||
RUN_SSH_PLUGIN_TEST: "1"
|
|
||||||
rules:
|
|
||||||
- if: $RUN_SYSTEMD_PLUGIN_TEST != null
|
|
||||||
when: never
|
|
||||||
- if: $CI_PROJECT_PATH != "cryptsetup/cryptsetup"
|
|
||||||
when: never
|
|
||||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_BRANCH =~ /v2\..\.x$/
|
|
||||||
script:
|
|
||||||
- make -j
|
|
||||||
- make -j -C tests check-programs
|
|
||||||
- sudo -E make check
|
|
||||||
|
|
||||||
test-main-commit-rhel9:
|
|
||||||
extends:
|
|
||||||
- .rhel-openssl-backend
|
|
||||||
tags:
|
|
||||||
- libvirt
|
|
||||||
- cryptsetup-rhel-9
|
|
||||||
stage: test
|
|
||||||
interruptible: true
|
|
||||||
variables:
|
|
||||||
DISTRO: cryptsetup-rhel-9
|
|
||||||
RUN_SSH_PLUGIN_TEST: "1"
|
|
||||||
rules:
|
|
||||||
- if: $RUN_SYSTEMD_PLUGIN_TEST != null
|
|
||||||
when: never
|
|
||||||
- if: $CI_PROJECT_PATH != "cryptsetup/cryptsetup"
|
|
||||||
when: never
|
|
||||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_BRANCH =~ /v2\..\.x$/
|
|
||||||
script:
|
|
||||||
- make -j
|
|
||||||
- make -j -C tests check-programs
|
|
||||||
- sudo -E make check
|
|
||||||
|
|
||||||
test-main-commit-rhel10:
|
|
||||||
extends:
|
|
||||||
- .rhel-openssl-backend
|
|
||||||
tags:
|
|
||||||
- libvirt
|
|
||||||
- cryptsetup-rhel-10
|
|
||||||
stage: test
|
|
||||||
interruptible: true
|
|
||||||
allow_failure: true
|
|
||||||
variables:
|
|
||||||
DISTRO: cryptsetup-rhel-10
|
|
||||||
RUN_SSH_PLUGIN_TEST: "1"
|
|
||||||
rules:
|
|
||||||
- if: $RUN_SYSTEMD_PLUGIN_TEST != null
|
|
||||||
when: never
|
|
||||||
- if: $CI_PROJECT_PATH != "cryptsetup/cryptsetup"
|
|
||||||
when: never
|
|
||||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_BRANCH =~ /v2\..\.x$/
|
|
||||||
script:
|
|
||||||
- make -j
|
|
||||||
- make -j -C tests check-programs
|
|
||||||
- sudo -E make check
|
|
||||||
|
|
||||||
# FIPS jobs
|
|
||||||
|
|
||||||
test-main-commit-rhel8-fips:
|
|
||||||
extends:
|
|
||||||
- .rhel-openssl-backend
|
|
||||||
tags:
|
|
||||||
- libvirt
|
|
||||||
- cryptsetup-rhel-8-fips
|
|
||||||
stage: test
|
|
||||||
interruptible: true
|
|
||||||
variables:
|
|
||||||
DISTRO: cryptsetup-rhel-8-fips
|
|
||||||
RUN_SSH_PLUGIN_TEST: "1"
|
|
||||||
rules:
|
|
||||||
- if: $RUN_SYSTEMD_PLUGIN_TEST != null
|
|
||||||
when: never
|
|
||||||
- if: $CI_PROJECT_PATH != "cryptsetup/cryptsetup"
|
|
||||||
when: never
|
|
||||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_BRANCH =~ /v2\..\.x$/
|
|
||||||
script:
|
|
||||||
- grep -q fips=1 /proc/cmdline || exit 1
|
|
||||||
- make -j
|
|
||||||
- make -j -C tests check-programs
|
|
||||||
- sudo -E make check
|
|
||||||
|
|
||||||
test-main-commit-rhel9-fips:
|
|
||||||
extends:
|
|
||||||
- .rhel-openssl-backend
|
|
||||||
tags:
|
|
||||||
- libvirt
|
|
||||||
- cryptsetup-rhel-9-fips
|
|
||||||
stage: test
|
|
||||||
interruptible: true
|
|
||||||
allow_failure: true
|
|
||||||
variables:
|
|
||||||
DISTRO: cryptsetup-rhel-9-fips
|
|
||||||
RUN_SSH_PLUGIN_TEST: "1"
|
|
||||||
rules:
|
|
||||||
- if: $RUN_SYSTEMD_PLUGIN_TEST != null
|
|
||||||
when: never
|
|
||||||
- if: $CI_PROJECT_PATH != "cryptsetup/cryptsetup"
|
|
||||||
when: never
|
|
||||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_BRANCH =~ /v2\..\.x$/
|
|
||||||
script:
|
|
||||||
- grep -q fips=1 /proc/cmdline || exit 1
|
|
||||||
- make -j
|
|
||||||
- make -j -C tests check-programs
|
|
||||||
- sudo -E make check
|
|
||||||
|
|
||||||
test-main-commit-rhel10-fips:
|
|
||||||
extends:
|
|
||||||
- .rhel-openssl-backend
|
|
||||||
tags:
|
|
||||||
- libvirt
|
|
||||||
- cryptsetup-rhel-10-fips
|
|
||||||
stage: test
|
|
||||||
interruptible: true
|
|
||||||
allow_failure: true
|
|
||||||
variables:
|
|
||||||
DISTRO: cryptsetup-rhel-10-fips
|
|
||||||
RUN_SSH_PLUGIN_TEST: "1"
|
|
||||||
rules:
|
|
||||||
- if: $RUN_SYSTEMD_PLUGIN_TEST != null
|
|
||||||
when: never
|
|
||||||
- if: $CI_PROJECT_PATH != "cryptsetup/cryptsetup"
|
|
||||||
when: never
|
|
||||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_BRANCH =~ /v2\..\.x$/
|
|
||||||
script:
|
|
||||||
- grep -q fips=1 /proc/cmdline || exit 1
|
|
||||||
- make -j
|
|
||||||
- make -j -C tests check-programs
|
|
||||||
- sudo -E make check
|
|
||||||
Reference in New Issue
Block a user