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 Java end-to-end tests as a canary to | |
## test the artifacts for Application Signals enablement. It will deploy a sample app onto an ECS cluster, | |
## call the APIs, and validate the generated telemetry, including logs, metrics, and traces. | |
name: Java ECS Enablement Canary Testing | |
on: | |
schedule: | |
- cron: '0,25 * * * *' # run the workflow at 0th and 25th minute of every hour | |
workflow_dispatch: # be able to run the workflow on demand | |
push: | |
permissions: | |
id-token: write | |
contents: read | |
jobs: | |
ecs: | |
strategy: | |
fail-fast: false | |
matrix: | |
aws-region: ['us-east-1'] | |
uses: ./.github/workflows/java-ecs-retry.yml | |
secrets: inherit | |
with: | |
aws-region: ${{ matrix.aws-region }} | |
caller-workflow-name: 'appsignals-e2e-java-ecs-canary-test' | |
java-version: '11' |