This commit is contained in:
24
.drone.yml
24
.drone.yml
@@ -3,17 +3,16 @@ kind: pipeline
|
|||||||
name: default
|
name: default
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
# - name: test
|
- name: test
|
||||||
# image: python
|
image: python
|
||||||
# commands:
|
commands:
|
||||||
# # - pip install -r requirements.txt
|
- export POETRY_VERSION=1.2.2
|
||||||
# - export POETRY_VERSION=1.2.2
|
- export POETRY_HOME=/usr/local/
|
||||||
# - export POETRY_HOME=/usr/local/
|
- curl -sSL https://install.python-poetry.org | python3 -
|
||||||
# - curl -sSL https://install.python-poetry.org | python3 -
|
- poetry config virtualenvs.create false
|
||||||
# - poetry config virtualenvs.create false
|
- poetry install
|
||||||
# - poetry install
|
- printenv
|
||||||
# - printenv
|
- pytest
|
||||||
# - pytest
|
|
||||||
- name: build
|
- name: build
|
||||||
image: plugins/kaniko
|
image: plugins/kaniko
|
||||||
settings:
|
settings:
|
||||||
@@ -25,9 +24,10 @@ steps:
|
|||||||
tags:
|
tags:
|
||||||
- latest
|
- latest
|
||||||
- ${DRONE_COMMIT}
|
- ${DRONE_COMMIT}
|
||||||
|
- ${DRONE_COMMIT_BRANCH}
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: c96ed440ae544005570aa462c4b98bb82cc075c8d9469e058783d6d297eacaac
|
hmac: 8e5103c096391ef7821044e9462a49b5de492fe194e95cd28b93c59b741e2244
|
||||||
|
|
||||||
...
|
...
|
||||||
|
|||||||
Reference in New Issue
Block a user