Skip to content
## Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
## SPDX-License-Identifier: Apache-2.0
## This workflow aims to run the Application Signals DotNet 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: Application Signals Enablement - DotNet E2E EC2 Canary Testing
on:
workflow_dispatch: # be able to run the workflow on demand
push:
branches:
- "dotnetMergeBranch-test"
# schedule:
# - cron: '*/15 * * * *' # run the workflow every 15 minutes
permissions:
id-token: write
contents: read
jobs:
dotnet-e2e-ec2-default-test:
strategy:
fail-fast: false
matrix:

Check failure on line 25 in .github/workflows/dotnet-ec2-e2e-canary-test.yml

View workflow run for this annotation

GitHub Actions / Application Signals Enablement - DotNet E2E EC2 Canary Testing

Invalid workflow file

The workflow is not valid. .github/workflows/dotnet-ec2-e2e-canary-test.yml (Line: 25, Col: 14): Unexpected value '' .github/workflows/dotnet-ec2-e2e-canary-test.yml (Line: 30, Col: 5): Unexpected value 'aws-region'
# aws-region: ['af-south-1','ap-east-1','ap-northeast-1','ap-northeast-2','ap-northeast-3','ap-south-1','ap-south-2','ap-southeast-1',
# 'ap-southeast-2','ap-southeast-3','ap-southeast-4','ca-central-1','eu-central-1','eu-central-2','eu-north-1',
# 'eu-south-1','eu-south-2','eu-west-1','eu-west-2','eu-west-3','il-central-1','me-central-1','me-south-1', 'sa-east-1',
# 'us-east-1','us-east-2', 'us-west-1', 'us-west-2']
aws-region: [ 'us-east-1']
uses: ./.github/workflows/dotnet-ec2-default-e2e-test.yml
secrets: inherit
with:
aws-region: ${{ matrix.aws-region }}
caller-workflow-name: 'appsignals-dotnet-e2e-ec2-canary-test'
staging_distro_name: 'aws-distro-opentelemetry-dotnet-instrumentation-linux-glibc-x64.zip'
dotnet-e2e-ec2-asg-test:
strategy:
fail-fast: false
matrix:
# aws-region: [ 'af-south-1','ap-east-1','ap-northeast-1','ap-northeast-2','ap-northeast-3','ap-south-1','ap-south-2','ap-southeast-1',
# 'ap-southeast-2','ap-southeast-3','ap-southeast-4','ca-central-1','eu-central-1','eu-central-2','eu-north-1',
# 'eu-south-1','eu-south-2','eu-west-1','eu-west-2','eu-west-3','il-central-1','me-central-1','me-south-1', 'sa-east-1',
# 'us-east-1','us-east-2', 'us-west-1', 'us-west-2' ]
aws-region: [ 'us-east-1']
uses: ./.github/workflows/dotnet-ec2-asg-e2e-test.yml
secrets: inherit
with:
aws-region: ${{ matrix.aws-region }}
caller-workflow-name: 'appsignals-dotnet-e2e-ec2-asg-canary-test'
staging_distro_name: 'aws-distro-opentelemetry-dotnet-instrumentation-linux-glibc-x64.zip'