Rename dependency task to show it's using poetry now

This commit is contained in:
Jake Howard 2022-09-13 17:48:42 +01:00
parent e6c12a9a38
commit e85aa7addf
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -20,13 +20,13 @@ static:
- ./static/build
expire_in: 2 hours
pip:
poetry:
image: python:3.10-slim
stage: build
variables:
PIP_CACHE_DIR: $CI_PROJECT_DIR/.pip-cache
cache:
key: pip-$CI_COMMIT_REF_SLUG
key: poetry-$CI_COMMIT_REF_SLUG
paths:
- "$CI_PROJECT_DIR/.pip-cache"
- "$CI_PROJECT_DIR/.poetry-cache"
@ -42,7 +42,7 @@ pip:
- poetry lock --check
- poetry install
artifacts:
name: 'pip-$CI_JOB_ID'
name: 'poetry-$CI_JOB_ID'
paths:
- ./env/
expire_in: 2 hours
@ -51,7 +51,7 @@ pip:
image: python:3.10-slim
stage: test
dependencies:
- pip
- poetry
before_script:
- apt-get update && apt-get install --yes git libpq-dev
- source env/bin/activate
@ -77,7 +77,7 @@ test_python:
coverage_format: cobertura
path: coverage.xml
dependencies:
- pip
- poetry
- static
django_checks: