From 047c0b4780ac86e15286b456b9daf3a2ef0fa4d3 Mon Sep 17 00:00:00 2001
From: Tom Teichler <tom.teichler@teckids.org>
Date: Mon, 16 Aug 2021 21:54:39 +0200
Subject: [PATCH] Install poetry

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 864f78a..ad11c2d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -8,6 +8,7 @@ build_dist:
   interruptible: true
   stage: build
   before_script:
+    - pip3 install poetry
     - id testuser || adduser --disabled-password --gecos "Test User" testuser
     - chown -R testuser .
   script:
@@ -22,6 +23,8 @@ build_dist:
 deploy_gitlab:
   interruptible: true
   stage: publish
+  before_script:
+    - pip3 install poetry
   script:
     - poetry version $(poetry version | cut -d" " -f2)+$(date --date=${CI_COMMIT_TIMESTAMP} +%Y%m%d%H%M%S);
     - poetry publish -r gitlab
-- 
GitLab