diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2019-12-11 11:50:10 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2019-12-11 12:25:56 +1000 |
commit | 1f49167b690e0d1f2d69492261c2ce88027aecdf (patch) | |
tree | 820bbf9a2fa866997d23871d69429ef613886b88 | |
parent | 8f0af85072fdaf60d7895d61b2dc4c6c91f2c831 (diff) |
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 <peter.hutterer@who-t.net>
-rw-r--r-- | .gitlab-ci.yml | 5 |
1 files 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 |