debian-forge/.gitlab-ci.yml
Thomas Lavocat 2e4d610633 ci: deactivate manifest test for rhel/centos9
A bug afflicts image-info on these distributions. We need to perform
modifications to the way image-info mounts the image to do its analyzis.
OSBuild needs some changes for that to happen:
- see https://github.com/osbuild/osbuild/pull/1182.
Since it will not be possible to land anything on OSBuild until
image-info is fixed, let's temporarily deactivate these two archs.
2022-11-29 11:49:51 +01:00

121 lines
2.8 KiB
YAML

stages:
- init
- rpmbuild
- test
- finish
.terraform:
before_script:
- schutzbot/ci_details.sh > ci-details-before-run
after_script:
- schutzbot/ci_details.sh > ci-details-after-run
- schutzbot/update_github_status.sh update
tags:
- terraform
artifacts:
paths:
- ci-details-before-run
- ci-details-after-run
init:
stage: init
tags:
- shell
script:
- schutzbot/update_github_status.sh start
interruptible: true
RPM:
stage: rpmbuild
extends: .terraform
script:
- sh "schutzbot/mockbuild.sh"
interruptible: true
parallel:
matrix:
- RUNNER:
- aws/fedora-35-x86_64
- aws/fedora-35-aarch64
- aws/fedora-36-x86_64
- aws/fedora-36-aarch64
- aws/fedora-37-x86_64
- aws/fedora-37-aarch64
- aws/centos-stream-8-x86_64
- aws/centos-stream-8-aarch64
- aws/centos-stream-9-x86_64
- aws/centos-stream-9-aarch64
- aws/rhel-8.6-ga-x86_64
- aws/rhel-8.6-ga-aarch64
- aws/rhel-9.0-ga-x86_64
- aws/rhel-9.0-ga-aarch64
- RUNNER:
- aws/rhel-8.7-nightly-x86_64
- aws/rhel-8.7-nightly-aarch64
- aws/rhel-8.8-nightly-x86_64
- aws/rhel-8.8-nightly-aarch64
- aws/rhel-9.1-nightly-x86_64
- aws/rhel-9.1-nightly-aarch64
- aws/rhel-9.2-nightly-x86_64
- aws/rhel-9.2-nightly-aarch64
INTERNAL_NETWORK: "true"
OSTree Images:
stage: test
extends: .terraform
script:
- schutzbot/deploy.sh
- sudo test/cases/ostree-images
parallel:
matrix:
- RUNNER:
- aws/fedora-35-x86_64
- aws/fedora-36-x86_64
- aws/rhel-8.6-ga-x86_64
- aws/rhel-8.7-nightly-x86_64
- aws/rhel-9.1-nightly-x86_64
INTERNAL_NETWORK: "true"
SonarQube:
stage: test
extends: .terraform
script:
- schutzbot/sonarqube.sh
variables:
RUNNER: aws/centos-stream-8-x86_64
INTERNAL_NETWORK: "true"
GIT_DEPTH: 0
Manifests:
stage: test
extends: .terraform
script:
- schutzbot/deploy.sh
- schutzbot/manifest_tests.sh
artifacts:
when: always
paths:
- manifest-db/generated-image-infos/
parallel:
matrix:
- RUNNER:
- aws/fedora-35-x86_64
- aws/fedora-35-aarch64
- aws/fedora-36-x86_64
- aws/fedora-36-aarch64
- aws/centos-stream-8-x86_64
- aws/centos-stream-8-aarch64
- RUNNER:
- aws/rhel-8.6-ga-x86_64
- aws/rhel-8.6-ga-aarch64
- aws/rhel-9.0-ga-x86_64
- aws/rhel-9.0-ga-aarch64
- aws/rhel-8.7-nightly-x86_64
- aws/rhel-8.7-nightly-aarch64
INTERNAL_NETWORK: "true"
finish:
stage: finish
tags:
- shell
script:
- schutzbot/update_github_status.sh finish