Skip to content

Commit

Permalink
chore(Java): Sonatype requires User Token (#481)
Browse files Browse the repository at this point in the history
Co-authored-by: José Corella <[email protected]>
  • Loading branch information
texastony and josecorella authored Jul 8, 2024
1 parent f832ad1 commit fc5dbcf
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This workflow performs MPL Java release
name: MPL-Release-Java
# This workflow WOULD perform MPL Java release
name: TODO-MPL-Release-Java

on:
workflow_call:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This workflow is triggered manually
name: MPL-Release
name: TODO-MPL-Release

on:
workflow_dispatch:
Expand All @@ -15,6 +15,6 @@ jobs:
java-release:
if: contains('["seebees","texastony","ShubhamChaturvedi7","lucasmcdonald3","josecorella","imabhichow","rishav-karanjit","antonf-amzn","justplaz","ajewellamz"]', github.actor)
needs: getVersion
uses: ./.github/workflows/java-release.yml
uses: ./.github/workflows/todo-java-release.yml
with:
dafny: ${{needs.getVersion.outputs.version}}
1 change: 1 addition & 0 deletions cfn/CB.yml
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ Resources:
"arn:aws:secretsmanager:us-west-2:${AWS::AccountId}:secret:Maven-GPG-Keys-Release-haLIjZ",
"arn:aws:secretsmanager:us-west-2:${AWS::AccountId}:secret:Maven-GPG-Keys-Release-Credentials-WgJanS",
"arn:aws:secretsmanager:us-west-2:${AWS::AccountId}:secret:Sonatype-Team-Account-0tWvZm",
"arn:aws:secretsmanager:us-west-2:${AWS::AccountId}:secret:Sonatype-User-Token-zK61bM",
"arn:aws:secretsmanager:us-west-2:${AWS::AccountId}:secret:Github/aws-crypto-tools-ci-bot-AGUB3U"
],
"Action": "secretsmanager:GetSecretValue"
Expand Down
4 changes: 2 additions & 2 deletions codebuild/release/release-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ env:
secrets-manager:
GPG_KEY: Maven-GPG-Keys-Release-Credentials:Keyname
GPG_PASS: Maven-GPG-Keys-Release-Credentials:Passphrase
SONA_USERNAME: Sonatype-Team-Account:Username
SONA_PASSWORD: Sonatype-Team-Account:Password
SONA_USERNAME: Sonatype-User-Token:username
SONA_PASSWORD: Sonatype-User-Token:password

phases:
install:
Expand Down

0 comments on commit fc5dbcf

Please sign in to comment.