Skip to content
Snippets Groups Projects
Commit a444072f authored by Workum, Dirk-Jan van's avatar Workum, Dirk-Jan van
Browse files

fix the way micromamba base env works

parent 7e74e82f
No related branches found
No related tags found
No related merge requests found
Pipeline #82953 failed
...@@ -14,14 +14,16 @@ create_environment: ...@@ -14,14 +14,16 @@ create_environment:
stage: .pre stage: .pre
script: script:
- | - |
# Allow micromamba to edit base environment # Allow micromamba to create environments
_entrypoint.sh /bin/bash --noprofile --norc -eo pipefail _entrypoint.sh /bin/bash --noprofile --norc -eo pipefail
# Edit base environment # Create pantools environment
micromamba install --yes --strict-channel-priority --channel conda-forge --name base maven openjdk=8 python=3 pip micromamba create --yes --strict-channel-priority --name pantools --file conda.yaml
micromamba install --yes --strict-channel-priority --channel conda-forge --name pantools pip
# Install pip dependencies # Install pip dependencies
pip install sphinx sphinx-lint sphinx-rtd-theme micromamba run --name pantools \
pip install sphinx sphinx-lint sphinx-rtd-theme
# Generate info # Generate info
micromamba info micromamba info
...@@ -29,7 +31,8 @@ create_environment: ...@@ -29,7 +31,8 @@ create_environment:
compile: compile:
stage: build stage: build
script: script:
- mvn compile -Dmaven.test.skip=true - micromamba run --name pantools \
mvn compile -Dmaven.test.skip=true
artifacts: artifacts:
paths: paths:
- target/ - target/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment