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

Build nightlies on tag releases #11014

Merged
merged 2 commits into from
Apr 1, 2024
Merged

Conversation

charlesbluca
Copy link
Member

Since Distributed's conda build CI is dependent on dask-core nightlies for the upcoming release being present, make sure those are always available by also publishing on tag creation (i.e. release).

Plays a role in unblocking dask/dask-expr#986, where this issue is present.

  • Closes #xxxx
  • Tests added / passed
  • Passes pre-commit run --all-files

Copy link
Contributor

github-actions bot commented Mar 20, 2024

Unit Test Results

See test report for an extended history of previous test failures. This is useful for diagnosing flaky tests.

     15 files  ±0       15 suites  ±0   3h 17m 44s ⏱️ +43s
 13 107 tests ±0   12 177 ✅ ±0     930 💤 ±0  0 ❌ ±0 
162 263 runs  ±0  142 123 ✅ +2  20 140 💤  - 2  0 ❌ ±0 

Results for commit cb90488. ± Comparison against base commit b663dca.

♻️ This comment has been updated with latest results.

github.event_name == 'push'
&& github.ref == 'refs/heads/main'
&& github.repository == 'dask/dask'
if: github.event_name == 'push' && github.repository == 'dask/dask'
Copy link
Member

Choose a reason for hiding this comment

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

Does this condition mean we don't push a new package on tags?

Copy link
Member Author

Choose a reason for hiding this comment

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

Checking the docs for push events, it looks like they cover both pushed tags and commits:

https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#push

The main change here is removing the check on github.ref, which would've made it so packages would only get updated on pushed commits, and essentially is just a repetition of the on.push condition we have set:

on:
push:
branches:
- main

Copy link
Member

Choose a reason for hiding this comment

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

Okay, sounds good. Thanks for checking

Copy link
Member

@jrbourbeau jrbourbeau left a comment

Choose a reason for hiding this comment

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

Happy to merge this after CI finishes

@jrbourbeau jrbourbeau merged commit 5322cc0 into dask:main Apr 1, 2024
28 of 29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants