Skip to content

Commit

Permalink
make conda installs in CI stricter (#106)
Browse files Browse the repository at this point in the history
Contributes to rapidsai/build-planning#106

Proposes specifying the package version in `conda install` calls that install CI artifacts, to reduce the risk of CI jobs picking up artifacts from other releases.

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

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

URL: #106
  • Loading branch information
jameslamb authored Oct 28, 2024
1 parent b44e2cb commit 63536f4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ci/test_conda.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ set -euo pipefail

conda config --set channel_priority strict

VERSION="$(head -1 pynvjitlink/VERSION)"

rapids-logger "Install testing dependencies"

ENV_YAML_DIR="$(mktemp -d)"
Expand All @@ -31,7 +33,7 @@ rapids-print-env

rapids-mamba-retry install \
--channel "${PYTHON_CHANNEL}" \
pynvjitlink
"pynvjitlink=${VERSION}"

rapids-logger "Build Tests"
pushd test_binary_generation
Expand Down

0 comments on commit 63536f4

Please sign in to comment.