Skip to content

Commit 12e3612

Browse files
author
Fabiana Severin
committed
ci: update release signing key source and native build runners
Point the Maven Central release workflows at the dedicated GPG signing key secret, and run the RIC native builds on the self-hosted release runners instead of the default hosted runners.
1 parent 8fbec4a commit 12e3612

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/release-runtime-interface-client.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ jobs:
4949
matrix:
5050
include:
5151
- arch: x86_64
52-
runner: ubuntu-latest
52+
runner: codebuild-aws-lambda-java-libs-test-trigger-x86-${{ github.run_id }}-${{ github.run_attempt }}
5353
profiles: linux-x86_64 linux_musl-x86_64
5454
- arch: aarch64
55-
runner: ubuntu-24.04-arm
55+
runner: codebuild-aws-lambda-java-libs-test-trigger-arm64-${{ github.run_id }}-${{ github.run_attempt }}
5656
profiles: linux-aarch64 linux_musl-aarch64
5757
runs-on: ${{ matrix.runner }}
5858
timeout-minutes: 45
@@ -216,7 +216,7 @@ jobs:
216216
trap 'rm -rf "$MAVEN_SETTINGS" "$GNUPGHOME"' EXIT
217217
218218
# --- Signing key + Sonatype token (shared secrets from LambdaMavenDeploy) ---
219-
GPG_JSON=$(aws secretsmanager get-secret-value --secret-id maven.gpg.keys --query SecretString --output text)
219+
GPG_JSON=$(aws secretsmanager get-secret-value --secret-id lambda-runtimes/java/gpg-signing-key --query SecretString --output text)
220220
CREDS_JSON=$(aws secretsmanager get-secret-value --secret-id maven.sonatype.creds --query SecretString --output text)
221221
GPG_PRIVATE_KEY=$(jq -r '.private' <<< "$GPG_JSON")
222222
GPG_PASSPHRASE=$(jq -r '.passphrase' <<< "$GPG_JSON")

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ jobs:
183183
trap 'rm -rf "$MAVEN_SETTINGS" "$GNUPGHOME"' EXIT
184184
185185
# --- Signing key + Sonatype token (shared secrets from LambdaMavenDeploy) ---
186-
GPG_JSON=$(aws secretsmanager get-secret-value --secret-id maven.gpg.keys --query SecretString --output text)
186+
GPG_JSON=$(aws secretsmanager get-secret-value --secret-id lambda-runtimes/java/gpg-signing-key --query SecretString --output text)
187187
CREDS_JSON=$(aws secretsmanager get-secret-value --secret-id maven.sonatype.creds --query SecretString --output text)
188188
GPG_PRIVATE_KEY=$(jq -r '.private' <<< "$GPG_JSON")
189189
GPG_PASSPHRASE=$(jq -r '.passphrase' <<< "$GPG_JSON")

0 commit comments

Comments
 (0)