debian-forge/.gitlab-ci.yml
Ondřej Budai 4c3c7d7851 ci: enable tests on Fedora aarch64
because why not (:

RHEL might be more difficult, let's revisit it later.
2021-07-14 23:51:05 +02:00

69 lines
1.3 KiB
YAML

stages:
- init
- rpmbuild
- test
- finish
.terraform:
after_script:
- schutzbot/update_github_status.sh update
- schutzbot/save_journal.sh
tags:
- terraform
artifacts:
paths:
- journal-log
when: always
init:
stage: init
tags:
- shell
script:
- schutzbot/update_github_status.sh start
RPM:
stage: rpmbuild
extends: .terraform
script:
- sh "schutzbot/mockbuild.sh"
parallel:
matrix:
- RUNNER:
- aws/fedora-33-x86_64
- aws/fedora-33-aarch64
- aws/centos-stream-8-x86_64
- aws/centos-stream-8-aarch64
- RUNNER:
- aws/rhel-8-x86_64
- aws/rhel-8-aarch64
REGISTER: "true"
- RUNNER:
- aws/rhel-8.5-x86_64
- aws/rhel-8.5-aarch64
INTERNAL_NETWORK: "true"
Testing:
stage: test
extends: .terraform
script:
- schutzbot/deploy.sh
- /usr/libexec/tests/osbuild-composer/image_tests.sh
parallel:
matrix:
- RUNNER:
- aws/fedora-33-x86_64
- aws/fedora-33-aarch64
INTERNAL_NETWORK: "true"
- RUNNER:
- aws/rhel-8-x86_64
REGISTER: "true"
DISTRO_CODE: "rhel_8"
INTERNAL_NETWORK: "true"
finish:
stage: finish
tags:
- shell
script:
- schutzbot/update_github_status.sh finish