Skip to content

Commit 9e42293

Browse files
committed
Test
1 parent 653d631 commit 9e42293

File tree

3 files changed

+46
-8
lines changed

3 files changed

+46
-8
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -158,10 +158,10 @@ jobs:
158158
- name: Call all test APIs
159159
continue-on-error: true
160160
run: |
161-
curl -S -o /dev/null http://${{ env.MAIN_SERVICE_ENDPOINT }}/outgoing-http-call/
162-
curl -S -o /dev/null http://${{ env.MAIN_SERVICE_ENDPOINT }}/aws-sdk-call/
163-
curl -S -o /dev/null http://${{ env.MAIN_SERVICE_ENDPOINT }}/remote-service?ip=${{ env.REMOTE_SERVICE_IP }}/
164-
curl -S -o /dev/null http://${{ env.MAIN_SERVICE_ENDPOINT }}/client-call/
161+
curl -S -s /dev/null http://${{ env.MAIN_SERVICE_ENDPOINT }}/outgoing-http-call/
162+
curl -S -s /dev/null http://${{ env.MAIN_SERVICE_ENDPOINT }}/aws-sdk-call/
163+
curl -S -s /dev/null http://${{ env.MAIN_SERVICE_ENDPOINT }}/remote-service?ip=${{ env.REMOTE_SERVICE_IP }}/
164+
curl -S -s /dev/null http://${{ env.MAIN_SERVICE_ENDPOINT }}/client-call/
165165
166166
- name: Build Gradlew
167167
run: |

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -242,10 +242,10 @@ jobs:
242242
- name: Call all test APIs
243243
continue-on-error: true
244244
run: |
245-
curl -S -o /dev/null http://${{ env.APP_ENDPOINT }}/outgoing-http-call/
246-
curl -S -o /dev/null http://${{ env.APP_ENDPOINT }}/aws-sdk-call/
247-
curl -S -o /dev/null http://${{ env.APP_ENDPOINT }}/remote-service?ip=${{ env.REMOTE_SERVICE_POD_IP }}/
248-
curl -S -o /dev/null http://${{ env.APP_ENDPOINT }}/client-call/
245+
curl -S -s /dev/null http://${{ env.APP_ENDPOINT }}/outgoing-http-call/
246+
curl -S -s /dev/null http://${{ env.APP_ENDPOINT }}/aws-sdk-call/
247+
curl -S -s /dev/null http://${{ env.APP_ENDPOINT }}/remote-service?ip=${{ env.REMOTE_SERVICE_POD_IP }}/
248+
curl -S -s /dev/null http://${{ env.APP_ENDPOINT }}/client-call/
249249
250250
- name: Build Gradlew
251251
run: |

.github/workflows/test.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
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:
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+
28+
e2e-eks-test:
29+
strategy:
30+
fail-fast: false
31+
matrix:
32+
aws-region: ['us-east-1']
33+
uses: ./.github/workflows/appsignals-e2e-eks-test.yml
34+
secrets: inherit
35+
with:
36+
aws-region: ${{ matrix.aws-region }}
37+
test-cluster-name: 'e2e-playground'
38+
caller-workflow-name: "test"

0 commit comments

Comments
 (0)