use new image
-image: continuumio/miniconda3:latest # registry.gitlab.com/pymedphys/pymedphys/ci:latest
+image: registry.gitlab.com/pymedphys/pymedphys/ci:latest # continuumio/miniconda3:latest
variables:
EXTERNAL_GIT_DIR: "/external-git"
DOCKER_HOST: tcp://docker:2375
DOCKER_DRIVER: overlay2
- NEW_IMAGE_TAG: registry.gitlab.com/pymedphys/pymedphys/ci:$CI_COMMIT_REF_SLUG
services:
- docker:dind
@@ -17,7 +16,7 @@ test:
# Attempt to download the private repo `monorepo`. If access is not
# available set an env variable `RUN_PRIVATE_TESTS=no`
- cd $EXTERNAL_GIT_DIR; export RUN_PRIVATE_TESTS=yes && git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/CCA-Physics/monorepo.git || export RUN_PRIVATE_TESTS=no; cd $CI_DIR
- - bash ./scripts/gitlab-ci/01-create-env.sh
+ - bash ./scripts/gitlab-ci/01-install-pymedphys.sh
- bash ./scripts/gitlab-ci/02-check-nbstripout.sh
# Only install private packages if `RUN_PRIVATE_TESTS` is set to yes
@@ -30,3 +29,5 @@ ci-docker-build:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- docker build -t registry.gitlab.com/pymedphys/pymedphys/ci ./scripts/gitlab-ci
- docker push registry.gitlab.com/pymedphys/pymedphys/ci
+ only:
+ - master
