-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Python Version Input Option for EC2
- Loading branch information
Showing
11 changed files
with
263 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
## Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
## SPDX-License-Identifier: Apache-2.0 | ||
|
||
## This workflow aims to run the Application Signals Python end-to-end tests as a canary to | ||
## test the artifacts for Application Signals enablement. It will deploy a sample app and remote | ||
## service on two EC2 instances, call the APIs, and validate the generated telemetry, | ||
## including logs, metrics, and traces. | ||
name: Python EC2 Enablement Canary Testing | ||
on: | ||
push: | ||
|
||
permissions: | ||
id-token: write | ||
contents: read | ||
|
||
jobs: | ||
github-3-8: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
aws-region: ['us-east-1'] | ||
uses: ./.github/workflows/python-ec2-default-retry.yml | ||
secrets: inherit | ||
with: | ||
aws-region: ${{ matrix.aws-region }} | ||
caller-workflow-name: 'appsignals-python-e2e-ec2-canary-test' | ||
python-version: '3.8' | ||
|
||
github-3-9: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
aws-region: ['us-east-1'] | ||
uses: ./.github/workflows/python-ec2-default-retry.yml | ||
secrets: inherit | ||
with: | ||
aws-region: ${{ matrix.aws-region }} | ||
caller-workflow-name: 'appsignals-python-e2e-ec2-canary-test' | ||
python-version: '3.9' | ||
github-3-10: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
aws-region: ['us-east-1'] | ||
uses: ./.github/workflows/python-ec2-default-retry.yml | ||
secrets: inherit | ||
with: | ||
aws-region: ${{ matrix.aws-region }} | ||
caller-workflow-name: 'appsignals-python-e2e-ec2-canary-test' | ||
python-version: '3.10' | ||
|
||
github-3-11: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
aws-region: ['us-east-1'] | ||
uses: ./.github/workflows/python-ec2-default-retry.yml | ||
secrets: inherit | ||
with: | ||
aws-region: ${{ matrix.aws-region }} | ||
caller-workflow-name: 'appsignals-python-e2e-ec2-canary-test' | ||
python-version: '3.11' | ||
|
||
github-3-12: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
aws-region: ['us-east-1'] | ||
uses: ./.github/workflows/python-ec2-default-retry.yml | ||
secrets: inherit | ||
with: | ||
aws-region: ${{ matrix.aws-region }} | ||
caller-workflow-name: 'appsignals-python-e2e-ec2-canary-test' | ||
python-version: '3.12' | ||
|
||
pypi: | ||
uses: ./.github/workflows/python-ec2-default-retry.yml | ||
secrets: inherit | ||
with: | ||
aws-region: 'us-east-1' | ||
caller-workflow-name: 'appsignals-python-e2e-ec2-pypi-canary-test' | ||
python-version: '3.9' | ||
otel-source: 'pypi' | ||
|
||
asg: | ||
uses: ./.github/workflows/python-ec2-asg-test.yml | ||
secrets: inherit | ||
with: | ||
aws-region: 'us-east-1' | ||
caller-workflow-name: 'appsignals-python-e2e-ec2-pypi-canary-test' | ||
python-version: '3.9' |
6 changes: 4 additions & 2 deletions
6
sample-apps/python/django_frontend_service/ec2-requirements.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
Django~=4.2.9 | ||
boto3~=1.34.3 | ||
boto3~=1.34.161 | ||
pymysql==1.1.1 | ||
python-dotenv~=1.0.1 | ||
requests~=2.31.0 | ||
requests~=2.25.1 | ||
schedule~=1.2.1 | ||
opentelemetry-sdk==1.27.0 | ||
opentelemetry-api==1.27.0 |
Oops, something went wrong.