Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
French Tax and Benefit Tables
baremes-ipp-yaml
Commits
d020401e
Commit
d020401e
authored
Nov 16, 2018
by
Florian Pagnoux
Browse files
Cache dependencies
parent
3614551e
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
d020401e
image
:
nikolaik/python-nodejs
variables
:
PIP_CACHE_DIR
:
"
$CI_PROJECT_DIR/.cache/pip"
cache
:
key
:
v2-${CI_COMMIT_REF_SLUG}
paths
:
-
.cache/node_modules
-
.cache/pip
pages
:
script
:
-
python --version
...
...
@@ -7,14 +16,13 @@ pages:
-
pip install --editable git+https://github.com/openfisca/openfisca-core.git@params-int-node#egg=OpenFisca-Core
-
openfisca serve -p 2000 &
-
wget --retry-connrefused --waitretry=1 --quiet http://localhost:2000
-
cd ..
-
git clone https://github.com/fpagnoux/baremes-ipp-views.git
-
cd baremes-ipp-views
-
git checkout parsed-xlsx
-
if [ -d "$CI_PROJECT_DIR/.cache/node_modules" ]; then mv $CI_PROJECT_DIR/.cache/node_modules . ; fi
-
yarn && yarn build && yarn export
-
mv out ../baremes-ipp-yaml/public
-
cd ..
-
find .
-
mv node_modules $CI_PROJECT_DIR/.cache
-
mv out ../public
artifacts
:
paths
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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