Skip to content
This repository has been archived by the owner on Jul 25, 2023. It is now read-only.

Commit

Permalink
Merge pull request #191 from ajschmidt8/update-conda-env
Browse files Browse the repository at this point in the history
Update `conda` environment name for CI
  • Loading branch information
ajschmidt8 authored Jul 9, 2021
2 parents 71b5189 + 885edec commit 4163c5a
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 15 deletions.
3 changes: 0 additions & 3 deletions rapidsai-l4t/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,6 @@ RUN gpuci_conda_retry create --no-default-packages --override-channels -n rapids
"setuptools<50" \
&& sed -i 's/conda activate base/conda activate rapids/g' ~/.bashrc

# Create symlink for old scripts expecting `gdf` conda env
RUN ln -s /opt/conda/envs/rapids /opt/conda/envs/gdf

# Clean up pkgs to reduce image size and chmod for all users
RUN chmod -R ugo+w /opt/conda \
&& conda clean -tipy \
Expand Down
3 changes: 0 additions & 3 deletions rapidsai/base-runtime.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,6 @@ RUN gpuci_conda_retry create --no-default-packages --override-channels -n rapids
"setuptools<50" \
&& sed -i 's/conda activate base/conda activate rapids/g' ~/.bashrc

# Create symlink for old scripts expecting `gdf` conda env
RUN ln -s /opt/conda/envs/rapids /opt/conda/envs/gdf

# For `runtime` images install notebook env meta-pkg
#
# Once installed remove the meta-pkg so dependencies can be freely updated &
Expand Down
3 changes: 0 additions & 3 deletions rapidsai/devel-centos.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,6 @@ RUN gpuci_conda_retry create --no-default-packages --override-channels -n rapids
"setuptools<50" \
&& sed -i 's/conda activate base/conda activate rapids/g' ~/.bashrc

# Create symlink for old scripts expecting `gdf` conda env
RUN ln -s /opt/conda/envs/rapids /opt/conda/envs/gdf

# Install build/doc/notebook env meta-pkgs
#
# Once installed remove the meta-pkg so dependencies can be freely updated &
Expand Down
3 changes: 0 additions & 3 deletions rapidsai/devel.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,6 @@ RUN gpuci_conda_retry create --no-default-packages --override-channels -n rapids
"setuptools<50" \
&& sed -i 's/conda activate base/conda activate rapids/g' ~/.bashrc

# Create symlink for old scripts expecting `gdf` conda env
RUN ln -s /opt/conda/envs/rapids /opt/conda/envs/gdf

# Install build/doc/notebook env meta-pkgs
#
# Once installed remove the meta-pkg so dependencies can be freely updated &
Expand Down
3 changes: 2 additions & 1 deletion templates/ci/checks/style.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ LC_ALL=C.UTF-8
LANG=C.UTF-8

# Activate common conda env
source activate gdf
. /opt/conda/etc/profile.d/conda.sh
conda activate rapids

# Run isort and get results/return code
ISORT=`isort --recursive --check-only python`
Expand Down
3 changes: 2 additions & 1 deletion templates/ci/cpu/cpubuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ logger "Get env..."
env

logger "Activate conda env..."
source activate gdf
. /opt/conda/etc/profile.d/conda.sh
conda activate rapids

logger "Check versions..."
python --version
Expand Down
3 changes: 2 additions & 1 deletion templates/ci/gpu/gpubuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ logger "Check GPU usage..."
nvidia-smi

logger "Activate conda env..."
source activate gdf
. /opt/conda/etc/profile.d/conda.sh
conda activate rapids
##*
## EDIT: Install all build, runtime, and test dependencies
conda install |<build_dep>| |<runtime_dep>| |<test_dep>|
Expand Down

0 comments on commit 4163c5a

Please sign in to comment.