Repository navigation
Add workflow / recipe to generate Dask nightlies - #8469
Conversation
|
cc @jrbourbeau @quasiben (for awareness) |
| && github.ref == 'refs/heads/main' | ||
| && github.repository == 'dask/dask' | ||
| env: | ||
| ANACONDA_API_TOKEN: ${{ secrets.DASK_CONDA_TOKEN }} |
There was a problem hiding this comment.
Since we are likely going to want this for a few projects, think we can DASK_CONDA_TOKEN here:
There was a problem hiding this comment.
Should add this is what we did when setting up nightlies for Dask-SQL
|
rerun tests |
|
Thanks @charlesbluca I'll plan to merge this in on Monday morning so if we any issues come up we can address instead of over the weeekend. |
jrbourbeau
left a comment
There was a problem hiding this comment.
Thanks @charlesbluca. I left a few minor comments which are not meant to be blocking.
Also noting for others than this CI build takes ~3 minutes to run (without the upload step)
|
|
||
| jobs: | ||
| conda: | ||
| name: Build (and optionally upload) conda nightlies |
There was a problem hiding this comment.
The name that appears on PR checks, Build conda nightlies / Build (and optionally upload) conda nightlies, is fairly long. Maybe we could shorten the job name and still convey most of the overall message?
| name: Build (and optionally upload) conda nightlies | |
| name: build |
|
|
||
| package: | ||
| name: dask-core | ||
| version: {{ version }} |
There was a problem hiding this comment.
I'm curious what this version looks like
There was a problem hiding this comment.
As an example, a build from today would be version 2021.12.0a211217
| github.event_name == 'push' | ||
| && github.ref == 'refs/heads/main' | ||
| && github.repository == 'dask/dask' |
There was a problem hiding this comment.
This is uploading with every commit to main, but we're calling it a "nightly" which, to me, sounds more like a single nightly upload on a cron job. This could be too nitpicky of a point, but we might want to avoid the term "nightly" here. cc @jakirkham for thoughts on if you think this will lead to any confusion or not. Feel free to ignore this comment if you think the current setup is fine as is.
There was a problem hiding this comment.
Happy to use a different term here - would something like alpha or pre-release be less confusing?
There was a problem hiding this comment.
Yeah I don't have strong feelings on the name. We called them nightlies in Dask-SQL, but as you say that is not really accurate. Maybe snapshots?
There was a problem hiding this comment.
Eh, I'll retract my comment. Let's just stick with nightly for now. We can always update later if needed
There was a problem hiding this comment.
Yeah naming is hairy business 😅 Agree we can always follow up later 🙂
|
Thanks @jsignell for merging and @jrbourbeau for the review |
As part of addressing dask/community#76, this PR adds: - A conda recipe in `continuous_integration` to build a nightly `dask-core` package - A GHA workflow to build this nightly as a check for PRs, and upload this package to the Dask channel under the `dev` label for pushes to `main`
As part of dask/community#76 and following up on dask/dask#8469, this PR adds: - Conda recipes in `continuous_integration` to build `distributed` and `dask` pre-release packages from the Git repo - A GHA workflow to build the pre-release packages as a check for PRs, and to upload these packages to the Dask channel under the `dev` label for pushes to `main`
…#5636) As part of dask/community#76 and following up on dask/dask#8469, this PR adds: - Conda recipes in `continuous_integration` to build `distributed` and `dask` pre-release packages from the Git repo - A GHA workflow to build the pre-release packages as a check for PRs, and to upload these packages to the Dask channel under the `dev` label for pushes to `main`
As part of addressing dask/community#76, this PR adds:
continuous_integrationto build a nightlydask-corepackagedevlabel for pushes tomaincc @jakirkham
pre-commit run --all-files