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

Update builds to use --env options #118

Merged
merged 1 commit into from
Aug 25, 2023
Merged

Conversation

joverlee521
Copy link
Contributor

@joverlee521 joverlee521 commented Aug 24, 2023

Description of proposed changes

Better to be explicit about which envvars are being passed to runtimes rather than rely on the automatic variables passed through.

The upload workflow requires the rethinkdb secrets to access Fauna and the AWS secrets to upload files to S3.

The public and private builds just need the AWS secrets to launch jobs on AWS Batch and to download files from S3.

These are all GitHub Action secrets that are being inherited by the reusable workflow and available as envvars in the GitHub Action job.

Related issue(s)

Follow up on #111, following @tsibley's recommendation to be explicit about envvars.

Testing

Better to be explicit about which envvars are being passed to runtimes
rather than rely on the automatic variables passed through.

The upload workflow requires the rethinkdb secrets to access Fauna
and the AWS secrets to upload files to S3.

The public and private builds just need the AWS secrets to launch jobs
on AWS Batch and to download files from S3.

These are all GitHub Action secrets that are being inherited by the
reusable workflow and available as envvars in the GitHub Action job.
Copy link
Contributor

@huddlej huddlej left a comment

Choose a reason for hiding this comment

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

Good call!

@joverlee521 joverlee521 merged commit 8621068 into master Aug 25, 2023
14 checks passed
@joverlee521 joverlee521 deleted the update-workflow-envvar branch August 25, 2023 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

2 participants