Skip to content

Commit eec8a2b

Browse files
committed
Test
1 parent 7388f1b commit eec8a2b

File tree

2 files changed

+86
-1
lines changed

2 files changed

+86
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
- name: Generate testing id and sample app namespace
6868
run: |
6969
echo TESTING_ID="${{ inputs.aws-region }}-${{ github.run_id }}-${{ github.run_number }}" >> $GITHUB_ENV
70-
echo SAMPLE_APP_NAMESPACE="sample-app-namespace-${{ github.run_id }}-${{ github.run_number }}" >> $GITHUB_ENV
70+
echo SAMPLE_APP_NAMESPACE="ns-${{ github.run_id }}-${{ github.run_number }}" >> $GITHUB_ENV
7171
7272
- name: Configure AWS Credentials
7373
uses: aws-actions/configure-aws-credentials@v4

.github/workflows/test 2.yml

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
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"
85+

0 commit comments

Comments
 (0)