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

Allow the witness identities to be provided as flags #77

Merged
merged 2 commits into from
Jan 31, 2024

Conversation

mhutchinson
Copy link
Contributor

This will allow us to easily configure the CI and dev environments from CloudRun. The configuration file option cannot be used because of the nature of cloud run not having a file system. The other option would be to allow the config file to be read from a URL, or GCS, but this option is cleaner.

Also fixed a bug where it was always parsing the built-in configuration
instead of whatever was provided at runtime.

This will allow us to easily configure the CI and dev environments from CloudRun. The configuration file option cannot be used because of the nature of cloud run not having a file system. The other option would be to allow the config file to be read from a URL, or GCS, but this option is cleaner.

Also fixed a bug where it was always parsing the built-in configuration
instead of whatever was provided at runtime.
@mhutchinson mhutchinson requested a review from AlCutter January 31, 2024 11:13
@AlCutter
Copy link
Contributor

I imagine this will have some scale limits due to command line size limits, but given it's only for dev & CI it should be more than enough.

@mhutchinson mhutchinson merged commit 434e791 into transparency-dev:main Jan 31, 2024
3 checks passed
@mhutchinson mhutchinson deleted the witflags branch January 31, 2024 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants