aboutsummaryrefslogtreecommitdiffstats
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorPhilippe Perrin <philippe.perrin@sonarsource.com>2023-02-03 10:02:24 +0100
committersonartech <sonartech@sonarsource.com>2023-02-07 20:02:53 +0000
commitcb487670a936fdcc1be7b6437458c8193ee3be3f (patch)
treeea31f34eeb19236d700b33b928057c362e79c88f /.cirrus.yml
parentd4f8c1ad31bd8b8cc00b037900cad0d93f69bf4b (diff)
downloadsonarqube-cb487670a936fdcc1be7b6437458c8193ee3be3f.tar.gz
sonarqube-cb487670a936fdcc1be7b6437458c8193ee3be3f.zip
[NO-JIRA] Better discrimate Gitlab task names
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml15
1 files changed, 10 insertions, 5 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index 05f2c32ec91..b7adebf1262 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -395,6 +395,15 @@ qa_gitlab_task:
<<: *GRADLE_CACHE_TEMPLATE
depends_on:
- build
+ env:
+ QA_CATEGORY: GITLAB
+ matrix:
+ - name: qa_gitlab_latest
+ env:
+ - GITLAB_VERSION: latest
+ - name: qa_gitlab_oldest
+ env:
+ - GITLAB_VERSION: 15.6.2-ce.0
eks_container:
<<: *CONTAINER_TEMPLATE
cpu: 2.4
@@ -407,9 +416,7 @@ qa_gitlab_task:
- 443
cpu: 2
memory: 5Gb
- matrix:
- - image: ${CIRRUS_AWS_ACCOUNT}.dkr.ecr.eu-central-1.amazonaws.com/gitlab:latest
- - image: ${CIRRUS_AWS_ACCOUNT}.dkr.ecr.eu-central-1.amazonaws.com/gitlab:15.6.2-ce.0
+ image: ${CIRRUS_AWS_ACCOUNT}.dkr.ecr.eu-central-1.amazonaws.com/gitlab:${GITLAB_VERSION}
env:
- GITLAB_POST_RECONFIGURE_SCRIPT: |-
{ cat >/tmp/setup.rb <<-'EOF'
@@ -427,8 +434,6 @@ qa_gitlab_task:
} && gitlab-rails runner /tmp/setup.rb && \
echo 'from_file "/etc/gitlab/external_gitlab.rb"' >> /etc/gitlab/gitlab.rb && \
gitlab-ctl reconfigure
- env:
- QA_CATEGORY: GITLAB
script:
- ./private/cirrus/cirrus-qa.sh h2
<<: *DEFAULT_ARTIFACTS_TEMPLATE