Skip to content

Commit

Permalink
SONARKT-371 Migrate Promote task to Artifactory (#378)
Browse files Browse the repository at this point in the history
  • Loading branch information
leveretka authored Nov 8, 2023
1 parent d2c08c6 commit 39377ab
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -220,13 +220,11 @@ promote_task:
<<: *ONLY_IF_SONARSOURCE_QA
<<: *LINUX_1_CPU_1G
env:
#promotion cloud function
GCF_ACCESS_TOKEN: VAULT[development/kv/data/promote data.token]
PROMOTE_URL: VAULT[development/kv/data/promote data.url]
ARTIFACTORY_PROMOTE_ACCESS_TOKEN: VAULT[development/artifactory/token/${CIRRUS_REPO_OWNER}-${CIRRUS_REPO_NAME}-promoter access_token]
#artifacts that will have downloadable links in burgr
ARTIFACTS: "\
org.sonarsource.kotlin:sonar-kotlin-plugin:jar"
script:
- source cirrus-env PROMOTE
- curl -sfSL -H "Authorization: Bearer $GCF_ACCESS_TOKEN" "$PROMOTE_URL/$GITHUB_REPO/$GITHUB_BRANCH/$BUILD_NUMBER/$PULL_REQUEST?multi=true"
- cirrus_jfrog_promote multi
- burgr-notify-promotion

0 comments on commit 39377ab

Please sign in to comment.