Skip to content

Commit 48360ab

Browse files
authored
Add Application Signals E2E Test Coverage (#270)
*Issue #, if available:* We currently do not have full test coverage over our ADOT artifacts. We need to ensure that ADOT is compatible with Python versions, CPU architecture and different platforms before we release them. *Description of changes:* - Adding language version tests for Python 3.8, 3.9, 3.10, 3.11, 3.12 - Adding CPU architecture test for ARM64 Test run: https://github.com/aws-observability/aws-otel-python-instrumentation/actions/runs/11170214599 By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
1 parent 1827861 commit 48360ab

File tree

1 file changed

+139
-8
lines changed

1 file changed

+139
-8
lines changed

.github/workflows/application-signals-e2e-test.yml

Lines changed: 139 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,48 +41,179 @@ jobs:
4141
- name: Upload main-build adot.whl to s3
4242
run: aws s3 cp ${{ inputs.staging-wheel-name }} s3://adot-main-build-staging-jar/${{ inputs.staging-wheel-name }}
4343

44-
python-ec2-default-e2e-test:
44+
#
45+
# PACKAGED DISTRIBUTION LANGUAGE VERSION COVERAGE
46+
# DEFAULT SETTING: {Python Version}, EC2, AMD64, AL2
47+
#
48+
49+
default-v8-amd64:
4550
needs: [ upload-main-build ]
4651
uses: aws-observability/aws-application-signals-test-framework/.github/workflows/python-ec2-default-test.yml@main
4752
secrets: inherit
4853
with:
4954
aws-region: us-east-1
50-
staging-wheel-name: aws_opentelemetry_distro-0.2.0.dev0-07ca0f26-py3-none-any.whl
5155
caller-workflow-name: 'main-build'
56+
python-version: '3.8'
57+
cpu-architecture: 'x86_64'
58+
staging-wheel-name: ${{ inputs.staging-wheel-name }}
5259

53-
python-ec2-asg-e2e-test:
60+
default-v11-amd64:
5461
needs: [ upload-main-build ]
55-
uses: aws-observability/aws-application-signals-test-framework/.github/workflows/python-ec2-asg-test.yml@main
62+
uses: aws-observability/aws-application-signals-test-framework/.github/workflows/python-ec2-default-test.yml@main
63+
secrets: inherit
64+
with:
65+
aws-region: us-east-1
66+
caller-workflow-name: 'main-build'
67+
python-version: '3.9'
68+
cpu-architecture: 'x86_64'
69+
staging-wheel-name: ${{ inputs.staging-wheel-name }}
70+
71+
default-v17-amd64:
72+
needs: [ upload-main-build ]
73+
uses: aws-observability/aws-application-signals-test-framework/.github/workflows/python-ec2-default-test.yml@main
5674
secrets: inherit
5775
with:
5876
aws-region: us-east-1
59-
staging-wheel-name: aws_opentelemetry_distro-0.2.0.dev0-07ca0f26-py3-none-any.whl
6077
caller-workflow-name: 'main-build'
78+
python-version: '3.10'
79+
cpu-architecture: 'x86_64'
80+
staging-wheel-name: ${{ inputs.staging-wheel-name }}
6181

62-
python-eks-e2e-test:
82+
default-v21-amd64:
83+
needs: [ upload-main-build ]
84+
uses: aws-observability/aws-application-signals-test-framework/.github/workflows/python-ec2-default-test.yml@main
85+
secrets: inherit
86+
with:
87+
aws-region: us-east-1
88+
caller-workflow-name: 'main-build'
89+
python-version: '3.11'
90+
cpu-architecture: 'x86_64'
91+
staging-wheel-name: ${{ inputs.staging-wheel-name }}
92+
93+
default-v22-amd64:
94+
needs: [ upload-main-build ]
95+
uses: aws-observability/aws-application-signals-test-framework/.github/workflows/python-ec2-default-test.yml@main
96+
secrets: inherit
97+
with:
98+
aws-region: us-east-1
99+
caller-workflow-name: 'main-build'
100+
python-version: '3.12'
101+
cpu-architecture: 'x86_64'
102+
staging-wheel-name: ${{ inputs.staging-wheel-name }}
103+
104+
#
105+
# DOCKER DISTRIBUTION LANGUAGE VERSION COVERAGE
106+
# DEFAULT SETTING: {Python Version}, EKS, AMD64, AL2
107+
#
108+
109+
eks-v3-8-amd64:
110+
uses: aws-observability/aws-application-signals-test-framework/.github/workflows/python-eks-test.yml@main
111+
secrets: inherit
112+
with:
113+
aws-region: us-east-1
114+
test-cluster-name: 'e2e-python-adot-test'
115+
adot-image-name: ${{ inputs.adot-image-name }}
116+
caller-workflow-name: 'main-build'
117+
python-version: '3.8'
118+
119+
eks-v3-9-amd64:
120+
needs: eks-v3-8-amd64
63121
uses: aws-observability/aws-application-signals-test-framework/.github/workflows/python-eks-test.yml@main
64122
secrets: inherit
65123
with:
66124
aws-region: us-east-1
67125
test-cluster-name: 'e2e-python-adot-test'
68126
adot-image-name: ${{ inputs.adot-image-name }}
69127
caller-workflow-name: 'main-build'
128+
python-version: '3.9'
70129

71-
python-k8s-e2e-test:
130+
eks-v3-10-amd64:
131+
needs: eks-v3-9-amd64
132+
uses: aws-observability/aws-application-signals-test-framework/.github/workflows/python-eks-test.yml@main
133+
secrets: inherit
134+
with:
135+
aws-region: us-east-1
136+
test-cluster-name: 'e2e-python-adot-test'
137+
adot-image-name: ${{ inputs.adot-image-name }}
138+
caller-workflow-name: 'main-build'
139+
python-version: '3.10'
140+
141+
eks-v3-11-amd64:
142+
needs: eks-v3-10-amd64
143+
uses: aws-observability/aws-application-signals-test-framework/.github/workflows/python-eks-test.yml@main
144+
secrets: inherit
145+
with:
146+
aws-region: us-east-1
147+
test-cluster-name: 'e2e-python-adot-test'
148+
adot-image-name: ${{ inputs.adot-image-name }}
149+
caller-workflow-name: 'main-build'
150+
python-version: '3.11'
151+
152+
eks-v3-12-amd64:
153+
needs: eks-v3-11-amd64
154+
uses: aws-observability/aws-application-signals-test-framework/.github/workflows/python-eks-test.yml@main
155+
secrets: inherit
156+
with:
157+
aws-region: us-east-1
158+
test-cluster-name: 'e2e-python-adot-test'
159+
adot-image-name: ${{ inputs.adot-image-name }}
160+
caller-workflow-name: 'main-build'
161+
python-version: '3.12'
162+
163+
#
164+
# PACKAGED DISTRIBUTION PLATFORM COVERAGE
165+
# DEFAULT SETTING: Python 3.9, {Platform}, AMD64, AL2
166+
#
167+
168+
asg-v11-amd64:
169+
needs: [ upload-main-build ]
170+
uses: aws-observability/aws-application-signals-test-framework/.github/workflows/python-ec2-asg-test.yml@main
171+
secrets: inherit
172+
with:
173+
aws-region: us-east-1
174+
caller-workflow-name: 'main-build'
175+
python-version: '3.9'
176+
staging-wheel-name: ${{ inputs.staging-wheel-name }}
177+
178+
#
179+
# DOCKER DISTRIBUTION PLATFORM COVERAGE
180+
# DEFAULT SETTING: Python 3.10, {Platform}, AMD64, AL2
181+
#
182+
183+
k8s-v11-amd64:
72184
uses: aws-observability/aws-application-signals-test-framework/.github/workflows/python-k8s-test.yml@main
73185
secrets: inherit
74186
with:
75187
aws-region: us-east-1
76188
adot-image-name: ${{ inputs.adot-image-name }}
77189
caller-workflow-name: 'main-build'
190+
python-version: '3.10'
78191

79-
python-ecs-e2e-test:
192+
193+
ecs-v11-amd64:
80194
uses: aws-observability/aws-application-signals-test-framework/.github/workflows/python-ecs-test.yml@main
81195
secrets: inherit
82196
with:
83197
aws-region: us-east-1
84198
adot-image-name: ${{ inputs.adot-image-name }}
85199
caller-workflow-name: 'main-build'
200+
python-version: '3.10'
201+
202+
#
203+
# CPU ARCHITECTURE COVERAGE
204+
# DEFAULT SETTING: Python 3.9, EC2, {CPU Architecture}, AL2
205+
#
206+
207+
default-v11-arm64:
208+
needs: [ upload-main-build ]
209+
uses: aws-observability/aws-application-signals-test-framework/.github/workflows/python-ec2-default-test.yml@main
210+
secrets: inherit
211+
with:
212+
aws-region: us-east-1
213+
caller-workflow-name: 'main-build'
214+
python-version: '3.9'
215+
cpu-architecture: 'arm64'
216+
staging-wheel-name: ${{ inputs.staging-wheel-name }}
86217

87218

88219

0 commit comments

Comments
 (0)