Skip to content

Remove reliance on downloads.rapids.ai #549

@jameslamb

Description

@jameslamb

Description

Across RAPIDS, we are actively working on removing use of downloads.rapids.ai to store build artifacts like conda packages and wheels.

For details, see https://github.com/rapidsai/build-infra/issues/237 (private issue, sorry).

There is no immediate plan to shut down downloads.rapids.ai altogether, but that is the eventual long-term plan. At this point, you should consider downloads.rapids.ai deprecated.

Benefits of this work

  • protects against unanticipated disruptions

Acceptance Criteria

  • nothing in this project relies on downloads.rapids.ai

Approach

Look for the uses of downloads.rapids.ai here:

git grep -E 'rapids\-.*\-s3.*'
git grep -E 'downloads\.rapids'

As of this writing, there was at least 1 place where packages were being manually aws cp'd up to downloads.rapids.ai:

export DISPLAY_URL="https://downloads.rapids.ai/ci/mrc"
export ARTIFACT_ENDPOINT="/pull-request/${PR_NUM}/${GIT_COMMIT}/${REAL_ARCH}/${BUILD_CC}"
export ARTIFACT_URL="${S3_URL}${ARTIFACT_ENDPOINT}"

export DISPLAY_ARTIFACT_URL="${DISPLAY_URL}${ARTIFACT_ENDPOINT}"

function upload_artifact() {
FILE_NAME=$1
BASE_NAME=$(basename "${FILE_NAME}")
rapids-logger "Uploading artifact: ${BASE_NAME}"
if [[ "${LOCAL_CI}" == "1" ]]; then
cp ${FILE_NAME} "${LOCAL_CI_TMP}/${BASE_NAME}"
else
aws s3 cp --only-show-errors "${FILE_NAME}" "${ARTIFACT_URL}/${BASE_NAME}"
echo "- ${DISPLAY_ARTIFACT_URL}/${BASE_NAME}" >> ${GITHUB_STEP_SUMMARY}
fi
}

upload_artifact "${WORKSPACE_TMP}/conda-${REAL_ARCH}.tar.bz"

Across RAPIDS, we have been switching to the GitHub Actions artifact store, via a mix of the following:

I recommend you do something similar here.

Notes

Similar issue in Morpheus: nv-morpheus/Morpheus#2216

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions