Skip to content

Add workflow / recipe to generate Dask nightlies - #8469

Merged
jsignell merged 8 commits into
dask:mainfrom
charlesbluca:dask-nightlies
Dec 20, 2021
Merged

jsignell merged 8 commits into
dask:mainfrom
charlesbluca:dask-nightlies

Conversation

@charlesbluca

@charlesbluca charlesbluca commented Dec 9, 2021 •

Copy link
Copy Markdown
Member

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

cc @jakirkham

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

@jakirkham

Copy link
Copy Markdown
Member

cc @jrbourbeau @quasiben (for awareness)

&& github.ref == 'refs/heads/main'
&& github.repository == 'dask/dask'
env:
ANACONDA_API_TOKEN: ${{ secrets.DASK_CONDA_TOKEN }}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Since we are likely going to want this for a few projects, think we can DASK_CONDA_TOKEN here:

https://github.com/organizations/dask/settings/secrets/actions

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Should add this is what we did when setting up nightlies for Dask-SQL

Comment thread continuous_integration/recipe/meta.yaml Resolved
@jakirkham

Copy link
Copy Markdown
Member

rerun tests

@quasiben

Copy link
Copy Markdown
Member

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 jrbourbeau left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

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)

Comment thread .github/workflows/conda.yml Outdated

jobs:
conda:
name: Build (and optionally upload) conda nightlies

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

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?

Suggested change
name: Build (and optionally upload) conda nightlies
name: build

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Maybe "Build (and upload)"?


package:
name: dask-core
version: {{ version }}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I'm curious what this version looks like

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

As an example, a build from today would be version 2021.12.0a211217

Comment on lines +50 to +52
github.event_name == 'push'
&& github.ref == 'refs/heads/main'
&& github.repository == 'dask/dask'

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

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.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Happy to use a different term here - would something like alpha or pre-release be less confusing?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

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?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Eh, I'll retract my comment. Let's just stick with nightly for now. We can always update later if needed

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Yeah naming is hairy business 😅 Agree we can always follow up later 🙂

@jsignell
jsignell merged commit 7d1a02c into dask:main Dec 20, 2021
@quasiben

Copy link
Copy Markdown
Member

Thanks @jsignell for merging and @jrbourbeau for the review

aeisenbarth pushed a commit to aeisenbarth/dask that referenced this pull request Jan 6, 2022
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`
jsignell pushed a commit to dask/distributed that referenced this pull request Jan 31, 2022
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`
gjoseph92 pushed a commit to gjoseph92/distributed that referenced this pull request Feb 1, 2022
…#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`
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.

5 participants