Skip to content

Commit 90901b1

Browse files
authored
Merge pull request #835 from aws-observability/consolidate-release
Consolidate release testing with framework repo
2 parents b9f8d19 + 579da5a commit 90901b1

File tree

4 files changed

+86
-514
lines changed

4 files changed

+86
-514
lines changed
Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
## Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
## SPDX-License-Identifier: Apache-2.0
3+
4+
# This is a reusable workflow for running the E2E test for Application Signals.
5+
# It is meant to be called from another workflow.
6+
# Read more about reusable workflows: https://docs.github.com/en/actions/using-workflows/reusing-workflows#overview
7+
name: E2E Testing
8+
on:
9+
workflow_call:
10+
inputs:
11+
adot-image-name:
12+
required: true
13+
type: string
14+
15+
permissions:
16+
id-token: write
17+
contents: read
18+
19+
concurrency:
20+
group: '${{ github.workflow }} @ ${{ inputs.aws-region }}'
21+
cancel-in-progress: false
22+
23+
24+
jobs:
25+
upload-main-build:
26+
runs-on: ubuntu-latest
27+
steps:
28+
- name: Configure AWS Credentials
29+
uses: aws-actions/configure-aws-credentials@v4
30+
with:
31+
role-to-assume: arn:aws:iam::${{ secrets.APPLICATION_SIGNALS_E2E_TEST_ACCOUNT_ID }}:role/${{ secrets.APPLICATION_SIGNALS_E2E_TEST_ROLE_NAME }}
32+
aws-region: us-east-1
33+
34+
- uses: actions/download-artifact@v3
35+
with:
36+
name: aws-opentelemetry-agent.jar
37+
38+
- name: Upload main-build adot.jar to s3
39+
run: aws s3 cp ./aws-opentelemetry-agent-*-SNAPSHOT.jar s3://adot-main-build-staging-jar/aws-opentelemetry-agent.jar
40+
41+
java-ec2-default-e2e-test:
42+
needs: [ upload-main-build ]
43+
uses: aws-observability/aws-application-signals-test-framework/.github/workflows/java-ec2-default-e2e-test.yml@consolidate-release
44+
secrets: inherit
45+
with:
46+
aws-region: us-east-1
47+
caller-workflow-name: 'main-build'
48+
49+
java-ec2-asg-e2e-test:
50+
needs: [ upload-main-build ]
51+
uses: aws-observability/aws-application-signals-test-framework/.github/workflows/java-ec2-asg-e2e-test.yml@consolidate-release
52+
secrets: inherit
53+
with:
54+
aws-region: us-east-1
55+
caller-workflow-name: 'main-build'
56+
57+
java-eks-e2e-test:
58+
uses: aws-observability/aws-application-signals-test-framework/.github/workflows/java-eks-e2e-test.yml@consolidate-release
59+
secrets: inherit
60+
with:
61+
aws-region: us-east-1
62+
test-cluster-name: 'e2e-adot-test'
63+
adot-image-name: ${{ inputs.adot-image-name }}
64+
caller-workflow-name: 'main-build'
65+
66+
java-metric-limiter-e2e-test:
67+
needs: [ java-eks-e2e-test ]
68+
uses: aws-observability/aws-application-signals-test-framework/.github/workflows/java-eks-e2e-test.yml@consolidate-release
69+
secrets: inherit
70+
with:
71+
aws-region: us-east-1
72+
test-cluster-name: 'e2e-adot-test'
73+
adot-image-name: ${{ inputs.adot-image-name }}
74+
caller-workflow-name: 'main-build'
75+
76+
java-k8s-e2e-test:
77+
uses: aws-observability/aws-application-signals-test-framework/.github/workflows/java-k8s-e2e-test.yml@consolidate-release
78+
secrets: inherit
79+
with:
80+
aws-region: us-east-1
81+
adot-image-name: ${{ inputs.adot-image-name }}
82+
caller-workflow-name: 'main-build'

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

Lines changed: 0 additions & 189 deletions
This file was deleted.

0 commit comments

Comments
 (0)