Skip to content

Commit 734539e

Browse files
committed
Add retry and wait time to Initiate Gradlew Daemon step
1 parent 08a64a6 commit 734539e

File tree

3 files changed

+90
-2
lines changed

3 files changed

+90
-2
lines changed

.github/workflows/appsignals-e2e-ec2-test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
e2e-ec2-test:
3838
runs-on: ubuntu-latest
3939
container:
40-
image: public.ecr.aws/h6o3z5z9/aws-application-signals-test-framework-workflow-container:latest
40+
image: public.ecr.aws/h6o3z5z9/aws-application-signals-test-framework-workflow-container:test
4141
steps:
4242
- uses: actions/checkout@v4
4343
with:
@@ -175,6 +175,8 @@ jobs:
175175
with:
176176
command: "./gradlew"
177177
cleanup: "./gradlew clean"
178+
max_retry: 4
179+
sleep_time: 30
178180

179181
# Validation for pulse telemetry data
180182
- name: Validate generated EMF logs

.github/workflows/appsignals-e2e-eks-test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
e2e-eks-test:
4545
runs-on: ubuntu-latest
4646
container:
47-
image: public.ecr.aws/h6o3z5z9/aws-application-signals-test-framework-workflow-container:latest
47+
image: public.ecr.aws/h6o3z5z9/aws-application-signals-test-framework-workflow-container:test
4848
steps:
4949
- uses: actions/checkout@v4
5050
with:
@@ -270,6 +270,8 @@ jobs:
270270
with:
271271
command: "./gradlew"
272272
cleanup: "./gradlew clean"
273+
max_retry: 4
274+
sleep_time: 30
273275

274276
# Validation for app signals telemetry data
275277
- name: Call endpoint and validate generated EMF logs

.github/workflows/test 4.yml

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
## Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
## SPDX-License-Identifier: Apache-2.0
3+
4+
## This workflow aims to run the Application Signals end-to-end tests as a canary to
5+
## test the artifacts for App Signals enablement. It will deploy a sample app and remote
6+
## service on two EC2 instances, call the APIs, and validate the generated telemetry,
7+
## including logs, metrics, and traces.
8+
name: Test
9+
on:
10+
push:
11+
12+
permissions:
13+
id-token: write
14+
contents: read
15+
16+
jobs:
17+
e2e-ec2-test-1:
18+
strategy:
19+
fail-fast: false
20+
matrix:
21+
aws-region: ['us-east-1']
22+
uses: ./.github/workflows/appsignals-e2e-ec2-test.yml
23+
secrets: inherit
24+
with:
25+
aws-region: ${{ matrix.aws-region }}
26+
caller-workflow-name: 'test'
27+
e2e-ec2-test-2:
28+
needs: [e2e-ec2-test-1]
29+
strategy:
30+
fail-fast: false
31+
matrix:
32+
aws-region: [ 'us-east-1' ]
33+
uses: ./.github/workflows/appsignals-e2e-ec2-test.yml
34+
secrets: inherit
35+
with:
36+
aws-region: ${{ matrix.aws-region }}
37+
caller-workflow-name: 'test'
38+
e2e-ec2-test-3:
39+
needs: [e2e-ec2-test-2]
40+
strategy:
41+
fail-fast: false
42+
matrix:
43+
aws-region: [ 'us-east-1' ]
44+
uses: ./.github/workflows/appsignals-e2e-ec2-test.yml
45+
secrets: inherit
46+
with:
47+
aws-region: ${{ matrix.aws-region }}
48+
caller-workflow-name: 'test'
49+
50+
e2e-eks-test-1:
51+
strategy:
52+
fail-fast: false
53+
matrix:
54+
aws-region: ['us-east-1']
55+
uses: ./.github/workflows/appsignals-e2e-eks-test.yml
56+
secrets: inherit
57+
with:
58+
aws-region: ${{ matrix.aws-region }}
59+
test-cluster-name: 'e2e-playground'
60+
caller-workflow-name: "test"
61+
e2e-eks-test-2:
62+
needs: [e2e-eks-test-1]
63+
strategy:
64+
fail-fast: false
65+
matrix:
66+
aws-region: ['us-east-1']
67+
uses: ./.github/workflows/appsignals-e2e-eks-test.yml
68+
secrets: inherit
69+
with:
70+
aws-region: ${{ matrix.aws-region }}
71+
test-cluster-name: 'e2e-playground'
72+
caller-workflow-name: "test"
73+
e2e-eks-test-3:
74+
needs: [e2e-eks-test-2]
75+
strategy:
76+
fail-fast: false
77+
matrix:
78+
aws-region: ['us-east-1']
79+
uses: ./.github/workflows/appsignals-e2e-eks-test.yml
80+
secrets: inherit
81+
with:
82+
aws-region: ${{ matrix.aws-region }}
83+
test-cluster-name: 'e2e-playground'
84+
caller-workflow-name: "test"

0 commit comments

Comments
 (0)