2023-01-04 22:06:48 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
2023-11-30 22:36:45 +00:00
|
|
|
type: docker
|
2023-01-04 22:06:48 +00:00
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: compile
|
|
|
|
image: python
|
|
|
|
commands:
|
|
|
|
- pip install wheel
|
|
|
|
- python setup.py bdist_wheel
|
2023-01-04 22:11:27 +00:00
|
|
|
|
|
|
|
- name: release
|
|
|
|
image: plugins/gitea-release
|
|
|
|
settings:
|
|
|
|
api_key:
|
2023-01-08 16:09:02 +00:00
|
|
|
from_secret: loaih-deploy
|
|
|
|
base_url: https://git.libreitalia.org
|
2023-01-04 22:44:10 +00:00
|
|
|
files: dist/*.whl
|
|
|
|
checksum: md5
|
2023-01-04 22:15:07 +00:00
|
|
|
draft: true
|
2023-12-01 21:44:42 +00:00
|
|
|
|
|
|
|
- name: publish
|
|
|
|
image: plugins/pypi
|
|
|
|
settings:
|
2023-12-01 22:15:57 +00:00
|
|
|
username: __token__
|
2023-12-01 21:44:42 +00:00
|
|
|
password:
|
|
|
|
from_secret: pypi
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
event:
|
|
|
|
- tag
|
|
|
|
- push
|