33 lines
672 B
YAML
33 lines
672 B
YAML
---
|
|
kind: pipeline
|
|
name: default
|
|
|
|
steps:
|
|
- name: test
|
|
image: python
|
|
commands:
|
|
# - pip install -r requirements.txt
|
|
- 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
|
|
- printenv
|
|
- 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
|
|
tags:
|
|
- latest
|
|
|
|
---
|
|
kind: signature
|
|
hmac: c96ed440ae544005570aa462c4b98bb82cc075c8d9469e058783d6d297eacaac
|
|
|
|
...
|