This commit is contained in:
parent
a3d5b79bf7
commit
b80fc46423
1 changed files with 3 additions and 4 deletions
|
|
@ -10,6 +10,7 @@ trigger:
|
||||||
environment:
|
environment:
|
||||||
REGISTRY_HOST: https://git.roboces.dev
|
REGISTRY_HOST: https://git.roboces.dev
|
||||||
DESTINATION_PREFIX: git.roboces.dev/catalin/halig
|
DESTINATION_PREFIX: git.roboces.dev/catalin/halig
|
||||||
|
PRE_COMMIT_HOME: /drone/src/.cache/.pre-commit
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: restore cache
|
- name: restore cache
|
||||||
|
|
@ -28,13 +29,11 @@ steps:
|
||||||
path_style: true
|
path_style: true
|
||||||
mount:
|
mount:
|
||||||
- .venv
|
- .venv
|
||||||
- .pre_commit_cache
|
- .cache/.pre-commit
|
||||||
|
|
||||||
- name: install dependencies
|
- name: install dependencies
|
||||||
pull: true
|
pull: true
|
||||||
image: git.roboces.dev/catalin/poetry:beta
|
image: git.roboces.dev/catalin/poetry:beta
|
||||||
environment:
|
|
||||||
PRE_COMMIT_CACHE: /src/drone/.pre_commit_cache
|
|
||||||
commands:
|
commands:
|
||||||
- poetry config virtualenvs.in-project 1
|
- poetry config virtualenvs.in-project 1
|
||||||
- poetry install --with linters
|
- poetry install --with linters
|
||||||
|
|
@ -61,7 +60,7 @@ steps:
|
||||||
region: us-east-1
|
region: us-east-1
|
||||||
mount:
|
mount:
|
||||||
- .venv
|
- .venv
|
||||||
- .pre_commit_cache
|
- .cache/.pre-commit
|
||||||
when:
|
when:
|
||||||
status:
|
status:
|
||||||
- failure
|
- failure
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue