From 39ff92b71d8eeb9e89455816121e322047851090 Mon Sep 17 00:00:00 2001 From: Bastien Le Querrec <blq@laquadrature.net> Date: Tue, 19 Mar 2024 20:31:31 +0100 Subject: [PATCH] ci: active pref38 --- .gitlab-ci.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c688537..9b1f2aa 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -129,6 +129,34 @@ test_pref35: - output.log expire_in: 1 hour +test_pref38: + stage: test + image: registry.git.laquadrature.net/bastien/raaspotter/base:latest + tags: + - unprivileged + needs: [install] + script: + - curl --silent --location --output artifacts.zip "${CI_SERVER_PROTOCOL}://${CI_SERVER_HOST}:${CI_SERVER_PORT}/api/v4/projects/${CI_PROJECT_ID}/jobs/artifacts/${CI_COMMIT_BRANCH}/download?job=${CI_JOB_NAME}&job_token=${CI_JOB_TOKEN}" || true + - unzip -q artifacts.zip data/pref38/* || true + - rm artifacts.zip || true + - source bin/activate + - /etc/init.d/tor start + - python ./cli.py --pref pref38 + retry: 2 + only: + - main + cache: + key: $CI_COMMIT_REF_SLUG + paths: + - bin/ + - lib/ + - pyvenv.cfg + artifacts: + paths: + - data/pref38/*.txt + - output.log + expire_in: 1 hour + test_pref62: stage: test image: registry.git.laquadrature.net/bastien/raaspotter/base:latest -- GitLab