File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,8 +31,8 @@ blocks :
3131 - chmod +x .semaphore/initgpg.sh
3232 - . .semaphore/initgpg.sh
3333 - export SONATYPE_SERVER_ID=central
34- - export CENTRAL_TOKEN_USERNAME=$( vault kv get --field=user_token_username v1/ci/kv/ sonatype/confluent)
35- - export CENTRAL_TOKEN_PASSWORD=$( vault kv get --field=user_token_password v1/ci/kv/ sonatype/confluent)
34+ - . vault-get-secret --vault-role=default --secret-key=SONATYPE_TOKEN_USERNAME --export-as=CENTRAL_TOKEN_USERNAME sonatype
35+ - . vault-get-secret --vault-role=default --secret-key=SONATYPE_TOKEN_PASSWORD --export-as=CENTRAL_TOKEN_PASSWORD sonatype
3636 - export SETTINGS_XML_PATH="$HOME/.m2/settings.xml"
3737 - python .semaphore/update_maven_settings.py # Update maven settings with Sonatype credentials
3838 - ./mvnw --batch-mode clean deploy -Pmaven-central -Pci -Dgpg.passphrase=$PASSPHRASE -DskipTests
You can’t perform that action at this time.
0 commit comments