Commit 1a468b02 authored by okhin's avatar okhin
Browse files

Let's try to build the statics (temporarily on a test job)

parent 7fd952c6
Pipeline #1035 failed with stage
in 3 minutes and 53 seconds
......@@ -3,7 +3,9 @@ variables:
cache:
paths:
- "$CI_PROJECT_DIR/pip-cache"
- "pip-cache"
- "static"
- "env"
key: "$CI_PROJECT_ID"
stages:
......@@ -24,3 +26,15 @@ unit tests:
- ./manage.py migrate
- pytest apps/ --cov=apps/
tags: [preprod]
static build:
stage: test
script:
- yarn install
- webpack
- source ./env/bin/activate
- pip install -r requirements.txt
- echo "DEBUG = True" > ./project/settings/env.py
- echo "SECRET_KEY = '$(pwgen 20 1)'" >> ./project/settings/env.py
- ./manage.py collectstatic
tags: [preprod]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment