Skip to content

Commit fa21f36

Browse files
committed
test if E2E WF still working
1 parent 5853256 commit fa21f36

File tree

2 files changed

+68
-11
lines changed

2 files changed

+68
-11
lines changed
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
## Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
## SPDX-License-Identifier: Apache-2.0
3+
4+
# This is a reusable workflow for running the Enablement test for App Signals.
5+
# It is meant to be called from another workflow.
6+
# Read more about reusable workflows: https://docs.github.com/en/actions/using-workflows/reusing-workflows#overview
7+
name: Dotnet EC2 Windows Retry
8+
on:
9+
workflow_call:
10+
inputs:
11+
aws-region:
12+
required: true
13+
type: string
14+
caller-workflow-name:
15+
required: true
16+
type: string
17+
18+
permissions:
19+
id-token: write
20+
contents: read
21+
22+
jobs:
23+
dotnet-ec2-windows-attempt-1:
24+
uses: ./.github/workflows/dotnet-ec2-windows-test.yml
25+
secrets: inherit
26+
with:
27+
aws-region: ${{ inputs.aws-region }}
28+
caller-workflow-name: ${{ inputs.caller-workflow-name }}
29+
30+
dotnet-ec2-windows-attempt-2:
31+
needs: [ dotnet-ec2-windows-attempt-1 ]
32+
if: ${{ needs.dotnet-ec2-windows-attempt-1.outputs.job-started != 'true' }}
33+
uses: ./.github/workflows/dotnet-ec2-windows-test.yml
34+
secrets: inherit
35+
with:
36+
aws-region: ${{ inputs.aws-region }}
37+
caller-workflow-name: ${{ inputs.caller-workflow-name }}
38+
#
39+
# publish-metric-attempt-1:
40+
# needs: [ dotnet-ec2-windows-attempt-1, dotnet-ec2-windows-attempt-2 ]
41+
# if: always()
42+
# uses: ./.github/workflows/enablement-test-publish-result.yml
43+
# secrets: inherit
44+
# with:
45+
# aws-region: ${{ inputs.aws-region }}
46+
# caller-workflow-name: ${{ inputs.caller-workflow-name }}
47+
# validation-result: ${{ needs.dotnet-ec2-windows-attempt-1.outputs.validation-result || needs.dotnet-ec2-windows-attempt-2.outputs.validation-result }}
48+
#
49+
# publish-metric-attempt-2:
50+
# needs: [ dotnet-ec2-windows-attempt-1, dotnet-ec2-windows-attempt-2, publish-metric-attempt-1 ]
51+
# if: ${{ always() && needs.publish-metric-attempt-1.outputs.job-started != 'true' }}
52+
# uses: ./.github/workflows/enablement-test-publish-result.yml
53+
# secrets: inherit
54+
# with:
55+
# aws-region: ${{ inputs.aws-region }}
56+
# caller-workflow-name: ${{ inputs.caller-workflow-name }}
57+
# validation-result: ${{ needs.dotnet-ec2-windows-attempt-1.outputs.validation-result || needs.dotnet-ec2-windows-attempt-2.outputs.validation-result }}

.github/workflows/dotnet-windows-canary.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,17 @@ permissions:
2424

2525

2626
jobs:
27-
eks-windows:
28-
strategy:
29-
fail-fast: false
30-
matrix:
31-
aws-region: ['us-east-1']
32-
uses: ./.github/workflows/dotnet-eks-windows-test.yml
33-
secrets: inherit
34-
with:
35-
aws-region: ${{ matrix.aws-region }}
36-
test-cluster-name: 'e2e-dotnet-windows-canary-test'
37-
caller-workflow-name: 'appsignals-dotnet-windows-e2e-eks-canary-test'
27+
# eks-windows:
28+
# strategy:
29+
# fail-fast: false
30+
# matrix:
31+
# aws-region: ['us-east-1']
32+
# uses: ./.github/workflows/dotnet-eks-windows-test.yml
33+
# secrets: inherit
34+
# with:
35+
# aws-region: ${{ matrix.aws-region }}
36+
# test-cluster-name: 'e2e-dotnet-windows-canary-test'
37+
# caller-workflow-name: 'appsignals-dotnet-windows-e2e-eks-canary-test'
3838

3939
ec2-windows:
4040
strategy:

0 commit comments

Comments
 (0)