Skip to content

Commit 3d9e0cb

Browse files
committed
Fix workflow file.
1 parent 3d44a8d commit 3d9e0cb

File tree

2 files changed

+18
-19
lines changed

2 files changed

+18
-19
lines changed

.github/workflows/e2e-tests-app-with-java-agent.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -166,19 +166,19 @@ jobs:
166166
APP_IMAGE: public.ecr.aws/aws-otel-test/aws-otel-java-spark-awssdkv1:${{ inputs.image_tag }}
167167
VALIDATOR_COMMAND: -c spark-otel-trace-metric-validation.yml --endpoint http://app:4567 --metric-namespace aws-otel-integ-test -t ${{ github.run_id }}-${{ github.run_number }}
168168

169-
# publish status
170-
publish-build-status:
171-
needs: [ test_Spring_App_With_Java_Agent, test_Spark_App_With_Java_Agent, test_Spark_AWS_SDK_V1_App_With_Java_Agent ]
172-
if: ${{ always() }}
173-
uses: ./.github/workflows/publish-status.yml
174-
with:
175-
namespace: 'ADOT/GitHubActions'
176-
repository: ${{ github.repository }}
177-
branch: ${{ github.ref_name }}
178-
workflow: ${{ inputs.caller-workflow-name }}
179-
success: ${{ needs.test_Spring_App_With_Java_Agent.result == 'success' &&
180-
needs.test_Spark_App_With_Java_Agent.result == 'success' &&
181-
needs.test_Spark_AWS_SDK_V1_App_With_Java_Agent.result == 'success' }}
182-
region: us-east-1
183-
secrets:
184-
roleArn: ${{ secrets.METRICS_ROLE_ARN }}
169+
# # publish status
170+
# publish-build-status:
171+
# needs: [ test_Spring_App_With_Java_Agent, test_Spark_App_With_Java_Agent, test_Spark_AWS_SDK_V1_App_With_Java_Agent ]
172+
# if: ${{ always() }}
173+
# uses: ./.github/workflows/publish-status.yml
174+
# with:
175+
# namespace: 'ADOT/GitHubActions'
176+
# repository: ${{ github.repository }}
177+
# branch: ${{ github.ref_name }}
178+
# workflow: ${{ inputs.caller-workflow-name }}
179+
# success: ${{ needs.test_Spring_App_With_Java_Agent.result == 'success' &&
180+
# needs.test_Spark_App_With_Java_Agent.result == 'success' &&
181+
# needs.test_Spark_AWS_SDK_V1_App_With_Java_Agent.result == 'success' }}
182+
# region: us-east-1
183+
# secrets:
184+
# roleArn: ${{ secrets.METRICS_ROLE_ARN }}

.github/workflows/pr-build.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,12 +88,11 @@ jobs:
8888
with:
8989
arguments: build integrationTests --stacktrace -PenableCoverage=true -PlocalDocker=true
9090

91-
- e2e-test:
92-
needs: [ build, default-region-output ]
91+
- name: e2e-test
9392
uses: ./.github/workflows/e2e-tests-app-with-java-agent.yml
9493
secrets: inherit
9594
with:
96-
aws-region: ${{ needs.default-region-output.outputs.aws_default_region }}
95+
aws-region: 'us-east-1'
9796
image_tag: ${{ github.sha }}
9897
caller-workflow-name: 'main-build'
9998

0 commit comments

Comments
 (0)