Skip to content

Dotenv dry run fromuri#7

Open
Jun Aishima (JunAishima) wants to merge 28 commits intomainfrom
update-dotenv
Open

Dotenv dry run fromuri#7
Jun Aishima (JunAishima) wants to merge 28 commits intomainfrom
update-dotenv

Conversation

@JunAishima
Copy link
Copy Markdown
Contributor

@JunAishima Jun Aishima (JunAishima) commented Feb 5, 2026

use the python_dotenv library that reads in a text file and makes the key-value pairs within the file available as environment variables. This will replace using the Prefect Blocks so that only our infrastructure will hold credentials.
There is also minor refactoring so that each secret file only contains the secret that is required, and the Tiled secret is in a separate directory that can be mounted by the workflows container and only make the Tiled secret file visible.
https://jira.nsls2.bnl.gov/browse/DT1-1391

Also incorporates the dotenv change in #11 that prevents passing around the Tiled API key read from the container.secret file.

@JunAishima Jun Aishima (JunAishima) marked this pull request as ready for review February 24, 2026 15:43
 * include possibility of calling with API key value to
   better enable local testing of workflows
 * publish-ghcr and the deploy file had the local branch
   name to use for testing. change those to main for prod
 * enable running on hosts without access to our filesystems, such
   as Github action-based CI
@JunAishima Jun Aishima (JunAishima) changed the title Update dotenv Dotenv dry run fromuri Mar 9, 2026
@JunAishima Jun Aishima (JunAishima) added the HOLD FOR MAINT Do not merge until maintenance. label Mar 9, 2026
 * no need to import it from end_of_run_workflow()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

HOLD FOR MAINT Do not merge until maintenance.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant