-
Notifications
You must be signed in to change notification settings - Fork 213
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
merging changes from test branch on fork to test branch on parent repo
- Loading branch information
1 parent
5443951
commit eddc488
Showing
88 changed files
with
5,369 additions
and
4,375 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
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,101 @@ | ||
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
# SPDX-License-Identifier: MIT | ||
|
||
name: Build Test Artifacts | ||
on: | ||
push: | ||
branches: | ||
- main* | ||
paths-ignore: | ||
- '**/*.md' | ||
- 'NOTICE' | ||
- 'RELEASE_NOTES' | ||
- 'THIRD-PARTY' | ||
- 'LICENSE' | ||
- '.github/**' | ||
- '!.github/workflows/build-test-artifacts.yml' | ||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref_name }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
BuildAndUpload: | ||
uses: ./.github/workflows/test-build.yml | ||
secrets: inherit | ||
permissions: | ||
id-token: write | ||
contents: read | ||
with: | ||
BucketKey: "integration-test/binary/${{ github.sha }}" | ||
PackageBucketKey: "integration-test/packaging/${{ github.sha }}" | ||
TerraformAWSAssumeRole: ${{ vars.TERRAFORM_AWS_ASSUME_ROLE }} | ||
Bucket: ${{ vars.S3_INTEGRATION_BUCKET }} | ||
|
||
BuildAndUploadPackages: | ||
uses: ./.github/workflows/test-build-packages.yml | ||
needs: [BuildAndUpload] | ||
secrets: inherit | ||
permissions: | ||
id-token: write | ||
contents: read | ||
with: | ||
BucketKey: "integration-test/binary/${{ github.sha }}" | ||
PackageBucketKey: "integration-test/packaging/${{ github.sha }}" | ||
TerraformAWSAssumeRole: ${{ vars.TERRAFORM_AWS_ASSUME_ROLE }} | ||
Bucket: ${{ vars.S3_INTEGRATION_BUCKET }} | ||
|
||
BuildDocker: | ||
needs: [BuildAndUpload] | ||
uses: ./.github/workflows/test-build-docker.yml | ||
secrets: inherit | ||
permissions: | ||
id-token: write | ||
contents: read | ||
with: | ||
ContainerRepositoryNameAndTag: "cwagent-integration-test:${{ github.sha }}" | ||
BucketKey: "integration-test/binary/${{ github.sha }}" | ||
PackageBucketKey: "integration-test/packaging/${{ github.sha }}" | ||
|
||
BuildAndUploadITAR: | ||
uses: ./.github/workflows/test-build.yml | ||
secrets: inherit | ||
permissions: | ||
id-token: write | ||
contents: read | ||
with: | ||
BucketKey: "integration-test/binary/${{ github.sha }}" | ||
PackageBucketKey: "integration-test/packaging/${{ github.sha }}" | ||
Region: "us-gov-east-1" | ||
TerraformAWSAssumeRole: ${{ vars.TERRAFORM_AWS_ASSUME_ROLE_ITAR }} | ||
Bucket: ${{ vars.S3_INTEGRATION_BUCKET_ITAR }} | ||
|
||
BuildAndUploadCN: | ||
uses: ./.github/workflows/test-build.yml | ||
secrets: inherit | ||
permissions: | ||
id-token: write | ||
contents: read | ||
with: | ||
BucketKey: "integration-test/binary/${{ github.sha }}" | ||
PackageBucketKey: "integration-test/packaging/${{ github.sha }}" | ||
Region: "cn-north-1" | ||
TerraformAWSAssumeRole: ${{ vars.TERRAFORM_AWS_ASSUME_ROLE_CN }} | ||
Bucket: ${{ vars.S3_INTEGRATION_BUCKET_CN }} | ||
|
||
StartIntegrationTests: | ||
needs: [ BuildAndUploadPackages, BuildAndUploadITAR, BuildAndUploadCN, BuildDocker ] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: gh workflow run integration-test.yml --ref ${{ github.ref_name }} --repo $GITHUB_REPOSITORY -f build_run_id=${{ github.run_id }} | ||
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
StartApplicationSignalsE2ETests: | ||
needs: [ BuildAndUpload, BuildDocker ] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: gh workflow run application-signals-e2e-test.yml --ref ${{ github.ref_name }} --repo $GITHUB_REPOSITORY -f build_run_id=${{ github.run_id }} | ||
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
Oops, something went wrong.