ci: debug
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Luca 2023-12-16 03:53:47 +01:00
parent 6d066a3c15
commit 51ed30634d
1 changed files with 32 additions and 32 deletions

View File

@ -5,46 +5,46 @@ type: docker
name: default name: default
steps: steps:
- name: create virtual env # - name: create virtual env
image: python:3.11-alpine # image: python:3.11-alpine
commands: # commands:
- python -m venv .venv # - python -m venv .venv
- name: install # - name: install
image: python:3.11-alpine # image: python:3.11-alpine
commands: # commands:
- &path # - &path
export PATH="$$DRONE_WORKSPACE/.venv/bin:$$PATH" # export PATH="$$DRONE_WORKSPACE/.venv/bin:$$PATH"
- echo $$PATH # - echo $$PATH
- which pip # - which pip
- pip install black build flake8 isort twine # - pip install black build flake8 isort twine
- name: check style # - name: check style
image: python:3.11-alpine # image: python:3.11-alpine
commands: # commands:
- *path # - *path
- black --check . # - black --check .
- isort -c . # - isort -c .
- flake8 . # - flake8 .
- name: build # - name: build
image: python:3.11-alpine # image: python:3.11-alpine
commands: # commands:
- *path # - *path
- python -m build # - python -m build
- name: publish - name: publish
image: python:3.11-alpine image: python:3.11-alpine
commands: commands:
- *path - echo $$TWINE_PASSWORD
- keyring --disable # - *path
- twine upload --non-interactive --repository-url https://git.luj0ga.de/api/packages/kontakt/pypi -u '' dist/* # - keyring --disable
# - twine upload --non-interactive --repository-url https://git.luj0ga.de/api/packages/kontakt/pypi -u '' dist/*
environment: environment:
TwINE_PASSWORD: TwINE_PASSWORD: 'debug'
from_secret: repo_token # when:
when: # event:
event: # - tag
- tag
trigger: trigger:
event: event: