Repository navigation
[improve][CI] Optimize "Pulsar Bot" workflow - #17491
Merged
Merged
Conversation
nicoloboschi
approved these changes
Sep 6, 2022
tisonkun
approved these changes
Sep 6, 2022
tisonkun
left a comment
Member
There was a problem hiding this comment.
move the filter from the build step to the build job
Good catch!
|
@lhotari Please provide a correct documentation label for your PR. |
Member
|
The docbot-related issue should be resolved by apache/pulsar-test-infra#69. You can help on reviewing it. |
HQebupt
approved these changes
Sep 6, 2022
lhotari
force-pushed
the
lh-optimize-pulsarbot-workflow
branch
from
September 7, 2022 05:18
8aab737 to
ca18594
Compare
liangyuanpeng
approved these changes
Sep 7, 2022
- move the filter from the build step to the build job - only start the build job if the comment includes "/pulsarbot" - no need to checkout code - no need to run the tune VM action
Technoboy-
force-pushed
the
lh-optimize-pulsarbot-workflow
branch
from
September 8, 2022 02:33
ca18594 to
5115061
Compare
nicoloboschi
pushed a commit
to nicoloboschi/pulsar
that referenced
this pull request
Sep 8, 2022
- move the filter from the build step to the build job - only start the build job if the comment includes "/pulsarbot" - no need to checkout code - no need to run the tune VM action
nicoloboschi
pushed a commit
that referenced
this pull request
Sep 9, 2022
- move the filter from the build step to the build job - only start the build job if the comment includes "/pulsarbot" - no need to checkout code - no need to run the tune VM action (cherry picked from commit 730b488)
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.
Motivation
Currently build jobs in the "Pulsar Bot" workflow will get triggered for all issue/PR comments. This wastes resources since the build jobs will get added to the build queue and this consumes quota.
The "Pulsar Bot" workflow can be optimized to save CI resources.
Modifications
move the filter from the build step to the build job
no need to checkout code
no need to run the tune VM action
doc-not-needed