GitLab CI: Separate API test script test matrix

Splitting the api.sh test into its own matrix. The addition of the new
target, aws.s3, made the existing integration test matrix grow beyond
the GitLab parallel job limit (50).
This commit is contained in:
Achilleas Koutsou 2021-06-16 16:25:51 +02:00 committed by Tom Gundersen
parent 8f778af653
commit deb28fd139

View file

@ -132,10 +132,6 @@ New OSTree:
- libvirt.sh
- aws.sh
- azure.sh
- api.sh azure
- api.sh aws
- api.sh gcp
- api.sh aws.s3
- vmware.sh
Integration:
@ -166,6 +162,42 @@ Integration:
INTERNAL_NETWORK: ["true"]
DISTRO_CODE: ["rhel_90"]
.API_TESTS: &API_TESTS
TARGET:
- azure
- aws
- gcp
- aws.s3
API:
stage: test
extends: .terraform
variables:
EXTRA_REPO_PATH_SEGMENT: "gitlab/"
script:
- schutzbot/deploy.sh
- /usr/libexec/tests/osbuild-composer/api.sh ${TARGET}
parallel:
matrix:
- <<: *API_TESTS
RUNNER:
- aws/fedora-32-x86_64
- aws/fedora-33-x86_64
# See COMPOSER-919
# - aws/fedora-34-x86_64
- openstack/centos-stream-8-x86_64
- <<: *API_TESTS
RUNNER:
- aws/rhel-8-x86_64
- aws/rhel-8.4-x86_64
INTERNAL_NETWORK: ["true"]
- <<: *API_TESTS
RUNNER:
- aws/rhel-8-x86_64
INTERNAL_NETWORK: ["true"]
DISTRO_CODE: ["rhel_90"]
finish:
stage: finish
tags: