Add Python Version Input Option for EC2 #65
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
## 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' |