Closed ckolos closed 5 years ago
On https://github.com/mozilla/Bugzilla-ETL/blob/v0.11/resources/docker/etl.dockerfile#L43, the environment isn't being set properly to execute the specified command.
I suggest one of the following: 1) Change this line to the following:
CMD export PYTHONPATH=.:vendor \ && python bzETL/bz_etl.py --settings=resources/docker/config.json
2) Switch the default command for the container to execute the resources/docker/etl.sh script
RUN chmod 755 /app/resources/docker/etl.sh CMD /app/resources/docker/etl.sh
Either works; The second would allow additional ENV vars to be set if needed.
This is still not correct in v0.13
Sorry for the delay, I am working on this
Please try this https://circleci.com/gh/mozilla/Bugzilla-ETL/125
I think this is fixed
On https://github.com/mozilla/Bugzilla-ETL/blob/v0.11/resources/docker/etl.dockerfile#L43, the environment isn't being set properly to execute the specified command.
I suggest one of the following: 1) Change this line to the following:
2) Switch the default command for the container to execute the resources/docker/etl.sh script
Either works; The second would allow additional ENV vars to be set if needed.