Skip to content

Commit fd2a483

Browse files
committed
Test
1 parent 262c5ed commit fd2a483

File tree

1 file changed

+70
-0
lines changed

1 file changed

+70
-0
lines changed

.github/workflows/test-2.yml

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
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 onto an EKS cluster, call the APIs, and validate the generated telemetry,
7+
## including logs, metrics, and traces.
8+
name: Java EKS Enablement Canary Testing
9+
on:
10+
push:
11+
12+
permissions:
13+
id-token: write
14+
contents: read
15+
16+
jobs:
17+
eks:
18+
strategy:
19+
fail-fast: false
20+
matrix:
21+
aws-region: ['us-east-1']
22+
uses: ./.github/workflows/java-eks-retry.yml
23+
secrets: inherit
24+
with:
25+
aws-region: ${{ matrix.aws-region }}
26+
test-cluster-name: 'e2e-canary-test'
27+
caller-workflow-name: 'appsignals-e2e-eks-canary-test'
28+
java-version: '11'
29+
30+
k8s:
31+
uses: ./.github/workflows/java-k8s-retry.yml
32+
secrets: inherit
33+
with:
34+
# To run in more regions, a cluster must be provisioned manually on EC2 instances in that region
35+
aws-region: 'us-east-1'
36+
caller-workflow-name: 'appsignals-e2e-k8s-canary-test'
37+
java-version: '11'
38+
39+
ecs:
40+
strategy:
41+
fail-fast: false
42+
matrix:
43+
aws-region: ['us-east-1']
44+
uses: ./.github/workflows/java-ecs-retry.yml
45+
secrets: inherit
46+
with:
47+
aws-region: ${{ matrix.aws-region }}
48+
caller-workflow-name: 'appsignals-e2e-java-ecs-canary-test'
49+
java-version: '11'
50+
51+
github:
52+
strategy:
53+
fail-fast: false
54+
matrix:
55+
aws-region: ['us-east-1']
56+
uses: ./.github/workflows/java-ec2-default-retry.yml
57+
secrets: inherit
58+
with:
59+
aws-region: ${{ matrix.aws-region }}
60+
caller-workflow-name: 'appsignals-e2e-ec2-canary-test'
61+
java-version: '11'
62+
63+
maven:
64+
uses: ./.github/workflows/java-ec2-default-retry.yml
65+
secrets: inherit
66+
with:
67+
aws-region: 'us-east-1'
68+
caller-workflow-name: 'appsignals-e2e-ec2-maven-canary-test'
69+
otel-source: 'maven'
70+
java-version: '11'

0 commit comments

Comments
 (0)