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

fix: downgrade testcontainers to 1.18.1 #130

Closed
wants to merge 1 commit into from

Conversation

monosoul
Copy link
Owner

@monosoul monosoul commented Jul 17, 2023

Testcontainers 1.18.2 to 1.18.3 seems to sometimes cause an issue on M1/M2 Macs where Docker environment can not be found at all, regardless of configuration options, making it totally unusable.

The issue is reported here: testcontainers/testcontainers-java#7082

When using the plugin with Docker Desktop make sure to enable default Docker socket:
image

@monosoul monosoul temporarily deployed to snapshot July 17, 2023 13:46 — with GitHub Actions Inactive
@codecov
Copy link

codecov bot commented Jul 17, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (899eb84) 97.35% compared to head (20bbbb7) 97.35%.

Additional details and impacted files
@@            Coverage Diff            @@
##               main     #130   +/-   ##
=========================================
  Coverage     97.35%   97.35%           
  Complexity      128      128           
=========================================
  Files            25       25           
  Lines           568      568           
  Branches         21       21           
=========================================
  Hits            553      553           
  Misses            5        5           
  Partials         10       10           

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@github-actions
Copy link

To use the snapshot version of the plugin add this to settings.gradle.kts:

pluginManagement {
  repositories {
    maven {
      name = "JooqDockerPluginSnapshotRepo"
      url = uri("https://maven.pkg.github.com/monosoul/jooq-gradle-plugin/")
      credentials {
        username = "<your GitHub username>"
        password = "<your GitHub access token with read:packages scope>"
      }
    }
    gradlePluginPortal()
  }
}

And this to build.gradle.kts:

plugins {
  id("dev.monosoul.jooq-docker") version "SNAPSHOT-b70ed374f72ef7dc3b528727947d26763d62cd4f"
}

@monosoul monosoul closed this Jul 17, 2023
@monosoul monosoul deleted the fix/downgrade-testcontainers branch July 17, 2023 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant