Skip to content

docker repo overhaul - #545

Merged
raydouglass merged 77 commits into
rapidsai:branch-23.08-overhaulfrom
raydouglass:overhaul
Jul 25, 2023
Merged

raydouglass merged 77 commits into
rapidsai:branch-23.08-overhaulfrom
raydouglass:overhaul

Conversation

@raydouglass

@raydouglass raydouglass commented Apr 17, 2023 •

Copy link
Copy Markdown
Contributor

Closes #539

This PR overhauls the docker according to #539.

Multi-arch builds inspired from rapidsai/miniforge-cuda#31

Note: this PR merges into branch-23.08-overhaul instead of branch-23.08. branch-23.08-overhaul was manually created to remove the vast majority of the repo. Merging this PR into that branch shows more obvious changes instead of a long list of deleted files.

To-do:

  • Handle uploading nightlies with alpha version tag
  • main builds should clean up condarc
  • Add tests
  • Test all notebooks (not just cudf)

Follow up PRs:

  • Dockerhub/NGC readme updater
  • Enable nightly tests
  • Remove required up-to-date status check
  • Merge branch-23.08-overhaul into branch-23.08
  • Add style checking (docker repo overhaul #545 (comment))

@raydouglass raydouglass self-assigned this Apr 17, 2023

@ajschmidt8 ajschmidt8 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.

Nice!

This is a good start. I still have to give it a more thorough review.

In the meantime, I noticed some bash flag inconsistencies that we should probably normalize.

Comment thread ci/build_and_tag_images.sh Resolved
Comment thread Dockerfile Resolved
Comment thread Dockerfile Resolved
@raydouglass

Copy link
Copy Markdown
Contributor Author

dask-sql is looking into supporting nightlies for arm64: dask-contrib/dask-sql#1144

rapids-bot Bot pushed a commit to rapidsai/cugraph that referenced this pull request Jul 19, 2023
This PR reorders the channels to be compatible with other RAPIDS libs.

#3693 added two new channels, but they were ordered differently than [other libraries](https://github.com/rapidsai/cudf/blob/branch-23.08/dependencies.yaml#L163-L169). This caused [an error](https://github.com/rapidsai/docker/actions/runs/5591817313/jobs/10223438072?pr=545#step:10:349) in the `conda-merge` script in rapidsai/docker#545.

It's also worth noting that docker overhaul requiring the channel ordering being consistent across libraries' `dependencies.yaml` seems very fragile and will undoubtedly cause more issues down the line. Curious if anyone has thoughts on making this more reliable.

Authors:
  - Ray Douglass (https://github.com/raydouglass)

Approvers:
  - AJ Schmidt (https://github.com/ajschmidt8)
  - Bradley Dice (https://github.com/bdice)

URL: #3721
1. LINUX_VER is now tied to the CUDA_VER
2. LINUX_VER is removed from the image tag
Comment thread matrix.yaml Resolved

@bdice bdice left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Re-approving with latest changes since my last review. Let's ship it! 🚢

@vyasr vyasr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Some minor thoughts, but nothing worth blocking over. Thanks Ray!

Comment thread .github/workflows/build-image.yml Resolved
Comment thread .github/workflows/test-image.yml Resolved
Comment thread .github/workflows/test-image.yml Resolved
Comment thread Dockerfile Resolved
Comment thread ci/release/update-version.sh Resolved
Comment thread context/entrypoint.sh

if [ -e "/home/rapids/environment.yml" ]; then
echo "environment.yml found. Installing packages"
timeout ${CONDA_TIMEOUT:-600} mamba env update -n base -f /home/rapids/environment.yml || exit $?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I'm OK waiting to do that in a follow-up

Comment thread context/notebooks.sh Resolved
Comment thread .github/workflows/test-image.yml Resolved
Comment thread Dockerfile Resolved

@ajschmidt8 ajschmidt8 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.

I think this is the last of my comments

Comment thread .github/workflows/test-notebooks.yml Resolved
Comment thread CONTRIBUTING.md Resolved
Comment thread Dockerfile Resolved

@jakirkham jakirkham 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 Ray! 🙏

Couple minor suggestions. Really nice to see all the improvements here

Comment thread CONTRIBUTING.md Resolved
Comment thread README.md Resolved
Comment thread context/condarc Resolved
@raydouglass
raydouglass merged commit f39c648 into rapidsai:branch-23.08-overhaul Jul 25, 2023
rapids-bot Bot pushed a commit that referenced this pull request Nov 17, 2026
Closes #775

Notebook test uploads have been running here for at least 3 years (the blame stops at #545). As far as I know, nothing depends on those and no one looks at them.

#775 mentioned switching from `downloads.rapids.ai` to GitHub Actions artifacts but I think we should just fully rip this stuff out. It'd be easy to put back if we realize something needs it.

Authors:
  - James Lamb (https://github.com/jameslamb)

Approvers:
  - Gil Forsyth (https://github.com/gforsyth)

URL: #932
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.

7 participants