File tree Expand file tree Collapse file tree 5 files changed +14
-39
lines changed Expand file tree Collapse file tree 5 files changed +14
-39
lines changed Original file line number Diff line number Diff line change @@ -35,14 +35,9 @@ phases:
3535 - aws secretsmanager get-secret-value --region us-west-2 --secret-id Maven-GPG-Keys-CI --query SecretBinary --output text | base64 -d > ~/mvn_gpg.tgz
3636 - tar -xvf ~/mvn_gpg.tgz -C ~
3737
38- # Build and deploy to maven local
39- - cd submodules/MaterialProviders
40- - git checkout $BRANCH
41- - cd TestVectorsAwsCryptographicMaterialProviders/
42- # This works because `node` is installed by default on GHA runners
43- - CORES=$(node -e 'console.log(os.cpus().length)')
44- - make build_java CORES=$CORES
45- - ./runtimes/java/gradlew -p runtimes/java publishMavenLocalPublicationToMavenLocal
38+ # Build and deploy TestVectors to maven local
39+ - cd submodules/MaterialProviders/TestVectorsAwsCryptographicMaterialProviders/
40+ - make build_java && make mvn_local_deploy
4641 - cd $CODEBUILD_SRC_DIR
4742
4843 build :
Original file line number Diff line number Diff line change @@ -25,13 +25,8 @@ phases:
2525 - aws sts get-caller-identity
2626
2727 # Build and deploy TestVectors to maven local
28- - cd submodules/MaterialProviders
29- - git checkout $BRANCH
30- - cd TestVectorsAwsCryptographicMaterialProviders/
31- # This works because `node` is installed by default on GHA runners
32- - CORES=$(node -e 'console.log(os.cpus().length)')
33- - make build_java CORES=$CORES
34- - ./runtimes/java/gradlew -p runtimes/java publishMavenLocalPublicationToMavenLocal
28+ - cd submodules/MaterialProviders/TestVectorsAwsCryptographicMaterialProviders/
29+ - make build_java && make mvn_local_deploy
3530 - cd $CODEBUILD_SRC_DIR
3631 build :
3732 commands :
Original file line number Diff line number Diff line change @@ -28,14 +28,9 @@ phases:
2828 - export AWS_SESSION_TOKEN=$(echo "${TMP_ROLE}" | jq -r '.Credentials.SessionToken')
2929 - aws sts get-caller-identity
3030
31- # Build and deploy to maven local
32- - cd submodules/MaterialProviders
33- - git checkout $BRANCH
34- - cd TestVectorsAwsCryptographicMaterialProviders/
35- # This works because `node` is installed by default on GHA runners
36- - CORES=$(node -e 'console.log(os.cpus().length)')
37- - make build_java CORES=$CORES
38- - ./runtimes/java/gradlew -p runtimes/java publishMavenLocalPublicationToMavenLocal
31+ # Build and deploy TestVectors to maven local
32+ - cd submodules/MaterialProviders/TestVectorsAwsCryptographicMaterialProviders/
33+ - make build_java && make mvn_local_deploy
3934 - cd $CODEBUILD_SRC_DIR
4035 build :
4136 commands :
Original file line number Diff line number Diff line change @@ -32,14 +32,9 @@ phases:
3232 - export SETTINGS_FILE=$(pwd)/codebuild/release/settings.xml
3333 - aws secretsmanager get-secret-value --region us-west-2 --secret-id Maven-GPG-Keys-Release --query SecretBinary --output text | base64 -d > ~/mvn_gpg.tgz
3434 - tar -xvf ~/mvn_gpg.tgz -C ~
35- # Build and deploy TestVectorsAwsCryptographicMaterialProviders to maven local
36- - cd submodules/MaterialProviders
37- - git checkout $BRANCH
38- - cd TestVectorsAwsCryptographicMaterialProviders/
39- # This works because `node` is installed by default on GHA runners
40- - CORES=$(node -e 'console.log(os.cpus().length)')
41- - make build_java CORES=$CORES
42- - ./runtimes/java/gradlew -p runtimes/java publishMavenLocalPublicationToMavenLocal
35+ # Build and deploy TestVectors to maven local
36+ - cd submodules/MaterialProviders/TestVectorsAwsCryptographicMaterialProviders/
37+ - make build_java && make mvn_local_deploy
4338 - cd $CODEBUILD_SRC_DIR
4439 build :
4540 commands :
Original file line number Diff line number Diff line change @@ -35,14 +35,9 @@ phases:
3535 - export CODEARTIFACT_REPO_URL=https://${DOMAIN}-${ACCOUNT}.d.codeartifact.${REGION}.amazonaws.com/maven/${REPOSITORY}
3636 - aws secretsmanager get-secret-value --region us-west-2 --secret-id Maven-GPG-Keys-Release --query SecretBinary --output text | base64 -d > ~/mvn_gpg.tgz
3737 - tar -xvf ~/mvn_gpg.tgz -C ~
38- # Build and deploy TestVectorsAwsCryptographicMaterialProviders to maven local
39- - cd submodules/MaterialProviders
40- - git checkout $BRANCH
41- - cd TestVectorsAwsCryptographicMaterialProviders/
42- # This works because `node` is installed by default on GHA runners
43- - CORES=$(node -e 'console.log(os.cpus().length)')
44- - make build_java CORES=$CORES
45- - ./runtimes/java/gradlew -p runtimes/java publishMavenLocalPublicationToMavenLocal
38+ # Build and deploy TestVectors to maven local
39+ - cd submodules/MaterialProviders/TestVectorsAwsCryptographicMaterialProviders/
40+ - make build_java && make mvn_local_deploy
4641 - cd $CODEBUILD_SRC_DIR
4742 build :
4843 commands :
You can’t perform that action at this time.
0 commit comments