-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[CI] Fix issues related to publish #183393
Conversation
Pinging @elastic/kibana-operations (Team:Operations) |
Also: https://buildkite.com/elastic/kibana-artifacts-staging/builds/3517#018f7711-5364-43b2-9f79-d6927dfc0d22 this is a 8.14 run that logs that the credentials were retrieved successfully. |
… branch, and fails on redeploys
💚 Build Succeeded
Metrics [docs]Canvas Sharable Runtime
History
To update your PR or re-run it, just comment with: |
## Summary On the new infra, the publish step will still require legacy vault credentials and login. (https://buildkite.com/elastic/kibana-artifacts-staging/builds/3513#018f7691-73c8-4e6f-862b-328b05d9de3b) As a fix: this PR digs up the credentials from the vault instead of gcloud secrets on the new infra. Also, other usages of role-id/secret-id is used are moved in the legacy-vault usages, plus minor code re-org, to reduce branching, and future cleanup. (cherry picked from commit 05fce3b)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
# Backport This will backport the following commits from `main` to `8.14`: - [[CI] Fix issues related to publish (#183393)](#183393) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Alex Szabo","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-05-15T07:42:42Z","message":"[CI] Fix issues related to publish (#183393)\n\n## Summary\r\nOn the new infra, the publish step will still require legacy vault\r\ncredentials and login.\r\n(https://buildkite.com/elastic/kibana-artifacts-staging/builds/3513#018f7691-73c8-4e6f-862b-328b05d9de3b)\r\n\r\nAs a fix: this PR digs up the credentials from the vault instead of\r\ngcloud secrets on the new infra.\r\n\r\nAlso, other usages of role-id/secret-id is used are moved in the\r\nlegacy-vault usages, plus minor code re-org, to reduce branching, and\r\nfuture cleanup.","sha":"05fce3b4badb0ed5abc7cfab0e529dd8a39e2827","branchLabelMapping":{"^v8.15.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","backport:prev-minor","ci:cloud-deploy","ci:project-deploy-elasticsearch","v8.15.0"],"title":"[CI] Fix issues related to publish","number":183393,"url":"https://github.com/elastic/kibana/pull/183393","mergeCommit":{"message":"[CI] Fix issues related to publish (#183393)\n\n## Summary\r\nOn the new infra, the publish step will still require legacy vault\r\ncredentials and login.\r\n(https://buildkite.com/elastic/kibana-artifacts-staging/builds/3513#018f7691-73c8-4e6f-862b-328b05d9de3b)\r\n\r\nAs a fix: this PR digs up the credentials from the vault instead of\r\ngcloud secrets on the new infra.\r\n\r\nAlso, other usages of role-id/secret-id is used are moved in the\r\nlegacy-vault usages, plus minor code re-org, to reduce branching, and\r\nfuture cleanup.","sha":"05fce3b4badb0ed5abc7cfab0e529dd8a39e2827"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.15.0","branchLabelMappingKey":"^v8.15.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/183393","number":183393,"mergeCommit":{"message":"[CI] Fix issues related to publish (#183393)\n\n## Summary\r\nOn the new infra, the publish step will still require legacy vault\r\ncredentials and login.\r\n(https://buildkite.com/elastic/kibana-artifacts-staging/builds/3513#018f7691-73c8-4e6f-862b-328b05d9de3b)\r\n\r\nAs a fix: this PR digs up the credentials from the vault instead of\r\ngcloud secrets on the new infra.\r\n\r\nAlso, other usages of role-id/secret-id is used are moved in the\r\nlegacy-vault usages, plus minor code re-org, to reduce branching, and\r\nfuture cleanup.","sha":"05fce3b4badb0ed5abc7cfab0e529dd8a39e2827"}}]}] BACKPORT--> Co-authored-by: Alex Szabo <[email protected]>
💔 All backports failed
Manual backportTo create the backport manually run:
Questions ?Please refer to the Backport tool documentation |
## Summary On the new infra, the publish step will still require legacy vault credentials and login. (https://buildkite.com/elastic/kibana-artifacts-staging/builds/3513#018f7691-73c8-4e6f-862b-328b05d9de3b) As a fix: this PR digs up the credentials from the vault instead of gcloud secrets on the new infra. Also, other usages of role-id/secret-id is used are moved in the legacy-vault usages, plus minor code re-org, to reduce branching, and future cleanup. (cherry picked from commit 05fce3b) # Conflicts: # .buildkite/scripts/steps/cloud/build_and_deploy.sh # .buildkite/scripts/steps/serverless/deploy.sh
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
# Backport This will backport the following commits from `main` to `7.17`: - [[CI] Fix issues related to publish (#183393)](#183393) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport)
## Summary On the new infra, the publish step will still require legacy vault credentials and login. (https://buildkite.com/elastic/kibana-artifacts-staging/builds/3513#018f7691-73c8-4e6f-862b-328b05d9de3b) As a fix: this PR digs up the credentials from the vault instead of gcloud secrets on the new infra. Also, other usages of role-id/secret-id is used are moved in the legacy-vault usages, plus minor code re-org, to reduce branching, and future cleanup. (cherry picked from commit 05fce3b) # Conflicts: # .buildkite/scripts/steps/serverless/build_and_deploy.sh
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
# Backport This will backport the following commits from `main` to `8.13`: - [[CI] Fix issues related to publish (#183393)](#183393) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport)
…83547) # Backport This will backport the following commits from `main` to `7.17`: - [[CI] Fix issues related to publish (elastic#183393)](elastic#183393) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport)
Summary
On the new infra, the publish step will still require legacy vault credentials and login. (https://buildkite.com/elastic/kibana-artifacts-staging/builds/3513#018f7691-73c8-4e6f-862b-328b05d9de3b)
As a fix: this PR digs up the credentials from the vault instead of gcloud secrets on the new infra.
Also, other usages of role-id/secret-id is used are moved in the legacy-vault usages, plus minor code re-org, to reduce branching, and future cleanup.
Fix after: #182582