Skip to content

Commit

Permalink
CI:: fix download micro mambda
Browse files Browse the repository at this point in the history
HZDR is blocking all `anaconda` server. If we download micromamba via
the offical link `https://micro.mamba.pm/api/micromamba/linux-64/latest`
the load balancer is sometimes pointing us to the anaconda mirrow which
is not accesible from within HZDR.

The current workaround is to pull micromamba 1.5.9 directly from github.

ci: no-compile
  • Loading branch information
psychocoderHPC committed Sep 6, 2024
1 parent b34250a commit 6784522
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion share/ci/install/pypicongpu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,11 @@ export PIC_EXAMPLES=$PICSRC/share/picongpu/examples
cd $CI_PROJECT_DIR

# use miniconda as python environment
export MAMBA_SSL_NO_REVOKE=True

apt update && apt install -y curl
cd /tmp/
curl -Ls https://micro.mamba.pm/api/micromamba/linux-64/latest | tar -xvj bin/micromamba
curl -Ls https://github.com/mamba-org/micromamba-releases/releases/download/1.5.9-0/micromamba-linux-64.tar.bz2 | tar -xvj bin/micromamba
export MAMBA_ROOT_PREFIX=/tmp/mamba-forge/
mkdir -p "${MAMBA_ROOT_PREFIX}"
eval "$(./bin/micromamba shell hook -s posix)"
Expand Down

0 comments on commit 6784522

Please sign in to comment.