WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit c69e2b6

Browse files
authored
Use strict priority in CI conda tests (#2170)
This PR sets conda to use `strict` priority in CI tests. Mixing channel priority is frequently a cause of unexpected errors. Our CI jobs should always use strict priority in order to enforce that conda packages come from local channels with the artifacts built in CI, not mixing with older nightly artifacts from the `rapidsai-nightly` channel or other sources. xref: rapidsai/build-planning#14 Authors: - Bradley Dice (https://github.com/bdice) Approvers: - James Lamb (https://github.com/jameslamb) URL: #2170
1 parent b914ee3 commit c69e2b6

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

ci/build_docs.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ rapids-logger "Create test conda environment"
1212

1313
. /opt/conda/etc/profile.d/conda.sh
1414

15+
rapids-logger "Configuring conda strict channel priority"
16+
conda config --set channel_priority strict
17+
1518
RAPIDS_VERSION_MAJOR_MINOR="$(rapids-version-major-minor)"
1619
export RAPIDS_VERSION_MAJOR_MINOR
1720

ci/check_style.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ rapids-logger "Create checks conda environment"
88

99
. /opt/conda/etc/profile.d/conda.sh
1010

11+
rapids-logger "Configuring conda strict channel priority"
12+
conda config --set channel_priority strict
13+
1114
rapids-dependency-file-generator \
1215
--output conda \
1316
--file-key checks \

0 commit comments

Comments
 (0)