Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: testcontainers/moby-ryuk
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.9.0
Choose a base ref
...
head repository: testcontainers/moby-ryuk
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
  • 19 commits
  • 21 files changed
  • 4 contributors

Commits on Sep 2, 2024

  1. chore(deps): bump github.com/testcontainers/testcontainers-go (#155)

    Bumps [github.com/testcontainers/testcontainers-go](https://github.com/testcontainers/testcontainers-go) from 0.32.0 to 0.33.0.
    - [Release notes](https://github.com/testcontainers/testcontainers-go/releases)
    - [Commits](testcontainers/testcontainers-go@v0.32.0...v0.33.0)
    
    ---
    updated-dependencies:
    - dependency-name: github.com/testcontainers/testcontainers-go
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Sep 2, 2024
    Copy the full SHA
    9aaaf52 View commit details
  2. chore(deps): bump release-drafter/release-drafter from 5.15.0 to 6.0.0 (

    #152)
    
    Bumps [release-drafter/release-drafter](https://github.com/release-drafter/release-drafter) from 5.15.0 to 6.0.0.
    - [Release notes](https://github.com/release-drafter/release-drafter/releases)
    - [Commits](release-drafter/release-drafter@fe52e97...3f0f870)
    
    ---
    updated-dependencies:
    - dependency-name: release-drafter/release-drafter
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Sep 2, 2024
    Copy the full SHA
    e8ed9c9 View commit details

Commits on Sep 24, 2024

  1. chore: bump versions (#160)

    Bump go, modules and golangci-lint versions so they are compatible with
    incoming changes.
    stevenh authored Sep 24, 2024
    Copy the full SHA
    c67d14e View commit details
  2. fix: bump Go version in Dockerfiles (#162)

    * fix: update Go image to build ryuk
    
    Caused by #160
    
    * fix: update windows dockerfile
    mdelapenya authored Sep 24, 2024
    Copy the full SHA
    5f72457 View commit details

Commits on Sep 30, 2024

  1. chore: simply config (#159)

    * chore: simply config
    
    Simplify the configuration so its easier to add new settings, clearer
    what the default values are and which environment variables impact the
    running of container.
    
    This includes compatibility with slog for future use.
    
    Bump version of golangci-lint so to prevent invalid failures
    
    * docs: fix version in readme
    
    ---------
    
    Co-authored-by: Manuel de la Peña <mdelapenya@gmail.com>
    stevenh and mdelapenya authored Sep 30, 2024
    Copy the full SHA
    8aef324 View commit details

Commits on Oct 7, 2024

  1. feat: shutdown race resilience (#141)

    A significant rewrite to ensure that we don't suffer from shutdown race
    conditions as the prune condition is met and additional resources are
    being created.
    
    Previously this would remove resources that were still in use, now we
    retry if we detect new resources have been created within a window of
    the prune condition triggering.
    
    This supports the following new environment configuration settings:
    - RYUK_REMOVE_RETRIES - The number of times to retry removing a resource.
    - RYUK_REQUEST_TIMEOUT - The timeout for any Docker requests.
    - RYUK_RETRY_OFFSET - The offset added to the start time of the prune
      pass that is used as the minimum resource creation time.
    - RYUK_SHUTDOWN_TIMEOUT - The duration after shutdown has been requested
      when the remaining connections are ignored and prune checks start.
    
    Update README to correct example, as health is only valid for containers
    not the other resources, so would cause failures.
    
    Enable race detection on CI tests.
    stevenh authored Oct 7, 2024
    Copy the full SHA
    93b3db4 View commit details
  2. ci: enhanced linting (#158)

    Add a configuration file which makes it much more strict.
    
    Fix shadowed error variables flagged by linter.
    
    Remove CI timeout as its now present in the config.
    stevenh authored Oct 7, 2024
    Copy the full SHA
    5d57bf3 View commit details
  3. ci: remove unused lint config (#166)

    Remove an unused block from the lint config.
    stevenh authored Oct 7, 2024
    Copy the full SHA
    9280853 View commit details

Commits on Oct 9, 2024

  1. chore: add caching to Linux docker run (#123)

    Add cache mount directives to Linux docker container so that reruns
    are much quicker.
    
    Co-authored-by: Manuel de la Peña <social.mdelapenya@gmail.com>
    stevenh and mdelapenya authored Oct 9, 2024
    Copy the full SHA
    d0c3b50 View commit details
  2. chore(deps): bump github.com/docker/docker (#164)

    Bumps [github.com/docker/docker](https://github.com/docker/docker) from 27.2.0+incompatible to 27.3.1+incompatible.
    - [Release notes](https://github.com/docker/docker/releases)
    - [Commits](moby/moby@v27.2.0...v27.3.1)
    
    ---
    updated-dependencies:
    - dependency-name: github.com/docker/docker
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Oct 9, 2024
    Copy the full SHA
    162440f View commit details
  3. chore(deps): bump docker/metadata-action (#165)

    Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 60a0d343a0d8a18aedee9d34e62251f752153bdb to 70b2cdc6480c1a8b86edf1777157f8f437de2166.
    - [Release notes](https://github.com/docker/metadata-action/releases)
    - [Commits](docker/metadata-action@60a0d34...70b2cdc)
    
    ---
    updated-dependencies:
    - dependency-name: docker/metadata-action
      dependency-type: direct:production
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Oct 9, 2024
    Copy the full SHA
    267592b View commit details
  4. chore(deps): bump alpine from 3.19 to 3.20 in /linux (#132)

    Bumps alpine from 3.19 to 3.20.
    
    ---
    updated-dependencies:
    - dependency-name: alpine
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Manuel de la Peña <social.mdelapenya@gmail.com>
    dependabot[bot] and mdelapenya authored Oct 9, 2024
    Copy the full SHA
    a1f6d78 View commit details

Commits on Oct 10, 2024

  1. fix: use Started instead of listening (#167)

    * fix: use Started instead of listening
    
    To avoid breaking existing clients of Ryuk, using a custom Ryuk version with older testcontainers versions.
    
    * fix: update tests
    
    * chor: better message
    
    * docs: fix
    
    * fix: simplify message
    mdelapenya authored Oct 10, 2024
    Copy the full SHA
    91122e2 View commit details

Commits on Oct 11, 2024

  1. fix: alpine image version (#170)

    Fix the alpine image version using both 3.19 and 3.20 which could
    lead to compatibility issues.
    stevenh authored Oct 11, 2024
    Copy the full SHA
    a4c54cf View commit details

Commits on Oct 14, 2024

  1. chore(deps): bump docker/setup-buildx-action from 2 to 3 (#114)

    Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 2 to 3.
    - [Release notes](https://github.com/docker/setup-buildx-action/releases)
    - [Commits](docker/setup-buildx-action@v2...v3)
    
    ---
    updated-dependencies:
    - dependency-name: docker/setup-buildx-action
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Oct 14, 2024
    Copy the full SHA
    f1eb68a View commit details
  2. fix: slow shutdown after signal (#169)

    Fix shutdown after signal to allow the last client disconnect to trigger
    a prune check. Previous this would always waiting for the shutdown timeout,
    which by default is 10 minutes, resulting in an unnecessarily slow shutdown.
    stevenh authored Oct 14, 2024
    Copy the full SHA
    cbdc142 View commit details

Commits on Oct 23, 2024

  1. fix: multiple filters (#173)

    Fix multiple filters which was only applying the removal of the last
    iterated set.
    
    Add tests to validate that:
    * Multiple filters are correctly processed
    * Duplicate filters are correctly ignored
    * Immediate shutdown occurs if no clients
    
    This increasing code coverage to 89.4%.
    
    Use best effort in removal if resource changes are detected after
    a shutdown has been signalled to allow as much to be cleaned up as
    possible.
    
    This includes a new setting ChangesRetryInterval exposed by the env
    variable RYUK_CHANGES_RETRY_INTERVAL and defaults to 1 second which
    is used to control the interval between retries if resource changes
    are detected.
    stevenh authored Oct 23, 2024
    Copy the full SHA
    e08866d View commit details

Commits on Nov 20, 2024

  1. chore(deps): bump golangci/golangci-lint-action from 6.1.0 to 6.1.1 (#…

    …174)
    
    Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 6.1.0 to 6.1.1.
    - [Release notes](https://github.com/golangci/golangci-lint-action/releases)
    - [Commits](golangci/golangci-lint-action@aaa42aa...971e284)
    
    ---
    updated-dependencies:
    - dependency-name: golangci/golangci-lint-action
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Nov 20, 2024
    Copy the full SHA
    21a7ce8 View commit details

Commits on Dec 12, 2024

  1. chore(deps): bump github.com/stretchr/testify from 1.9.0 to 1.10.0 (#179

    )
    
    Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.9.0 to 1.10.0.
    - [Release notes](https://github.com/stretchr/testify/releases)
    - [Commits](stretchr/testify@v1.9.0...v1.10.0)
    
    ---
    updated-dependencies:
    - dependency-name: github.com/stretchr/testify
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Dec 12, 2024
    Copy the full SHA
    cd4df39 View commit details
Loading