debian-koji-osbuild/.gitlab-ci.yml
Ondřej Budai 32d9826e1e ci: add Fedora 37
This commit needs to do three things:
- update the terraform definition
- add fedora-37 to the gitlab-ci file
- bump osbuild and osbuild-composer versions, so we have F37 RPMs for them

I also removed the commented out aarch64 runners to clean the file a bit.
2023-01-05 09:52:26 +01:00

60 lines
1.2 KiB
YAML

stages:
- init
- rpmbuild
- test
- finish
.terraform:
tags:
- terraform
init:
stage: init
tags:
- shell
script:
- schutzbot/update_github_status.sh start
RPM:
stage: rpmbuild
extends: .terraform
script:
- sh "schutzbot/ci_details.sh"
- sh "schutzbot/mockbuild.sh"
after_script:
- schutzbot/update_github_status.sh update
parallel:
matrix:
- RUNNER:
- aws/fedora-36-x86_64
- aws/fedora-36-aarch64
- aws/fedora-37-x86_64
- aws/fedora-37-aarch64
- aws/rhel-8.6-ga-x86_64
- aws/rhel-8.6-ga-aarch64
Testing:
stage: test
extends: .terraform
script:
- sh "schutzbot/ci_details.sh"
- sh "schutzbot/deploy.sh"
- sh "/usr/libexec/tests/koji-osbuild/integration.sh"
after_script:
- schutzbot/update_github_status.sh update
parallel:
matrix:
# https://quay.io/repository/osbuild/postgres available only for x86_64
- RUNNER:
- aws/fedora-36-x86_64
- aws/fedora-37-x86_64
- RUNNER:
- aws/rhel-8.6-ga-x86_64
INTERNAL_NETWORK: ["true"]
finish:
stage: finish
tags:
- shell
script:
- schutzbot/update_github_status.sh finish