Skip to content

Commit

Permalink
Fix CI build+check sdist
Browse files Browse the repository at this point in the history
  • Loading branch information
paugier committed Feb 15, 2024
1 parent 2360185 commit 64bca32
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: [ "" ]
Expand Down Expand Up @@ -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

0 comments on commit 64bca32

Please sign in to comment.