ccao-data / actions

GitHub Actions for CCAO Data projects
0 stars 0 forks source link

Add `container_env_vars` input value for non-sensitive variables #21

Closed jeancochrane closed 5 months ago

jeancochrane commented 5 months ago

This PR updates the build-and-run-batch-job workflow to add inputs.container_env_vars as an alternative version of secrets.CONTAINER_ENV_VARS whose values will not be masked. This resolves #20 and allows us to prevent env var values that contain common strings from masking the CloudWatch logs link that gets printed by the workflow.

This change was tested in https://github.com/ccao-data/model-res-avm/pull/184, and you can see in the workflow run logs that AWS_SNS_ARN_MODEL_STATUS is the only value that gets masked in the logs.

The condo workflow currently does not include any non-sensitive env vars, so there's no need to update that repo just yet.

Closes #20.