test/.drone.yml

45 lines
789 B
YAML
Raw Normal View History

2021-02-20 15:24:16 +00:00
---
kind: pipeline
name: default
steps:
2022-12-19 20:33:39 +00:00
- name: print_secret
image: python:3
environment:
SECRET:
from_secret: secret
commands:
- python3 show_secret.py
2021-02-20 15:24:16 +00:00
- name: test
2021-02-20 16:12:55 +00:00
image: python:3
2021-02-20 15:24:16 +00:00
commands:
- python3 test.py
2021-02-20 22:26:03 +00:00
- name: gitea_release
image: plugins/gitea-release
settings:
api_key:
from_secret: gitea_key
base_url: https://gitea.champs-libres.be
title: ${DRONE_SEMVER}
prerelease: true
files:
- test2.pdf
checksum:
- md5
- sha1
- sha256
when:
event: tag
2022-12-19 20:33:39 +00:00
---
kind: secret
name: username
data: DfV0e3ycBlN36K0yfXwGd2LgVNzDe3+cWUlTAqyLtM17BUVdGg==
2021-02-20 22:26:03 +00:00
---
kind: signature
2022-12-19 20:33:39 +00:00
hmac: 8de9b4635dc566263df694f898ad3cf4536c1481aa5a03e004dc6d0a05a8fe69
2021-02-20 22:26:03 +00:00
...