Skip to content

Commit f982522

Browse files
Merge pull request #847 from aws-observability/1.32.x-temp-fix
temp: Comment out ECR-related release steps
2 parents 753acdf + de611c9 commit f982522

File tree

1 file changed

+61
-61
lines changed

1 file changed

+61
-61
lines changed

.github/workflows/release-build.yml

+61-61
Original file line numberDiff line numberDiff line change
@@ -35,74 +35,74 @@ jobs:
3535
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
3636
gpg_password: ${{ secrets.GPG_PASSPHRASE }}
3737

38-
- name: Configure AWS Credentials
39-
uses: aws-actions/configure-aws-credentials@v4
40-
with:
41-
role-to-assume: ${{ secrets.AWS_ASSUME_ROLE_ARN }}
42-
aws-region: ${{ env.AWS_PUBLIC_ECR_REGION }}
38+
# - name: Configure AWS Credentials
39+
# uses: aws-actions/configure-aws-credentials@v4
40+
# with:
41+
# role-to-assume: ${{ secrets.AWS_ASSUME_ROLE_ARN }}
42+
# aws-region: ${{ env.AWS_PUBLIC_ECR_REGION }}
4343

44-
- name: Log in to AWS ECR
45-
uses: docker/login-action@v3
46-
with:
47-
registry: public.ecr.aws
44+
# - name: Log in to AWS ECR
45+
# uses: docker/login-action@v3
46+
# with:
47+
# registry: public.ecr.aws
4848

4949
- name: Build release with Gradle
5050
uses: gradle/gradle-build-action@v3
5151
with:
5252
arguments: build integrationTests -PlocalDocker=true -Prelease.version=${{ github.event.inputs.version }} --stacktrace
5353

54-
- name: Configure AWS Credentials
55-
uses: aws-actions/configure-aws-credentials@v4
56-
with:
57-
role-to-assume: ${{ secrets.AWS_ASSUME_ROLE_ARN_RELEASE }}
58-
aws-region: ${{ env.AWS_PUBLIC_ECR_REGION }}
59-
60-
- name: Log in to AWS ECR
61-
uses: docker/login-action@v3
62-
with:
63-
registry: public.ecr.aws
64-
65-
- name: Configure AWS Credentials for Private ECR
66-
uses: aws-actions/configure-aws-credentials@v4
67-
with:
68-
role-to-assume: ${{ secrets.AWS_ASSUME_ROLE_ARN_RELEASE }}
69-
aws-region: ${{ env.AWS_PRIVATE_ECR_REGION }}
70-
71-
- name: Log in to AWS private ECR
72-
uses: docker/login-action@v3
73-
with:
74-
registry: ${{ env.PRIVATE_REGISTRY }}
75-
76-
- name: Set up QEMU
77-
uses: docker/setup-qemu-action@v3
78-
79-
- name: Set up Docker Buildx
80-
uses: docker/setup-buildx-action@v3
81-
82-
- name: Build image for testing
83-
uses: docker/build-push-action@v5
84-
with:
85-
push: false
86-
build-args: "ADOT_JAVA_VERSION=${{ github.event.inputs.version }}"
87-
context: .
88-
platforms: linux/amd64
89-
tags: ${{ env.TEST_TAG }}
90-
load: true
91-
92-
- name: Test docker image
93-
shell: bash
94-
run: .github/scripts/test-adot-javaagent-image.sh "${{ env.TEST_TAG }}" "${{ github.event.inputs.version }}"
95-
96-
- name: Build and push image
97-
uses: docker/build-push-action@v5
98-
with:
99-
push: true
100-
build-args: "ADOT_JAVA_VERSION=${{ github.event.inputs.version }}"
101-
context: .
102-
platforms: linux/amd64,linux/arm64
103-
tags: |
104-
${{ env.PUBLIC_REPOSITORY }}:v${{ github.event.inputs.version }}
105-
${{ env.PRIVATE_REPOSITORY }}:v${{ github.event.inputs.version }}
54+
# - name: Configure AWS Credentials
55+
# uses: aws-actions/configure-aws-credentials@v4
56+
# with:
57+
# role-to-assume: ${{ secrets.AWS_ASSUME_ROLE_ARN_RELEASE }}
58+
# aws-region: ${{ env.AWS_PUBLIC_ECR_REGION }}
59+
60+
# - name: Log in to AWS ECR
61+
# uses: docker/login-action@v3
62+
# with:
63+
# registry: public.ecr.aws
64+
65+
# - name: Configure AWS Credentials for Private ECR
66+
# uses: aws-actions/configure-aws-credentials@v4
67+
# with:
68+
# role-to-assume: ${{ secrets.AWS_ASSUME_ROLE_ARN_RELEASE }}
69+
# aws-region: ${{ env.AWS_PRIVATE_ECR_REGION }}
70+
71+
# - name: Log in to AWS private ECR
72+
# uses: docker/login-action@v3
73+
# with:
74+
# registry: ${{ env.PRIVATE_REGISTRY }}
75+
76+
# - name: Set up QEMU
77+
# uses: docker/setup-qemu-action@v3
78+
79+
# - name: Set up Docker Buildx
80+
# uses: docker/setup-buildx-action@v3
81+
82+
# - name: Build image for testing
83+
# uses: docker/build-push-action@v5
84+
# with:
85+
# push: false
86+
# build-args: "ADOT_JAVA_VERSION=${{ github.event.inputs.version }}"
87+
# context: .
88+
# platforms: linux/amd64
89+
# tags: ${{ env.TEST_TAG }}
90+
# load: true
91+
92+
# - name: Test docker image
93+
# shell: bash
94+
# run: .github/scripts/test-adot-javaagent-image.sh "${{ env.TEST_TAG }}" "${{ github.event.inputs.version }}"
95+
96+
# - name: Build and push image
97+
# uses: docker/build-push-action@v5
98+
# with:
99+
# push: true
100+
# build-args: "ADOT_JAVA_VERSION=${{ github.event.inputs.version }}"
101+
# context: .
102+
# platforms: linux/amd64,linux/arm64
103+
# tags: |
104+
# ${{ env.PUBLIC_REPOSITORY }}:v${{ github.event.inputs.version }}
105+
# ${{ env.PRIVATE_REPOSITORY }}:v${{ github.event.inputs.version }}
106106

107107
- name: Build and Publish release with Gradle
108108
uses: gradle/gradle-build-action@v3

0 commit comments

Comments
 (0)