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
Observatoire
observatoire-scripts
Commits
985c6d8f
Commit
985c6d8f
authored
Oct 09, 2019
by
Pierre Dittgen
Browse files
Update observatoire-data more gently
parent
30c5d5f0
Pipeline
#1623
passed with stages
in 152 minutes
Changes
1
Pipelines
76
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
985c6d8f
...
...
@@ -65,12 +65,14 @@ update_observatoire_data_repo:
-
time git clone --quiet --depth=1 git@git.opendatafrance.net:observatoire/observatoire-data.git
-
cd observatoire-data
# sources (dumps)
-
rm -fR sources/*
-
find . -maxdepth 1 -type d -name sources -exec rm -fR {} \;
-
mkdir sources
-
cp -a ../dumps/* sources
# observatoire csv
-
find . -maxdepth 1 -name '*.csv' -delete
-
cp ../build/observatoire/*.csv .
# legacy exports
-
rm -fR exports/*
-
find . -maxdepth 1 -type d -name exports -exec rm -fR {} \;
-
cp -a ../build/geojson exports
-
cp -a ../build/markdown exports
-
time git add .
...
...
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