]> source.dussan.org Git - sonar-scanner-cli.git/commitdiff
SCANCLI-152 Update CirrusCI configuration
authorJulien HENRY <julien.henry@sonarsource.com>
Wed, 31 Jul 2024 07:55:13 +0000 (09:55 +0200)
committerJulien HENRY <julien.henry@sonarsource.com>
Wed, 31 Jul 2024 08:22:52 +0000 (10:22 +0200)
.cirrus.star
.cirrus.yml

index 28b17b70fc37b584657e26ed7447e86efcc578c4..9f91e1542c6815b3a16f635a62b18d5a8a526d73 100644 (file)
@@ -1,4 +1,4 @@
-load("github.com/SonarSource/cirrus-modules@v2", "load_features")
+load("github.com/SonarSource/cirrus-modules@v3", "load_features")
 
 def main(ctx):
     return load_features(ctx)
index e45243916ed7c3a2ff64802f983f41ebfa8a8522..ec091b115381e5f8a084d314417a15d4b5cd81dc 100644 (file)
@@ -15,13 +15,8 @@ env:
   ARTIFACTORY_DEPLOY_REPO: sonarsource-public-qa
   ARTIFACTORY_PROMOTE_ACCESS_TOKEN: VAULT[development/artifactory/token/${CIRRUS_REPO_OWNER}-${CIRRUS_REPO_NAME}-promoter access_token]
 
-  BURGR_URL: VAULT[development/kv/data/burgr data.url]
-  BURGR_USERNAME: VAULT[development/kv/data/burgr data.cirrus_username]
-  BURGR_PASSWORD: VAULT[development/kv/data/burgr data.cirrus_password]
-
   ### Project variables
   DEPLOY_PULL_REQUEST: true
-  ARTIFACTS: org.sonarsource.scanner.cli:sonar-scanner-cli:jar
   NIGHTLY_CRON: 'nightly-cron'
 #
 # RE-USABLE CONFIGS
@@ -60,6 +55,8 @@ build_task:
     SONAR_HOST_URL: VAULT[development/kv/data/next data.url]
     SIGN_KEY: VAULT[development/kv/data/sign data.key]
     PGP_PASSPHRASE: VAULT[development/kv/data/sign data.passphrase]
+    # Fetch all commit history so that Sonar has exact blame information for issue auto-assignment
+    CIRRUS_CLONE_DEPTH: "0"
   maven_cache:
     folder: ${CIRRUS_WORKING_DIR}/.m2/repository
   script: