https://linen.dev logo
j

Jenny Brown

07/09/2021, 8:18 PM
I need to test SchedulerApp with my local code changes. What’s the best way to launch that thing, such that it’s possible to tell whether I broke it? This is my first time trying to test it in isolation rather than just running the entire docker compose setup. Or if
docker-compose up
is enough for running locally changed code, how do I find the relevant logs through the console spam?
u

user

07/09/2021, 8:22 PM
And you can launch it in one terminal tab and then look at logs for a specific service separately
u

user

07/09/2021, 8:23 PM
docker-compose logs server
for example
u

user

07/09/2021, 8:23 PM
you can run using
docker-compose up -d
this will run in the background
u

user

07/09/2021, 8:43 PM
As best I can tell, my addition to the service didn’t break anything. I do have some other errors showing, that seem to be related to not having environment variables set for sources/destinations. I assume those are ignorable.
u

user

07/09/2021, 9:53 PM
Our acceptance tests build the docker images and run end to end syncs on both docker-compose and kubernetes.
j

Jenny Brown

07/09/2021, 9:54 PM
These are designed to catch configuration/`main` function-level issues