File tree 5 files changed +14
-39
lines changed
5 files changed +14
-39
lines changed Original file line number Diff line number Diff line change @@ -35,14 +35,9 @@ phases:
35
35
- aws secretsmanager get-secret-value --region us-west-2 --secret-id Maven-GPG-Keys-CI --query SecretBinary --output text | base64 -d > ~/mvn_gpg.tgz
36
36
- tar -xvf ~/mvn_gpg.tgz -C ~
37
37
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
46
41
- cd $CODEBUILD_SRC_DIR
47
42
48
43
build :
Original file line number Diff line number Diff line change @@ -25,13 +25,8 @@ phases:
25
25
- aws sts get-caller-identity
26
26
27
27
# 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
35
30
- cd $CODEBUILD_SRC_DIR
36
31
build :
37
32
commands :
Original file line number Diff line number Diff line change @@ -28,14 +28,9 @@ phases:
28
28
- export AWS_SESSION_TOKEN=$(echo "${TMP_ROLE}" | jq -r '.Credentials.SessionToken')
29
29
- aws sts get-caller-identity
30
30
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
39
34
- cd $CODEBUILD_SRC_DIR
40
35
build :
41
36
commands :
Original file line number Diff line number Diff line change @@ -32,14 +32,9 @@ phases:
32
32
- export SETTINGS_FILE=$(pwd)/codebuild/release/settings.xml
33
33
- aws secretsmanager get-secret-value --region us-west-2 --secret-id Maven-GPG-Keys-Release --query SecretBinary --output text | base64 -d > ~/mvn_gpg.tgz
34
34
- 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
43
38
- cd $CODEBUILD_SRC_DIR
44
39
build :
45
40
commands :
Original file line number Diff line number Diff line change @@ -35,14 +35,9 @@ phases:
35
35
- export CODEARTIFACT_REPO_URL=https://${DOMAIN}-${ACCOUNT}.d.codeartifact.${REGION}.amazonaws.com/maven/${REPOSITORY}
36
36
- aws secretsmanager get-secret-value --region us-west-2 --secret-id Maven-GPG-Keys-Release --query SecretBinary --output text | base64 -d > ~/mvn_gpg.tgz
37
37
- 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
46
41
- cd $CODEBUILD_SRC_DIR
47
42
build :
48
43
commands :
You can’t perform that action at this time.
0 commit comments