Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master-2.0' into images-refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathis Marcotte committed Apr 3, 2024
2 parents f75a2ee + 4a0f7f8 commit a4ad92c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dockerfiles/jupyterlab/start-custom.sh
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,8 @@ fi
# Retrieve service account details
serviceaccountname=`kubectl get secret artifactory-creds -n $NB_NAMESPACE --template={{.data.Username}} | base64 --decode`
serviceaccounttoken=`kubectl get secret artifactory-creds -n $NB_NAMESPACE --template={{.data.Token}} | base64 --decode`
conda config --add channels https://$serviceaccountname:$serviceaccounttoken@artifactory.cloud.statcan.ca/artifactory/https://artifactory.cloud.statcan.ca/artifactory/rpug-conda/
conda config --add channels https://$serviceaccountname:$serviceaccounttoken@artifactory.cloud.statcan.ca/artifactory/rpug-conda/
conda config --remove channels 'defaults'

pip config set global.index-url https://$serviceaccountname:$serviceaccounttoken@artifactory.cloud.statcan.ca/artifactory/pypi-remote/

Expand Down

0 comments on commit a4ad92c

Please sign in to comment.