From deb28fd139812441ae997e2d25b776547e89ca2e Mon Sep 17 00:00:00 2001 From: Achilleas Koutsou Date: Wed, 16 Jun 2021 16:25:51 +0200 Subject: [PATCH] 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). --- .gitlab-ci.yml | 40 ++++++++++++++++++++++++++++++++++++---- 1 file changed, 36 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c43d29f5e..c84e46989 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: