Skip to content

Commit 18dc4ed

Browse files
committed
Testing concurrency
1 parent 4557838 commit 18dc4ed

File tree

4 files changed

+58
-4
lines changed

4 files changed

+58
-4
lines changed

.github/workflows/appsignals-e2e-eks-canary-test.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@ on:
1111
- cron: '*/15 * * * *' # run the workflow every 15 minutes
1212
workflow_dispatch: # be able to run the workflow on demand
1313

14-
concurrency:
15-
group: ${{ github.workflow }}
16-
cancel-in-progress: false
17-
1814
permissions:
1915
id-token: write
2016
contents: read

.github/workflows/appsignals-e2e-eks-test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ on:
2121
required: true
2222
type: string
2323

24+
concurrency:
25+
group: '${{ github.workflow }} @ ${{ inputs.aws-region }}'
26+
cancel-in-progress: false
27+
2428
permissions:
2529
id-token: write
2630
contents: read

.github/workflows/test-called.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: test called
2+
on:
3+
workflow_call:
4+
inputs:
5+
aws-region:
6+
required: true
7+
type: string
8+
9+
concurrency:
10+
group: '${{ github.workflow }} @ ${{ inputs.aws-region }}'
11+
cancel-in-progress: false
12+
13+
permissions:
14+
id-token: write
15+
contents: read
16+
17+
jobs:
18+
checkout-and-sleep:
19+
runs-on: ubuntu-latest
20+
steps:
21+
- uses: actions/checkout@v4
22+
with:
23+
fetch-depth: 0
24+
25+
- name: Sleep 1 min
26+
run: sleep 60

.github/workflows/test.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
## Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
## SPDX-License-Identifier: Apache-2.0
3+
4+
## This workflow aims to run the Application Signals end-to-end tests as a canary to
5+
## test the artifacts for App Signals enablement. It will deploy a sample app and remote
6+
## service onto an EKS cluster, call the APIs, and validate the generated telemetry,
7+
## including logs, metrics, and traces.
8+
name: Testing
9+
on:
10+
workflow_dispatch: # be able to run the workflow on demand
11+
push:
12+
branches:
13+
- eks-concurrency
14+
15+
permissions:
16+
id-token: write
17+
contents: read
18+
19+
jobs:
20+
test-call:
21+
strategy:
22+
fail-fast: false
23+
matrix:
24+
aws-region: ['af-south-1','ap-east-1']
25+
uses: ./.github/workflows/test-called.yml
26+
secrets: inherit
27+
with:
28+
aws-region: ${{ matrix.aws-region }}

0 commit comments

Comments
 (0)