From b1c0c2b4b4f313c1b5fa1752a622d8942cf767db Mon Sep 17 00:00:00 2001
From: lb584 <lb584@cam.ac.uk>
Date: Mon, 30 Jan 2023 14:46:01 +0000
Subject: [PATCH] experimenting with manual jobs

---
 .gitlab-ci.yml | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ed6e3c0..f6306f3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -16,7 +16,7 @@ cache:
     - venv/
 
 prepare_code:
-  when: never
+  when: manual
   image: lb584/ews_coordinator:latest
   script:
     - python3 -V  # Print out python version for debugging
@@ -50,6 +50,11 @@ prepare_code:
     - CI_PYTHON_PATH=$PYTHONPATH
     - ls ../
 
+example:
+  when: manual
+  script:
+    - CI_PYTHON_PATH="cakebar"
+
 half_fat_tests:
   when: manual
   image: lb584/ews_coordinator:latest
@@ -95,7 +100,7 @@ half_fat_epi_tests:
 
 manual_job:
   when: manual
-  needs: ["prepare_code"]
+  needs: ["example"]
 
   tags:
     - production
-- 
GitLab