janick_otten
01/18/2023, 6:26 PMmeltano.yml
file to utilize dynamically created database connections (using docker compose) cross-projects. This worked like a charm in v2.12.0
, however since v2.13.0
I'm receiving an exception during the meltano install
step in the Dockerfile.
This exception occurs:
invalid literal for int() with base 10: ''
For example, the meltano.yml
contains the following loader:
loaders:
- name: target-postgres
variant: transferwise
pip_url: pipelinewise-target-postgres
config:
host: ${DB_HOST}
port: ${DB_PORT}
user: ${DB_USER}
password: ${DB_PASS}
And in the docker-compose.yml
I set up the env vars:
services:
meltano:
<<: *meltano-image
command: ui
environment:
DB_HOST: ${DB_HOST}
DB_PORT: ${DB_PORT}
DB_USER: ${DB_USER}
DB_PASS: ${DB_PASS}
If I remove the env vars from the meltano.yml
, the exception doesn't occur. Is this changed intentionally in v2.13.0
?taylor
01/18/2023, 6:34 PMWill Da Silva (Arch)
01/18/2023, 6:34 PMWill Da Silva (Arch)
01/18/2023, 6:35 PMjanick_otten
01/18/2023, 6:35 PMjanick_otten
01/18/2023, 6:43 PMmeltano install
in the Dockerfile
, then bash
into the container and run meltano install
manually, it does work. I'll mention this in the bug report as well.janick_otten
01/18/2023, 6:50 PMWill Da Silva (Arch)
01/18/2023, 6:59 PMWill Da Silva (Arch)
01/18/2023, 7:27 PMWill Da Silva (Arch)
01/18/2023, 9:48 PM