2023-01-04 22:06:48 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: compile
|
|
|
|
image: python
|
|
|
|
commands:
|
|
|
|
- pip install wheel
|
|
|
|
- python setup.py bdist_wheel
|
|
|
|
- mkdir out
|
|
|
|
- cp dist/*.whl out/
|
2023-01-04 22:12:24 +00:00
|
|
|
when:
|
|
|
|
event: tag
|
2023-01-04 22:11:27 +00:00
|
|
|
|
|
|
|
- name: release
|
|
|
|
image: plugins/gitea-release
|
|
|
|
settings:
|
|
|
|
api_key:
|
|
|
|
from_secret: gitea-deploy
|
2023-01-04 22:15:07 +00:00
|
|
|
base_url: https://git.sys42.eu/
|
|
|
|
files: out/*.whl
|
|
|
|
checksum:
|
|
|
|
- md5
|
|
|
|
draft: true
|
2023-01-04 22:12:24 +00:00
|
|
|
when:
|
|
|
|
event: tag
|
2023-01-04 22:37:24 +00:00
|
|
|
|
|
|
|
- name: handycopy
|
|
|
|
image: drillster/drone-rsync
|
|
|
|
settings:
|
|
|
|
hosts: deimos.sys42.eu
|
|
|
|
user: syntaxerrormmm
|
|
|
|
port: 45454
|
|
|
|
key:
|
|
|
|
from_secret: fisso-ssh-key
|
|
|
|
source: out/*.whl
|
|
|
|
target: ~/
|
|
|
|
when:
|
|
|
|
event: tag
|