Would it make sense to bundle the `seed` contents ...
# contributing-to-airbyte
j
Would it make sense to bundle the
seed
contents into the
scheduler
?
u
Since
depends_on
doesn’t do anything in docker-compose files version 3+ (and we’re on 3.7), it seems like we should be ensuring that the files are initialized properly as a dependency of the scheduler.
u
Coordination between the two doesn’t seem to make a ton of sense to me, but I also don’t remember if there was a practical reason why we split out
seed
in the first place.
u
What do you think @charles?
u
both server and schedueler rely on seed.
u
does that mess up what you just proposed?
u
hmm
u
kind of
u
I mean the scheduler depends on the server to run before doing anything too
u
Same implicit dependency, just on a different system
u
Server instead of seed
u
woof. this feels brittle to m.e
u
it's hard for me to understand how they could have just not replaced dependson.
u
From the kube perspective you run into the same problem.
u
No depends on
u
apps are responsible for their own connect/reconnect logic
u
i see
u
which is probably the same reasoning as docker-compose I imagine
u
so can we just leave the seed container
u
but then have anything that tries to connect to config respository fail / retry if it can't find the files it needs.
u
seems like that's the pattern we're supposed to use?
u
Yeah we can do that too.
u
That seems fine
u
And in kube we can do that as a one time job
u
instead of a deployment