Skip to content
Snippets Groups Projects
Commit 12c2f785 authored by Christophe Benz's avatar Christophe Benz
Browse files

Update CI config

parent c9de024c
No related branches found
No related tags found
No related merge requests found
Pipeline #9384 failed with stage
in 1 second
...@@ -38,12 +38,14 @@ job: ...@@ -38,12 +38,14 @@ job:
- eurostat - eurostat
script: script:
- set -x - set -x
- cd ~/jobs/${PROVIDER_SLUG}
- | - |
if [ "${JOB}" == "download" ]; then if [ "${JOB}" == "download" ]; then
time git clone --quiet --depth=1 git@git.nomics.world:dbnomics-source-data/${PROVIDER_SLUG}-source-data.git time git clone --quiet --depth=1 git@git.nomics.world:dbnomics-source-data/${PROVIDER_SLUG}-source-data.git
cd ${PROVIDER_SLUG}-source-data cd ${PROVIDER_SLUG}-source-data
time find -not -path "./.git/*" -not -name ".git" -delete time find -not -path "./.git/*" -not -name ".git" -delete
cd .. cd ..
# Don't trust dates given by Eurostat in table_of_contents.xml
time python3 download.py --full ${PROVIDER_SLUG}-source-data time python3 download.py --full ${PROVIDER_SLUG}-source-data
cd ${PROVIDER_SLUG}-source-data cd ${PROVIDER_SLUG}-source-data
time git add -A time git add -A
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment