Skip to content

Commit

Permalink
OPHYK-212 Fix GitHub packages access for test stage
Browse files Browse the repository at this point in the history
  • Loading branch information
rce committed Dec 9, 2024
1 parent a73022e commit bedad02
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions infra/src/cdk-app-util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -250,9 +250,9 @@ function makeTestProject(
type: codebuild.BuildEnvironmentVariableType.PARAMETER_STORE,
value: "/docker/password",
},
MVN_SETTINGSXML: {
GITHUB_PACKAGES_GRADLE_PROPERTIES: {
type: codebuild.BuildEnvironmentVariableType.PARAMETER_STORE,
value: "/mvn/settingsxml",
value: "/gradle/github-packages-gradle-properties",
},
},
buildSpec: codebuild.BuildSpec.fromObject({
Expand All @@ -271,8 +271,8 @@ function makeTestProject(
"docker login --username $DOCKER_USERNAME --password $DOCKER_PASSWORD",
"sudo yum install -y perl-Digest-SHA", // for shasum command
`git checkout ${tag}`,
"echo $MVN_SETTINGSXML > ./settings.xml",
],
"echo $GITHUB_PACKAGES_GRADLE_PROPERTIES | base64 -d > github-packages-gradle.properties"
]
},
build: {
commands: testCommands,
Expand Down

0 comments on commit bedad02

Please sign in to comment.