From 1f49167b690e0d1f2d69492261c2ce88027aecdf Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 11 Dec 2019 11:50:10 +1000 Subject: [PATCH] gitlab CI: use a minimal alpine image for the commit checks This runs at the same time as the other images being created so it'll fail if the image itself doesn't exist yet. Since we only need pip here, let's use alpine and install the two packages we need. Signed-off-by: Peter Hutterer --- .gitlab-ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9585a3d9..3999d627 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -130,8 +130,10 @@ variables: check-commit: - image: $FEDORA_CONTAINER_IMAGE + image: golang:alpine stage: prep + before_script: + - apk add python3 git script: - pip3 install GitPython - pip3 install pytest @@ -144,7 +146,6 @@ check-commit: - master@libinput/libinput variables: GIT_DEPTH: 100 - FEDORA_VERSION: 31 artifacts: reports: junit: results.xml