Skip to content
Snippets Groups Projects
Commit c5394f03 authored by Thomas Kluyver's avatar Thomas Kluyver Committed by Karim Ahmed
Browse files

Try using the docker runner again

parent 350881a5
No related branches found
No related tags found
1 merge request!984Try updating to Python 3.11 & update all deps
...@@ -4,6 +4,9 @@ stages: ...@@ -4,6 +4,9 @@ stages:
- automated_test - automated_test
default: default:
image: python:3.11
tags:
- docker
before_script: before_script:
- eval $(ssh-agent -s) - eval $(ssh-agent -s)
- echo "$SSH_PRIVATE_KEY_GITLAB" | tr -d '\r' | ssh-add - - echo "$SSH_PRIVATE_KEY_GITLAB" | tr -d '\r' | ssh-add -
...@@ -16,7 +19,6 @@ default: ...@@ -16,7 +19,6 @@ default:
- ssh-keyscan -p 10022 git.xfel.eu > $CI_PROJECT_DIR/.ssh/known_hosts - ssh-keyscan -p 10022 git.xfel.eu > $CI_PROJECT_DIR/.ssh/known_hosts
- ls $CI_PROJECT_DIR/.ssh - ls $CI_PROJECT_DIR/.ssh
- echo $GIT_SSH_COMMAND - echo $GIT_SSH_COMMAND
- export PYENV_VERSION="3.11"
- python3 -m venv .venv - python3 -m venv .venv
- source .venv/bin/activate - source .venv/bin/activate
- python3 -m pip install --upgrade pip setuptools wheel - python3 -m pip install --upgrade pip setuptools wheel
...@@ -28,8 +30,6 @@ checks: ...@@ -28,8 +30,6 @@ checks:
stage: check stage: check
only: [merge_requests] only: [merge_requests]
allow_failure: true allow_failure: true
tags:
- integration
script: script:
- export PATH=/home/gitlab-runner/.local/bin:$PATH - export PATH=/home/gitlab-runner/.local/bin:$PATH
# We'd like to run the pre-commit hooks only on files that are being # We'd like to run the pre-commit hooks only on files that are being
...@@ -46,8 +46,6 @@ checks: ...@@ -46,8 +46,6 @@ checks:
pytest: pytest:
stage: test stage: test
only: [merge_requests] only: [merge_requests]
tags:
- integration
script: script:
- export LANG=C # Hopefully detect anything relying on locale - export LANG=C # Hopefully detect anything relying on locale
- python3 -m pip install ".[test]" - python3 -m pip install ".[test]"
...@@ -69,8 +67,6 @@ automated_test: ...@@ -69,8 +67,6 @@ automated_test:
only: [merge_requests] only: [merge_requests]
when: manual when: manual
allow_failure: false allow_failure: false
tags:
- integration
script: script:
- export LANG=C # Hopefully detect anything relying on locale - export LANG=C # Hopefully detect anything relying on locale
- python3 -m pip install ".[test]" - python3 -m pip install ".[test]"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment