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

HDDS-4995. Skip CI for draft pull requests #2060

Merged
merged 2 commits into from Mar 30, 2021
Merged

Conversation

adoroszlai
Copy link
Contributor

@adoroszlai adoroszlai commented Mar 18, 2021

What changes were proposed in this pull request?

Github pull requests can be created as (or converted to) draft. This is useful for gathering early feedback from other contributors about proof-of-concept code. Such code may not even compile, and style issues are usually ignored.

Since further commits are generally expected in this case, I think it makes sense to skip CI build/test until the PR is marked as "ready for review". The goal is to save CI cycles for other issues.

If CI feedback is desired, the author should enable workflows in their fork so we can check push builds there.

https://issues.apache.org/jira/browse/HDDS-4995

How was this patch tested?

Tested with a draft PR in my fork: adoroszlai#12

Builds:

Also with this PR:

@adoroszlai adoroszlai self-assigned this Mar 18, 2021
@adoroszlai adoroszlai marked this pull request as ready for review March 18, 2021 19:06
Copy link
Contributor

@dineshchitlangia dineshchitlangia left a comment

Choose a reason for hiding this comment

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

Overall, LGTM.
Minor comment inline.

@adoroszlai adoroszlai marked this pull request as draft March 19, 2021 17:25
@adoroszlai adoroszlai requested a review from elek March 23, 2021 09:29
@adoroszlai adoroszlai added the build Pull request that modifies the build process label Mar 24, 2021
@mukul1987 mukul1987 force-pushed the master branch 2 times, most recently from 79a9d39 to 520ba00 Compare March 25, 2021 16:05
@adoroszlai adoroszlai marked this pull request as ready for review March 26, 2021 07:49
@mukul1987
Copy link
Contributor

@adoroszlai , how can github actions be enabled on forks ?

@adoroszlai
Copy link
Contributor Author

adoroszlai commented Mar 26, 2021

how can github actions be enabled on forks ?

@mukul1987 https://github.com/mukul1987/hadoop-ozone/actions/workflows/post-commit.yml - I think you as repo owner should see a button: "Enable workflow".

Copy link
Member

@elek elek left a comment

Choose a reason for hiding this comment

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

+1, thanks for the improvement @adoroszlai

Apache organization has a shared github actions pool (180 executors AFAIK) for all the Apache projects, we need to minimize the action executions when it's reasonable....

@elek elek merged commit 685ff3f into apache:master Mar 30, 2021
@adoroszlai adoroszlai deleted the HDDS-4995 branch April 7, 2021 12:17
@adoroszlai
Copy link
Contributor Author

Thanks @dineshchitlangia and @elek for the review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Pull request that modifies the build process
Projects
None yet
4 participants