All checks were successful
continuous-integration/drone/push Build is passing
34 lines
695 B
YAML
34 lines
695 B
YAML
---
|
|
kind: pipeline
|
|
name: default
|
|
|
|
steps:
|
|
- name: test
|
|
image: python
|
|
commands:
|
|
- export POETRY_VERSION=1.2.2
|
|
- export POETRY_HOME=/usr/local/
|
|
- curl -sSL https://install.python-poetry.org | python3 -
|
|
- poetry config virtualenvs.create false
|
|
- poetry install
|
|
- pytest
|
|
- name: build
|
|
image: plugins/kaniko
|
|
settings:
|
|
registry: git.psynet.su
|
|
username: genesis
|
|
password:
|
|
from_secret: registry_password
|
|
repo: git.psynet.su/genesis/python-hvac
|
|
enable_cache: true
|
|
tags:
|
|
- latest
|
|
- ${DRONE_COMMIT}
|
|
- ${DRONE_COMMIT_BRANCH}
|
|
|
|
---
|
|
kind: signature
|
|
hmac: cba139585284bc6889a5f8b5bfb4ea2e877ddadbfd1f5430edf0ee87a900b2c2
|
|
|
|
...
|