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

Use VAULT_TOKEN environment variable if it exists #45525

Merged
merged 2 commits into from
Sep 30, 2019

Conversation

mark-vieira
Copy link
Contributor

As a follow up to https://github.com/elastic/infra/pull/13780#issuecomment-521025910 we should try and use the VAULT_TOKEN passed into the build from CI when possible.

@mark-vieira mark-vieira added the :Delivery/Build Build or test infrastructure label Aug 13, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra

@mark-vieira mark-vieira requested a review from alpar-t August 13, 2019 23:13
@mark-vieira
Copy link
Contributor Author

mark-vieira commented Sep 25, 2019

This is blocked on elasticsearch/infra#13780.

@alpar-t
Copy link
Contributor

alpar-t commented Sep 26, 2019

@mark-vieira that issue number looks incorrect.
/cc @flaper87

@mark-vieira
Copy link
Contributor Author

Thanks, Alpar. I updated that.

Copy link
Contributor

@alpar-t alpar-t left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@flaper87
Copy link

thanks, I had to do this in my fork too. Was planning to send a patch but I was too slow.

lgtm

@mark-vieira
Copy link
Contributor Author

It's actually elasticsearch/infra#13907 that needs to be addressed before this. Right now this PR wouldn't actually do anything since we never set VAULT_TOKEN in CI.

@flaper87
Copy link

It's actually elastic/infra#13907 that needs to be addressed before this. Right now this PR wouldn't actually do anything since we never set VAULT_TOKEN in CI.

It won't so much but it's a step forward down the right direction. I could also use it in my Zuul tests. I had to hack it in myself but I'd rather use this patch.

@mark-vieira mark-vieira merged commit b57f2ff into elastic:master Sep 30, 2019
mark-vieira added a commit that referenced this pull request Sep 30, 2019
@mark-vieira mark-vieira deleted the vault-token-env-var branch September 30, 2019 22:21
@mark-vieira
Copy link
Contributor Author

There seems to be consensus this is worth happening so I've merged this and backported to all active branches.

@mark-vieira mark-vieira added the Team:Delivery Meta label for Delivery team label Nov 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants