From f1527a4652ff45bc0a258aaa80d42a7db033a05a Mon Sep 17 00:00:00 2001
From: Thomas Kluyver <thomas.kluyver@xfel.eu>
Date: Fri, 5 Jul 2024 13:43:36 +0100
Subject: [PATCH] Try running CI in existing executors

---
 .gitlab-ci.yml | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 706c5677f..c86d9f259 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -4,9 +4,6 @@ stages:
   - automated_test
 
 default:
-  image: python:3.11
-  tags:
-    - docker
   before_script:
     - eval $(ssh-agent -s)
     - echo "$SSH_PRIVATE_KEY_GITLAB" | tr -d '\r' | ssh-add -
@@ -19,6 +16,7 @@ default:
     - ssh-keyscan -p 10022 git.xfel.eu > $CI_PROJECT_DIR/.ssh/known_hosts
     - ls  $CI_PROJECT_DIR/.ssh
     - echo $GIT_SSH_COMMAND
+    - export PYENV_VERSION="3.11"
     - python3 -m venv .venv
     - source .venv/bin/activate
     - python3 -m pip install --upgrade pip setuptools wheel
-- 
GitLab