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

[java templates] build.sh should detect sample-secrets #904

Closed
chingor13 opened this issue Jan 14, 2021 · 0 comments · Fixed by #998
Closed

[java templates] build.sh should detect sample-secrets #904

chingor13 opened this issue Jan 14, 2021 · 0 comments · Fixed by #998
Assignees
Labels
lang: java Issues specific to Java. samples Issues that are directly related to samples. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@chingor13
Copy link
Contributor

Many libraries use secrets from secret manager for samples. We source a file in bash which loads environment variables from a secret file.

Example: https://github.com/googleapis/java-bigquerystorage/blob/031655be10038a25dcd6285166fc3269599df525/.kokoro/build.sh#L81-L84

We should generalize this (look for all -samples-secrets files) so maintainers do not need to customize build.sh and ignore the common templates.

@chingor13 chingor13 added the type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. label Jan 14, 2021
@product-auto-label product-auto-label bot added the samples Issues that are directly related to samples. label Jan 14, 2021
@chingor13 chingor13 added the lang: java Issues specific to Java. label Jan 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lang: java Issues specific to Java. samples Issues that are directly related to samples. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants