2021-09-28 17:54:22 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
2021-10-14 17:37:41 +00:00
|
|
|
- name: pytest
|
|
|
|
image: python:3.6-alpine3.13
|
|
|
|
commands:
|
|
|
|
- wget -O- https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python3 -
|
|
|
|
- source $HOME/.poetry/env && poetry install
|
|
|
|
- source $HOME/.poetry/env && poetry run pytest
|
|
|
|
|
2021-09-28 17:54:22 +00:00
|
|
|
- name: docker
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
repo: ldericher/kind
|
2021-09-30 15:49:22 +00:00
|
|
|
auto_tag: true
|
|
|
|
# tags:
|
|
|
|
# - edge
|
2021-09-28 17:54:22 +00:00
|
|
|
username:
|
|
|
|
from_secret: DOCKER_USERNAME
|
|
|
|
password:
|
|
|
|
from_secret: DOCKER_PASSWORD
|