Add poetry and fix CICD
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2023-01-20 14:55:08 +02:00
parent 38f78cf007
commit d3251806fa
12 changed files with 490 additions and 30 deletions

View File

@@ -6,8 +6,23 @@ steps:
- name: test
image: python
commands:
- pip install -r requirements.txt
# - pip install -r requirements.txt
- curl -sSL https://install.python-poetry.org | python3 -
- poetry install
- printenv
- pytest
- name: build
image: plugins/kaniko
settings:
registry: git.psynet.su
username: genesis
password:
from_secret: registry_password
repo: genesis/python-hvac
tags:
- $DRONE_COMMIT_BRANCH
- $DRONE_COMMIT
---
kind: signature
hmac: c96ed440ae544005570aa462c4b98bb82cc075c8d9469e058783d6d297eacaac