From 64bca321ec4e9ba651789df19a25dcd78344816b Mon Sep 17 00:00:00 2001 From: paugier Date: Thu, 15 Feb 2024 13:43:49 +0100 Subject: [PATCH] Fix CI build+check sdist --- .gitlab-ci.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 44a75ebb..5e7177cd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -30,9 +30,9 @@ image:build: needs: [] tags: - container-registry-push - # rules: - # - if: '$CI_PIPELINE_SOURCE == "schedule"' - # - if: '$CI_BUILD_IMAGES == "1"' + rules: + - if: '$CI_PIPELINE_SOURCE == "schedule"' + - if: '$CI_BUILD_IMAGES == "1"' image: name: gcr.io/kaniko-project/executor:debug entrypoint: [ "" ] @@ -111,14 +111,13 @@ build:package: before_script: - pip install build twine script: - - cd lib - rm -rf dist - - python -m build + - python -m build -s - ls dist - twine check --strict dist/* needs: [] artifacts: when: always paths: - - lib/dist + - dist expire_in: 24 hrs