debian-koji-osbuild/.gitlab-ci.yml
2024-10-28 10:59:05 +01:00

57 lines
1.1 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-40-aarch64
- aws/fedora-40-x86_64
- aws/rhel-8.10-ga-x86_64
- aws/rhel-8.10-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-40-x86_64
- RUNNER:
- aws/rhel-8.10-ga-x86_64
INTERNAL_NETWORK: ["true"]
finish:
stage: finish
tags:
- shell
script:
- schutzbot/update_github_status.sh finish