-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# This is a combination of 11 commits.
# This is the 1st commit message: Test concurency. # The commit message #2 will be skipped: # Dummy commit # The commit message #3 will be skipped: # Dummy commit # The commit message #4 will be skipped: # Dummy commit # The commit message #5 will be skipped: # Dummy commit # The commit message #6 will be skipped: # add push. # The commit message #7 will be skipped: # Dummy commit # The commit message #8 will be skipped: # Dummy commit # The commit message #9 will be skipped: # Dummy commit # The commit message #10 will be skipped: # Add push condition. # The commit message #11 will be skipped: # Dummy commit
- Loading branch information
Showing
56 changed files
with
2,691 additions
and
155 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
## Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
## SPDX-License-Identifier: Apache-2.0 | ||
|
||
# This is a reusable workflow for running the Enablement test for App Signals. | ||
# It is meant to be called from another workflow. | ||
# Read more about reusable workflows: https://docs.github.com/en/actions/using-workflows/reusing-workflows#overview | ||
name: Dotnet EC2 Windows Retry | ||
on: | ||
workflow_call: | ||
inputs: | ||
aws-region: | ||
required: true | ||
type: string | ||
caller-workflow-name: | ||
required: true | ||
type: string | ||
|
||
permissions: | ||
id-token: write | ||
contents: read | ||
|
||
jobs: | ||
dotnet-ec2-windows-attempt-1: | ||
uses: ./.github/workflows/dotnet-ec2-windows-test.yml | ||
secrets: inherit | ||
with: | ||
aws-region: ${{ inputs.aws-region }} | ||
caller-workflow-name: ${{ inputs.caller-workflow-name }} | ||
|
||
dotnet-ec2-windows-attempt-2: | ||
needs: [ dotnet-ec2-windows-attempt-1 ] | ||
if: ${{ needs.dotnet-ec2-windows-attempt-1.outputs.job-started != 'true' }} | ||
uses: ./.github/workflows/dotnet-ec2-windows-test.yml | ||
secrets: inherit | ||
with: | ||
aws-region: ${{ inputs.aws-region }} | ||
caller-workflow-name: ${{ inputs.caller-workflow-name }} | ||
|
||
publish-metric-attempt-1: | ||
needs: [ dotnet-ec2-windows-attempt-1, dotnet-ec2-windows-attempt-2 ] | ||
if: always() | ||
uses: ./.github/workflows/enablement-test-publish-result.yml | ||
secrets: inherit | ||
with: | ||
aws-region: ${{ inputs.aws-region }} | ||
caller-workflow-name: ${{ inputs.caller-workflow-name }} | ||
validation-result: ${{ needs.dotnet-ec2-windows-attempt-1.outputs.validation-result || needs.dotnet-ec2-windows-attempt-2.outputs.validation-result }} | ||
|
||
publish-metric-attempt-2: | ||
needs: [ dotnet-ec2-windows-attempt-1, dotnet-ec2-windows-attempt-2, publish-metric-attempt-1 ] | ||
if: ${{ always() && needs.publish-metric-attempt-1.outputs.job-started != 'true' }} | ||
uses: ./.github/workflows/enablement-test-publish-result.yml | ||
secrets: inherit | ||
with: | ||
aws-region: ${{ inputs.aws-region }} | ||
caller-workflow-name: ${{ inputs.caller-workflow-name }} | ||
validation-result: ${{ needs.dotnet-ec2-windows-attempt-1.outputs.validation-result || needs.dotnet-ec2-windows-attempt-2.outputs.validation-result }} |
Oops, something went wrong.