Dayten Sheffar
04/14/2023, 5:37 PMsources/state_uuid_here.yaml
) dont match so it creates duplicate connectors (one for each statefile it seems?). My current workaround is I added the state_my_dev_uuid.yaml
and state_digital_ocean_workspace_uuid.yaml
to the .gitignore
so each can have its own state without polluting the other, this seems to be working.
2. I’m also using Dagster (with the dagster-airbyte package), and to initialize the airbyte assets in dagster, I’m using the UUIDs of sources, destinations, connections. But since these don’t match between dev/prod, I’ll need to add a toggle based on the environment for which to use, which is just added overhead. Otherwise, calling airbyte in prod fails since its trying to hit up UUIDs for the dev connectors which dont exist in prod.
Any suggestions on this workflow, cause its becoming increasingly time consuming to manage.
I’m using octavia apply --force
for example in both environments, hence posting here.Eric Schrock
04/17/2023, 8:45 PMZach Loertscher
05/05/2023, 3:03 PMoctavia apply --force
- but I need different state files for each environment (i.e. dev_state_uuid.yml
and prd_state_uuid.yml
). If I added the state files to the .gitignore
, duplicate connections are created every time I ran octavia apply --force
via github actions.. Are you running octavia apply --force
locally?Zach Loertscher
05/05/2023, 5:26 PMstate<UUID>
is really a `state<workspace_UUID>,`so having two state files in main shouldn't be an issue if the Airbyte workspace I'm pointed at only grabs the appropriate workspace_UUID 👍