From a049bd8b0d61746304fa53c8fafd38e0fbf31cab Mon Sep 17 00:00:00 2001
From: Bastien Le Querrec <blq@laquadrature.net>
Date: Tue, 18 Jun 2024 00:02:06 +0200
Subject: [PATCH] Dockerfile: active le virtualenv avant de lancer Attrap

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5ced3e0..9e5ab6f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -75,6 +75,7 @@ pep8:
   needs: [install]
   script:
   - s3/download-from-s3.sh "${PREF}" "${S3_KEY}" "${S3_SECRET}" "${S3_HOST}" "${S3_BUCKET}" data/ || true
+  - source bin/activate
   - /etc/init.d/tor start
   - make "${PREF}"
   - s3/upload-to-s3.sh "${PREF}" "${S3_KEY}" "${S3_SECRET}" "${S3_HOST}" "${S3_BUCKET}" data/ || true
-- 
GitLab