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