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

Update Build Wheels to only build once on RCs #32009

Merged
merged 1 commit into from
Jul 29, 2024

Conversation

jrmccluskey
Copy link
Contributor

When run for RCs, the workflow builds the wheels from source as well as the RC tag, doubling the run time for the workflow and running into timeouts on self-hosted runners. This change mirrors the RC logic and should only execute the source wheel build when invoked against non-RCs


Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

  • Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
  • Update CHANGES.md with noteworthy changes.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md

GitHub Actions Tests Status (on master branch)

Build python source distribution and wheels
Python tests
Java tests
Go tests

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

@github-actions github-actions bot added the build label Jul 29, 2024
@jrmccluskey
Copy link
Contributor Author

R: @damccorm @Abacn

Copy link
Contributor

Stopping reviewer notifications for this pull request: review requested by someone other than the bot, ceding control. If you'd like to restart, comment assign set of reviewers

working-directory: apache-beam-source/wheelhouse/
run: |
for file in *.whl; do
sha512sum $file > ${file}.sha512
done
shell: bash
- name: Upload wheels as artifacts
if: ${{ needs.build_source.outputs.is_rc == 0 }}
Copy link
Contributor

Choose a reason for hiding this comment

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

This does have one downside: if people are building their own beam version using this wheel, they won't get any cherry picks to the release branch.

I think that is fine though, and this seems worth it

Copy link
Contributor

@damccorm damccorm left a comment

Choose a reason for hiding this comment

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

Thanks

@jrmccluskey jrmccluskey merged commit ffae5b5 into apache:master Jul 29, 2024
3 checks passed
jrmccluskey added a commit to jrmccluskey/beam that referenced this pull request Jul 29, 2024
jrmccluskey added a commit that referenced this pull request Jul 29, 2024
jrmccluskey added a commit that referenced this pull request Jul 29, 2024
jrmccluskey added a commit that referenced this pull request Jul 29, 2024
* Revert "Update Build Wheels to only build once on RCs (#32009)"

This reverts commit ffae5b5.

* Add 8 hour timeout
damccorm pushed a commit that referenced this pull request Jul 29, 2024
…32009)" (#32015)

* Revert "Update Build Wheels to only build once on RCs (#32009) (#32010)"

This reverts commit 0a4bdc3.

* Add 8 hour timeout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants