diff options
author | Zipeng WU <zipeng.wu@sonarsource.com> | 2022-11-15 15:37:18 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2022-11-16 20:03:06 +0000 |
commit | db89e162e9390f4a647944d1a74e7e5d686c0e60 (patch) | |
tree | 05975b53c875517d01b02b1e7e8e2666576dddc5 | |
parent | 0adba24b6d1eae24e43c8e53bbb08588969d24c9 (diff) | |
download | sonarqube-db89e162e9390f4a647944d1a74e7e5d686c0e60.tar.gz sonarqube-db89e162e9390f4a647944d1a74e7e5d686c0e60.zip |
SONAR-17600 Make artifacts publishing parallel to QA tasks
-rw-r--r-- | .cirrus.yml | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/.cirrus.yml b/.cirrus.yml index 021b75038d5..f72038954b6 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -162,16 +162,28 @@ build_task: <<: *GKE_CONTAINER_TEMPLATE cpu: 7.5 memory: 8Gb - env: - ORG_GRADLE_PROJECT_signingKey: ENCRYPTED[!cc216dfe592f79db8006f2a591f8f98b40aa2b078e92025623594976fd32f6864c1e6b6ba74b50647f608e2418e6c336!] - ORG_GRADLE_PROJECT_signingPassword: ENCRYPTED[!314a8fc344f45e462dd5e8dccd741d7562283a825e78ebca27d4ae9db8e65ce618e7f6aece386b2782a5abe5171467bd!] - ORG_GRADLE_PROJECT_signingKeyId: 0x7DCD4258 elasticsearch_distribution_cache: folder: sonar-application/build/elasticsearch-**.tar.gz script: - ./private/cirrus/cirrus-build.sh <<: *DEFAULT_ARTIFACTS_TEMPLATE +publish_task: + <<: *CUSTOM_CLONE_SCRIPT_TEMPLATE + <<: *SKIP_PUBLIC_BRANCHES_TEMPLATE + <<: *GRADLE_CACHE_TEMPLATE + <<: *BUILD_DEPENDANT_TASK_TEMPLATE + gke_container: + <<: *GKE_CONTAINER_TEMPLATE + cpu: 4 + memory: 4Gb + env: + ORG_GRADLE_PROJECT_signingKey: ENCRYPTED[!cc216dfe592f79db8006f2a591f8f98b40aa2b078e92025623594976fd32f6864c1e6b6ba74b50647f608e2418e6c336!] + ORG_GRADLE_PROJECT_signingPassword: ENCRYPTED[!314a8fc344f45e462dd5e8dccd741d7562283a825e78ebca27d4ae9db8e65ce618e7f6aece386b2782a5abe5171467bd!] + ORG_GRADLE_PROJECT_signingKeyId: 0x7DCD4258 + script: + - ./private/cirrus/cirrus-publish.sh + yarn_lint_task: <<: *CUSTOM_CLONE_SCRIPT_TEMPLATE <<: *SKIP_PUBLIC_BRANCHES_TEMPLATE @@ -499,6 +511,7 @@ promote_task: - qa - qa_saml - qa_ldap + - publish gke_container: <<: *GKE_CONTAINER_TEMPLATE memory: 1G |