Skip to content

Commit

Permalink
Add Non Prod Test Build Binaries (#249)
Browse files Browse the repository at this point in the history
Merging on behalf of Seth
  • Loading branch information
sethAmazon authored Jun 21, 2023
1 parent a43c4c0 commit aad7644
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/configurable-nonprod-test.yml
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 }}"

0 comments on commit aad7644

Please sign in to comment.