Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SONARPHP-1519 Fix artefact signing #1298

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ env:
PATH: ${CIRRUS_WORKING_DIR}/.cirrus:${PATH}
# Use bash (instead of sh on linux or cmd.exe on windows)
CIRRUS_SHELL: bash
# Gradle signing configuration
ORG_GRADLE_PROJECT_signingKey: VAULT[development/kv/data/sign data.key]
ORG_GRADLE_PROJECT_signingPassword: VAULT[development/kv/data/sign data.passphrase]
ORG_GRADLE_PROJECT_signingKeyId: VAULT[development/kv/data/sign data.key_id]

build_secrets: &BUILD_SECRETS
SIGN_KEY: VAULT[development/kv/data/sign data.key]
Expand Down Expand Up @@ -117,6 +121,7 @@ build_task:
- source cirrus-env BUILD
# TODO Remove ITs exclusion after SONARIAC-1521, since the ITs won't be in the test task anymore
- regular_gradle_build_deploy_analyze -x :its:plugin:tests:test -x :its:ruling:test
- gradle --no-daemon --info --stacktrace --console plain build sonar artifactoryPublish -DbuildNumber="$BUILD_NUMBER" -Dsonar.host.url="$SONAR_HOST_URL" -Dsonar.token="$SONAR_TOKEN" -Dsonar.projectVersion="$INITIAL_VERSION" -Dsonar.analysis.buildNumber="$BUILD_NUMBER" -Dsonar.analysis.pipeline="$PIPELINE_ID" -Dsonar.analysis.sha1="$GIT_SHA1" -Dsonar.analysis.repository="$GITHUB_REPO" "$@"

build_win_task:
<<: *WINDOWS_VM_DEFINITION
Expand Down