]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-20237 introduce GITHUB_PROVISIONING qa task
authorAurelien Poscia <aurelien.poscia@sonarsource.com>
Wed, 23 Aug 2023 08:13:45 +0000 (10:13 +0200)
committersonartech <sonartech@sonarsource.com>
Thu, 24 Aug 2023 20:03:07 +0000 (20:03 +0000)
.cirrus.yml

index f642f7f4775a0e8f67003ca64668f30c1b3d526a..9d65c241c297fbb46759d9fc0218a2d8d38dda29 100644 (file)
@@ -65,7 +65,9 @@ github_task_template: &GITHUB_TASK_TEMPLATE
     $CIRRUS_BRANCH == $BRANCH_MAIN || $CIRRUS_BRANCH =~ $BRANCH_PATTERN_MAINTENANCE || $CIRRUS_BRANCH == $BRANCH_NIGHTLY ||
     changesInclude('private/core-extension-developer-server/src/main/java/com/sonarsource/branch/pr/github/**/*.java',
     'private/core-extension-developer-server/src/main/java/com/sonarsource/github/**/*.java',
-    'private/it-branch/it-tests/src/test/java/com/sonarsource/branch/it/suite/pr/github/**/*.java')
+    'private/it-branch/it-tests/src/test/java/com/sonarsource/branch/it/suite/pr/github/**/*.java',
+    'private/it-branch/it-tests/src/test/java/com/sonarsource/provisioning/github/*.java'
+    )
 
 gitlab_task_template: &GITLAB_TASK_TEMPLATE
   only_if: >-
@@ -567,6 +569,22 @@ qa_github_task:
     - ./private/cirrus/cirrus-qa.sh h2
   <<: *DEFAULT_ARTIFACTS_TEMPLATE
 
+qa_github_provisioning_task:
+  <<: *DEFAULT_TEMPLATE
+  <<: *BUILD_DEPENDANT_TASK_TEMPLATE
+  <<: *GITHUB_TASK_TEMPLATE
+  <<: *JAR_CACHE_TEMPLATE
+  <<: *GRADLE_CACHE_TEMPLATE
+  eks_container:
+    <<: *CONTAINER_TEMPLATE
+    cpu: 4
+    memory: 7Gb
+  env:
+    QA_CATEGORY: GITHUB_PROVISIONING
+  script:
+    - ./private/cirrus/cirrus-qa.sh h2
+  <<: *DEFAULT_ARTIFACTS_TEMPLATE
+
 # SAML QA is executed in a dedicated task in order to not slow down the pipeline, as a Keycloak server docker image is required.
 qa_saml_task:
   <<: *DEFAULT_TEMPLATE