From a2cbecc01baf956526bc632e8ddd626e66591788 Mon Sep 17 00:00:00 2001 From: Dominik George <dominik.george@teckids.org> Date: Tue, 10 Dec 2019 13:42:00 +0100 Subject: [PATCH] [CI] Build and publish sdist andwheel artifacts --- .gitlab-ci.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f9f615812..01bd3dd8b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -24,6 +24,20 @@ test: - sudo -u testuser poetry install - sudo -u testuser poetry run tox +build_dist: + stage: build + image: + name: python:3.8-buster + before_script: + - apt-get -y update && apt-get -y sudo + - pip install poetry + - adduser --disabled-password --gecos "Test User" testuser + script: + - sudo -u testuser poetry build + artifacts: + paths: + - dist/ + build_docker: stage: build image: -- GitLab