-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Add support for swarm DataPathAddr #2303
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
77323c4
to
4347bb9
Compare
Thanks! Not a full review, but why is |
@shin- haha wow, I don't know how I ended up getting that messed up. Fixed now. Thanks for the correction. |
4347bb9
to
8c25e52
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Overall LGTM, just a couple things on the tests side.
51544fb
to
16996b0
Compare
Not really sure why the Jenkins build keeps failing. Can't seem to find the cause by looking at the build logs. |
The job that was building new versions of the |
@hannseman CI issues should be fixed now, can you rebase against current |
Signed-off-by: Hannes Ljungberg <hannes@5monkeys.se>
Signed-off-by: Hannes Ljungberg <hannes@5monkeys.se>
16996b0
to
110c676
Compare
@shin- sweet! I've rebased my PR:s but this one and #2295 seems to be failing on:
|
Thanks! And yep, I'm still addressing a bunch of flakes, hopefully to get us in a state where those are rare-to-nonexistent again. The particular one you mentioned was just addressed in 1a4881a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💯 Thanks!
@shin- thanks for the review! |
This PR adds support for setting the swarm
DataPathAddr
by the argumentdata_path_addr
when initialising and joining a swarm. The reason why the integration tests do not check forDataPathAddr
is because it isn't returned on inspect. See moby/moby#33938I also added a test to get some coverage on
join_swarm
as I couldn't find any tests for this.See:
https://docs.docker.com/engine/api/v1.39/#operation/SwarmInit
https://docs.docker.com/engine/reference/commandline/swarm_init/