-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
airbyte-ci: Add more info about setting up GSM secrets #31713
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
@@ -105,7 +105,7 @@ def validate_environment(is_local: bool, use_remote_secrets: bool): | |||
raise click.UsageError(f"When running in a CI context a {required_env_var} environment variable must be set.") | |||
if use_remote_secrets and os.getenv("GCP_GSM_CREDENTIALS") is None: | |||
raise click.UsageError( | |||
"You have to set the GCP_GSM_CREDENTIALS if you want to download secrets from GSM. Set the --use-remote-secrets option to false otherwise." | |||
"You have to set the GCP_GSM_CREDENTIALS if you want to download secrets from GSM. See README for instructions ('Setting up connector secrets access'). Set the --use-remote-secrets option to false otherwise." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📚 We could go as far as providing a link directly. But this seems more than enough!
Good call updating the error message
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I figured a link in a CLI which won't turn it into an actual link (will stay full url) is kind of annoying. But I could be wrong!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess it depends on your terminal, but in iterm2 you can cmd+click urls which I do all the time so it would be a nice touch. However, I would have searched for Setting up connector secrets access
in the repo based on this message and it would have turned up the right thing as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for making it easier to use these tools!
Add more info about setting up secrets right after airbyte ci setup - most people running airbyte ci probably want to do this.
From slack thread