From 817c48bda3343f1ad793f6ff0fef3520ad96efbf Mon Sep 17 00:00:00 2001 From: Jeremy M Fee <jmfee@usgs.gov> Date: Tue, 20 Oct 2020 19:41:38 +0000 Subject: [PATCH] Re-add pip caching. --- .gitlab-ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 06b201da..ae27e650 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,9 +1,9 @@ image: ${DEVOPS_REGISTRY}usgs/centos:latest -#cache: -# paths: -# # cache pip installed dependencies, see PIP_CACHE_DIR variable below -# - .cache/pip +cache: + paths: + # cache pip installed dependencies, see PIP_CACHE_DIR variable below + - .cache/pip stages: - test @@ -14,7 +14,7 @@ stages: variables: CI_REGISTRY: ${CODE_REGISTRY} CI_REGISTRY_IMAGE: ${CODE_REGISTRY_IMAGE} -# PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip" + PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip" TRIVY_VERSION: "0.11.0" # docker variables DOCKER_DRIVER: overlay2 -- GitLab