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

airbyte-ci: Add more info about setting up GSM secrets #31713

Merged
merged 1 commit into from
Oct 24, 2023
Merged

Conversation

erohmensing
Copy link
Contributor

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

@vercel
Copy link

vercel bot commented Oct 23, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated (UTC)
airbyte-docs ⬜️ Ignored (Inspect) Oct 23, 2023 3:47pm

@@ -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."
Copy link
Contributor

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

Copy link
Contributor Author

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!

Copy link
Contributor

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.

Copy link
Contributor

@flash1293 flash1293 left a 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!

@erohmensing erohmensing merged commit 3738987 into master Oct 24, 2023
24 checks passed
@erohmensing erohmensing deleted the ella/readme branch October 24, 2023 16:44
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

3 participants