Skip to content
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

Move swarmd into its own Go module #3170

Merged
merged 4 commits into from
Feb 26, 2024
Merged

Commits on Feb 23, 2024

  1. cmd: move swarmd commands to swarmd/cmd/...

    Signed-off-by: Cory Snider <csnider@mirantis.com>
    corhere committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    c6d43d3 View commit details
    Browse the repository at this point in the history
  2. agent/exec/dockerapi: move to swarmd/dockerexec

    The Docker API executor is one of the only importers of
    github.com/docker/docker and is only used by swarmd. Move it under the
    swarmd package tree in preparation for turning swarmd into its own Go
    module.
    
    Signed-off-by: Cory Snider <csnider@mirantis.com>
    corhere committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    93f31aa View commit details
    Browse the repository at this point in the history
  3. swarmd: convert to Go module

    Signed-off-by: Cory Snider <csnider@mirantis.com>
    corhere committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    1b63b0b View commit details
    Browse the repository at this point in the history
  4. swarmd: commit go.work file

    Make sure that swarmd does not bit-rot by building and testing it
    against the local swarmkit module sources instead of whichever version
    is listed in go.mod. This does risk us failing to notice when bumping
    the swarmkit requirement becomes necessary, but we do not expect any
    third parties to import packages from the swarmd module. And if anyone
    does, they could always work around our oversight by adding a
    requirement on a newer Swarmkit to their project.
    
    Signed-off-by: Cory Snider <csnider@mirantis.com>
    corhere committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    1c77ee6 View commit details
    Browse the repository at this point in the history