Closed lawrencegripper closed 5 years ago
To be consistent with Træfik could you rename integrationtesting/
to integration/
?
Done, I've added a note to the readme.md as you need to add the following to your docker daemon settings for the cluster to behave:
{
"ipv6": true,
"fixed-cidr-v6": "fd00::/64"
}
@ldez I've been looking at the existing integration tests in the Traefik repo and could use some guidance.
Would you preference be for me to use github.com/libkermit/compose/check to start the SF docker image running the cluster then start the traefik binary?
My first thought was to write a test which starts the container then invoke the provide function on the sf provider and ensure the configuration returned was as expected. I'd also like to write a further test where labels are then altered using the SF API and validate the configuration change is picked up. Does this sound like a good plan?
To keep things simple I'm considering just using exec
to invoke a bash script
Closing as stale and very out of date now
This PR adds a simple way to start a cluster inside a docker image, with apps running, to test the behavior of the provider.
Related to #7