Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Lukas Wiest
unified-ticketing
Commits
90b0dfb9
Verified
Commit
90b0dfb9
authored
Nov 05, 2020
by
Lukas Wiest
🚂
Browse files
refactor(ci): cache python packages for pages build
parent
f631bf08
Pipeline
#1238
canceled with stages
in 1 minute and 41 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci-mkdocs.yml
View file @
90b0dfb9
variables
:
PIP_CACHE_DIR
:
"
$CI_PROJECT_DIR/.cache/pip"
cache
:
paths
:
-
.cache/pip
-
venv/
mkdocs:compile:
mkdocs:compile:
stage
:
compile
stage
:
compile
image
:
python:3.8
image
:
python:3.8
tags
:
tags
:
-
docker
-
docker
before_script
:
-
pip install virtualenv
-
virtualenv venv
-
source venv/bin/activate
script
:
script
:
-
pip install -r requirements.txt -U
-
pip install -r requirements.txt -U
-
mkdocs build --strict
-
mkdocs build --strict
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment