ci: trigger packages builds only manually or with a comment#19559
Merged
kuisathaverat merged 2 commits intoelastic:masterfrom Jul 1, 2020
Merged
ci: trigger packages builds only manually or with a comment#19559kuisathaverat merged 2 commits intoelastic:masterfrom
kuisathaverat merged 2 commits intoelastic:masterfrom
Conversation
v1v
reviewed
Jul 1, 2020
|
|
||
| pipeline { | ||
| agent { label 'ubuntu && immutable' } | ||
| agent none |
Contributor
Author
There was a problem hiding this comment.
I have tested it, and it works
Contributor
Author
There was a problem hiding this comment.
However, I have launched it on the CI to test it also in the CI https://beats-ci.elastic.co/job/Beats/job/packaging/job/PR-19559/2/console, I'll merge it when it finished
This was referenced Jul 1, 2020
Merged
Merged
Merged
v1v
approved these changes
Jul 1, 2020
Contributor
kuisathaverat
commented
Jul 1, 2020
kuisathaverat
added a commit
that referenced
this pull request
Jul 1, 2020
… for the packaging job (#19546) * ci: correct upstream job * ci: filter build causes * Update .ci/packaging.groovy
kuisathaverat
added a commit
that referenced
this pull request
Jul 1, 2020
… for the packaging job (#19545) * ci: correct upstream job * ci: filter build causes * Update .ci/packaging.groovy
kuisathaverat
added a commit
that referenced
this pull request
Jul 1, 2020
… for the packaging job (#19543) * ci: correct upstream job * ci: filter build causes * Update .ci/packaging.groovy
kuisathaverat
added a commit
that referenced
this pull request
Jul 1, 2020
… for the packaging job (#19544) * ci: filter build causes * Update .ci/packaging.groovy
melchiormoulin
pushed a commit
to melchiormoulin/beats
that referenced
this pull request
Oct 14, 2020
…19559) * feat: trigger build only manually or with a comment * Update .ci/packaging.groovy
leweafan
pushed a commit
to leweafan/beats
that referenced
this pull request
Apr 28, 2023
…trigger on PRs for the packaging job (elastic#19545) * ci: correct upstream job * ci: filter build causes * Update .ci/packaging.groovy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
it puts a filter in place to avoid allocate and agent if the build is not triggered by a comment or a user.
Why is it important?
it avoids waste resources.
Checklist
[ ] My code follows the style guidelines of this project[ ] I have commented my code, particularly in hard-to-understand areas[ ] I have made corresponding changes to the documentation[ ] I have made corresponding change to the default configuration files[ ] I have added tests that prove my fix is effective or that my feature works[ ] I have added an entry inCHANGELOG.next.asciidocorCHANGELOG-developer.next.asciidoc.