FAQs¶
Q. How do I configure project.yml so it installs a Python command from a Github repository?¶
You can put https://github.com/<account>/<repository>/archive/<commit-hash>.tar.gz#egg=<command-name>
format like this project of executing a pair of singer.io processes,
tap-rest-api and
target_gcs:
commands:
- command: tap-rest-api
args: "file/rest_api_spec.json --config config/tap_config.json --schema_dir file/schema --catalog file/catalog/default.json --state artifacts/state --start_datetime '{start_at}' --end_datetime '{end_at}'"
venv: proc_01
installs:
- "pip install tap-rest-api"
- command: target_gcs
args: "--config config/target_config.json"
venv: proc_02
installs:
- "pip install install --no-cache-dir https://github.com/anelendata/target_gcs/archive/17e70bced723fe202425a61199e6e1180b6fada7.tar.gz#egg=target_gcs"
envs:
- key: "GOOGLE_APPLICATION_CREDENTIALS"
value: "config/google_client_secret.json"