Skip to content

Commit

Permalink
shrink
Browse files Browse the repository at this point in the history
  • Loading branch information
chaudharysaket committed May 17, 2024
1 parent cc07178 commit 867d4d0
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 266 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ jobs:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
run: |
cd java
./publish-ecr-images.sh build-publish-${{ matrix.java-version }}-ecr-image
./publish-layers.sh build-publish-${{ matrix.java-version }}-ecr-image
2 changes: 1 addition & 1 deletion .github/workflows/publish-node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
run: |
cd nodejs
./publish-ecr-images.sh build-publish-nodejs${{ matrix.node-version }}x-ecr-image
./publish-layers.sh build-publish-nodejs${{ matrix.node-version }}x-ecr-image
- name: Upload Unit Test Coverage
if: steps.node-check-tag.outputs.match == 'true'
uses: codecov/codecov-action@v3
Expand Down
129 changes: 0 additions & 129 deletions java/publish-ecr-images.sh

This file was deleted.

24 changes: 24 additions & 0 deletions java/publish-layers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,30 @@ case "$1" in
publish-java21-arm64
publish-java21-x86
;;
"build-publish-java8al2-ecr-image")
build-java8al2-arm64
publish_docker_ecr $JAVA8_DIST_ARM64 java8 arm64
build-java8al2-x86
publish_docker_ecr $JAVA8_DIST_X86_64 java8 x86_64
;;
"build-publish-java11-ecr-image")
build-java11-arm64
publish_docker_ecr $JAVA11_DIST_ARM64 java11 arm64
build-java11-x86
publish_docker_ecr $JAVA11_DIST_X86_64 java11 x86_64
;;
"build-publish-java17-ecr-image")
build-java17-arm64
publish_docker_ecr $JAVA17_DIST_ARM64 java17 arm64
build-java17-x86
publish_docker_ecr $JAVA17_DIST_X86_64 java17 x86_64
;;
"build-publish-java21-ecr-image")
build-java21-arm64
publish_docker_ecr $JAVA21_DIST_ARM64 java21 arm64
build-java21-x86
publish_docker_ecr $JAVA21_DIST_X86_64 java21 x86_64
;;
"java8al2")
$0 build-java8al2
$0 publish-java8al2
Expand Down
135 changes: 0 additions & 135 deletions nodejs/publish-ecr-images.sh

This file was deleted.

18 changes: 18 additions & 0 deletions nodejs/publish-layers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,24 @@ case "$1" in
publish-nodejs20x-arm64
publish-nodejs20x-x86
;;
"build-publish-nodejs16x-ecr-image")
build-nodejs16x-arm64
publish_docker_ecr $NJS16X_DIST_ARM64 nodejs16.x arm64
build-nodejs16x-x86
publish_docker_ecr $NJS16X_DIST_X86_64 nodejs16.x x86_64
;;
"build-publish-nodejs18x-ecr-image")
build-nodejs18x-arm64
publish_docker_ecr $NJS18X_DIST_ARM64 nodejs18.x arm64
build-nodejs18x-x86
publish_docker_ecr $NJS18X_DIST_X86_64 nodejs18.x x86_64
;;
"build-publish-nodejs20x-ecr-image")
build-nodejs20x-arm64
publish_docker_ecr $NJS20X_DIST_ARM64 nodejs20.x arm64
build-nodejs20x-x86
publish_docker_ecr $NJS20X_DIST_X86_64 nodejs20.x x86_64
;;
"nodejs16x")
$0 build-nodejs16x
$0 publish-nodejs16x
Expand Down

0 comments on commit 867d4d0

Please sign in to comment.