bk: run faster builds#19006
Conversation
mrodm
left a comment
There was a problem hiding this comment.
Adding this plugin looks really interesting!
Thanks!
Maybe it could be added to some other steps in the pipeline.
| paths: | ||
| - .buildkite | ||
| - .go-version |
There was a problem hiding this comment.
Just to double check, is this plugin just used in the initial "Upload pipeline" step ?
I've triggered a Buildkite build to test this: https://buildkite.com/elastic/integrations/builds/42865
But I guess this is just applied once this PR is merged, so that build did not test anything does 😅
There was a problem hiding this comment.
is this plugin just used in the initial "Upload pipeline" step ?
Yes, I've tested it already at https://buildkite.com/elastic/integrations/builds/42859 since I applied the changes manually
But I guess this is just applied once this PR is merged, so that build did not test anything does
correct
There was a problem hiding this comment.
Comparing with this other build: https://buildkite.com/elastic/integrations/builds/42832 1m7s vs 5s
This is a really good improvement, thanks!
|
@v1v Just testing to create a Pull Request adding this plugin into more steps and pipelines , it looks like it could cause issues for those Pull Requests created with branches that start with the merge commit of this PR. Errors seen: Post-checkout hook in this repository merges I tried to use git merge --no-edit --allow-unrelated-histories "${BUILDKITE_COMMIT}"I did two tests:
Context:
I think this PR should be reverted to check how to apply this change taking into account this. |
Proposed commit message
Checkout faster when running the loading bk pipeline defined in the catalog-info
Using the spare checkout for the .buildkite folder and the .go-version file
Checklist
changelog.ymlfile.Author's Checklist
How to test this PR locally
Related issues
Screenshots