-
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.
Add Non Prod Test Build Binaries (#249)
Merging on behalf of Seth
- Loading branch information
1 parent
a43c4c0
commit aad7644
Showing
1 changed file
with
33 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
# SPDX-License-Identifier: MIT | ||
|
||
name: NonProd Test Build Binaries Configurable | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
ContainerPostfixTag: | ||
# e.g. "ccwa_nonprod:test-${input goes here}" | ||
description: "ECR repo name and tag" | ||
required: true | ||
type: string | ||
BucketPostfixPath: | ||
# e.g. s3://<bucket>/nonprod/test/${input goes here} | ||
description: "S3 URI to upload artifacts into." | ||
required: true | ||
type: string | ||
PackageBucketPostfixPath: | ||
# e.g. s3://<bucket>/nonprod/test/${input goes here} | ||
description: "Integration tests put the MSI and PKG in a different bucket path than the binaries." | ||
required: true | ||
type: string | ||
jobs: | ||
BuildAndUpload: | ||
uses: ./.github/workflows/test-build.yml | ||
secrets: inherit | ||
permissions: | ||
id-token: write | ||
contents: read | ||
with: | ||
ContainerRepositoryNameAndTag: "ccwa_nonprod:test-${{ inputs.ContainerPostfixTag }}" | ||
BucketKey: "nonprod/test/${{ inputs.BucketPostfixPath }}" | ||
PackageBucketKey: "nonprod/test/${{ github.PackageBucketPostfixPath }}" |