From 06a3f923e8e9c967de4bcf6f5980d4699edbbc33 Mon Sep 17 00:00:00 2001 From: Anton Sarukhanov <code@ant.sr> Date: Wed, 16 Sep 2020 17:19:04 -0400 Subject: [PATCH] Photos: pip cache so we can go Even Faster! --- .gitlab-ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 16bbf56..3aa65f3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,7 +18,17 @@ build_html: dependencies: - build_js image: python:3 + variables: + PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip" + cache: + paths: + - .cache/pip + - venv/ + before_script: + - python3 -m venv --copies venv + - source venv/bin/activate script: + - pip install -U pip wheel setuptools - pip install -r requirements.txt - make html artifacts: -- GitLab