dbnomics-gitlab-ci merge requestshttps://git.nomics.world/dbnomics/dbnomics-gitlab-ci/-/merge_requests2019-02-08T10:17:40Zhttps://git.nomics.world/dbnomics/dbnomics-gitlab-ci/-/merge_requests/1trigger-job-for-provider.py - add $SCRIPT_ARGS CI variable2019-02-08T10:17:40ZBruno Duyétrigger-job-for-provider.py - add $SCRIPT_ARGS CI variableWhen testing fetchers in CI env (typically to test correct errors.json generation and integration in dashboard), it's not the worth to download/convert the whole data; only a sample is sufficient.
Until now, I created branches that dow...When testing fetchers in CI env (typically to test correct errors.json generation and integration in dashboard), it's not the worth to download/convert the whole data; only a sample is sufficient.
Until now, I created branches that downloaded/converted only a part of data, but downloaders/converters I do always have options for that, so I thought it could be usefull to pass arguments to download/convert scripts.
I didn't managed to pass arguments in an argument, like `--script-arguments "--only WGI"`, this doesn't work when there's spaces in arguments so I implemented the more or less standard way:
For example:
```sh
./trigger-job-for-provider.py --ref add_artifacts_generation download wb -- --only WGI
```Christophe Benzchristophe.benz@nomics.worldChristophe Benzchristophe.benz@nomics.world