Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support prod layers properly in CI #297

Merged
merged 2 commits into from
Mar 25, 2024
Merged

Support prod layers properly in CI #297

merged 2 commits into from
Mar 25, 2024

Conversation

raphael-theriault-swi
Copy link
Member

Publish prod layers to all regions and make them public. Also use the right ARN.

@raphael-theriault-swi raphael-theriault-swi requested a review from a team as a code owner March 25, 2024 20:52
Copy link
Contributor

@cheempz cheempz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM thanks @raphael-theriault-swi! Minor renaming ask.

steps:
- uses: actions/download-artifact@v4
with:
name: layer.zip
- uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ secrets.LAMBDA_PUBLISHER_ARN }}
role-to-assume: ${{ inputs.type == 'production' && secrets.LAMBDA_PROD_PUBLISHER_ARN || secrets.LAMBDA_PUBLISHER_ARN }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Naming nit--can the other ARN secret be renamed to say "stage"?

@raphael-theriault-swi
Copy link
Member Author

raphael-theriault-swi commented Mar 25, 2024

Started a test run to make sure staging builds are still working properly - and it works

@raphael-theriault-swi raphael-theriault-swi merged commit 09b7b5b into main Mar 25, 2024
41 checks passed
@raphael-theriault-swi raphael-theriault-swi deleted the NH-73786 branch March 25, 2024 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants