1
0
Fork 0
mirror of https://github.com/yavook/kiwi-scp.git synced 2024-11-21 20:33:00 +00:00
kiwi-scp/.drone.yml

25 lines
527 B
YAML
Raw Normal View History

2021-09-28 17:54:22 +00:00
---
kind: pipeline
name: default
2022-02-27 15:36:58 +00:00
type: docker
2021-09-28 17:54:22 +00:00
steps:
2021-10-14 17:37:41 +00:00
- name: pytest
image: python:3.6-alpine3.13
commands:
2022-10-28 10:51:53 +00:00
- apk add --no-cache g++ libffi-dev curl
- wget -O- https://install.python-poetry.org | python3 - --version 1.1.15
2021-10-14 17:51:52 +00:00
- /root/.local/bin/poetry install
- /root/.local/bin/poetry run pytest
2021-10-14 17:37:41 +00:00
2021-09-28 17:54:22 +00:00
- name: docker
image: plugins/docker
settings:
2022-02-27 15:36:58 +00:00
repo: yavook/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