From f7d885ca7193b8ebeead1a2ad840f364904c3962 Mon Sep 17 00:00:00 2001
From: "M. Driver" <mdd31@cantab.ac.uk>
Date: Sun, 10 Oct 2021 22:34:33 +0200
Subject: [PATCH] update package clone commands.

---
 .gitlab-ci.yml | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 52527d5..4034ff4 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -14,25 +14,25 @@ before_script:
   - apt-get -y install -f openjdk-11-jre-headless texlive-latex-extra dvipng
   - conda env create -f environment.yml
   - source activate resultsanalysis
-  - conda install -c conda-forge phasexmlparser
+  - conda install -c conda-forge phasexmlparser phasexmlcreator
   - ls
   - cd ../
   - if [[ ! -d 'resultsanalysis' ]]; then git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.developers.cam.ac.uk/ch/hunter/ssiptools/utils/resultsanalysis.git; fi
   - cd resultsanalysis
   - pip install .
   - cd ../
-  - if [[ -d 'phasexmlcreator' ]]; then rm -r phasexmlcreator; fi
-  - git clone git@gitlab.developers.cam.ac.uk/ch/hunter/ssiptools/ssimpleapps/phasexmlcreator.git
+  - if [[ i! -d 'phasexmlcreator' ]]; then rm -r phasexmlcreator; fi
+  - git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.developers.cam.ac.uk/ch/hunter/ssiptools/ssimpleapps/phasexmlcreator.git
   - cd phasexmlcreator
   - pip install .
   - cd ../
   - if [[ -d 'puresolventinformation' ]]; then rm -r puresolventinformation; fi
-  - git clone git@gitlab.developers.cam.ac.uk/ch/hunter/ssiptools/ssimpleapps/puresolventinformation.git
+  - git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.developers.cam.ac.uk/ch/hunter/ssiptools/ssimpleapps/puresolventinformation.git
   - cd puresolventinformation
   - pip install .
   - cd ../
   - if [[ -d 'solventmapcreator' ]]; then rm -r solventmapcreator; fi
-  - git clone git@gitlab.developers.cam.ac.uk:ch/hunter/ssiptools/ssimpleapps/solventmapcreator.git
+  - git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.developers.cam.ac.uk/ch/hunter/ssiptools/ssimpleapps/solventmapcreator.git
   - cd solventmapcreator
   - pip install . --no-deps
   - cd ../phasecalculator
-- 
GitLab