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

feat(docker): statically allocate a network and IP addresses (backport #124) #132

Open
wants to merge 4 commits into
base: release/v2.x.x
Choose a base branch
from

Commits on Nov 6, 2024

  1. feat(docker): statically allocate a network and IP addresses

    This basically makes Petri in control of the IP address management
    instead of docker. This makes it easier to get static IP addresses
    even if the container is stopped. Before this, the Docker provider
    would provide DNS names instead of IP addresses, which is
    undesirable due to CometBFT/the SDK not having good support for DNS
    hostnames.
    
    (cherry picked from commit 7ca1fb6)
    
    # Conflicts:
    #	core/go.mod
    #	core/go.sum
    #	core/provider/docker/docker_provider.go
    #	core/provider/docker/network.go
    #	core/provider/docker/task.go
    Zygimantass authored and mergify[bot] committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    7feecaa View commit details
    Browse the repository at this point in the history
  2. Update core/provider/docker/network.go

    Co-authored-by: Eric Warehime <[email protected]>
    (cherry picked from commit 53bf574)
    Zygimantass authored and mergify[bot] committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    001e550 View commit details
    Browse the repository at this point in the history
  3. Update core/provider/docker/docker_provider.go

    Co-authored-by: Eric Warehime <[email protected]>
    (cherry picked from commit 797e392)
    Zygimantass authored and mergify[bot] committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    38c1de4 View commit details
    Browse the repository at this point in the history
  4. fix: imports

    (cherry picked from commit 889bebb)
    
    # Conflicts:
    #	core/provider/docker/docker_provider.go
    #	core/provider/docker/network.go
    #	core/provider/docker/task.go
    Zygimantass authored and mergify[bot] committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    78d5a7f View commit details
    Browse the repository at this point in the history