project-openubl / searchpe

Descarga la base de datos de la SUNAT y lo almacena en tu propio servidor
https://project-openubl.github.io/
Apache License 2.0
9 stars 6 forks source link

Maven pom.xml(deps-dev): Bump testcontainers.version from 1.17.6 to 1.18.0 #477

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps testcontainers.version from 1.17.6 to 1.18.0. Updates testcontainers from 1.17.6 to 1.18.0

Release notes

Sourced from testcontainers's releases.

1.18.0

Core module

  • Modules images such as MySQLContainer are now automatically compatible with their corresponding images with the library prefix
MySQLContainer<?> mysql = new MySQLContainer<>("library/mysql");
  • testcontainers/vnc has been bumped to version 1.3.0, which brings ARM support.
  • Goodbye to the whale in the logs. In order to provide an easy way to filter container logs the tc prefix has been added to display all container logs or tc.<image-name:tag> for a specific one. Check the logging docs.
  • There is a new WaitStrategy, ShellStrategy. It can also be used by calling Wait.forSuccessfulCommand(<command>)

New integration

Jib has been integrated to Testcontainers in order to take advantage of the nice API it provides to create containers

GenericContainer<?> busybox = new GenericContainer<>(
                new JibImage(
                    "busybox:1.35",
                    jibContainerBuilder -> {
                        return jibContainerBuilder.setEntrypoint("echo", "Hello World");
                    }
                )
            )
                .withStartupCheckStrategy(new OneShotStartupCheckStrategy().withTimeout(Duration.ofSeconds(3)))

New modules 🆕

CrateDB module

In order to use CrateDBContainer , declare the dependency in your pom.xml/build.gradle

<dependency>
    <groupId>org.testcontainers</groupId>
    <artifactId>cratedb</artifactId>
    <version>1.18.0</version>
    <scope>test</scope>
</dependency>
testImplementation "org.testcontainers:cratedb:1.18.0"

Choose a crate image version and use it as declared below with your postgres driver

CrateDBContainer cratedb = new CrateDBContainer("crate:5.2.5");
</tr></table> 

... (truncated)

Commits
  • a2ac6fd Update junit5 documentation with disabledWithoutDocker and parallel attribute...
  • b51b7ed Exclude guava, jackson-core, jackson-databind from jib-core (#6884)
  • f50ddc0 Add checks permission to combine-prs
  • b221f3f Add CrateDB module (#6790)
  • a692602 Accept localstack/localstack-pro image name (#6836)
  • 1bd177f Add support for LocalStack v2 (#6808)
  • 9c5c352 Add Quarkus to the list of projects using testcontainers (#6832)
  • cd7fbd7 Add combine-pr workflow (#6831)
  • 11c765e Allow jib-core dependency in checkPOMdependencies (#6811)
  • 5522641 Add Oracle R2DBC support (#6810)
  • Additional commits viewable in compare view


Updates mockserver from 1.17.6 to 1.18.0

Release notes

Sourced from mockserver's releases.

1.18.0

Core module

  • Modules images such as MySQLContainer are now automatically compatible with their corresponding images with the library prefix
MySQLContainer<?> mysql = new MySQLContainer<>("library/mysql");
  • testcontainers/vnc has been bumped to version 1.3.0, which brings ARM support.
  • Goodbye to the whale in the logs. In order to provide an easy way to filter container logs the tc prefix has been added to display all container logs or tc.<image-name:tag> for a specific one. Check the logging docs.
  • There is a new WaitStrategy, ShellStrategy. It can also be used by calling Wait.forSuccessfulCommand(<command>)

New integration

Jib has been integrated to Testcontainers in order to take advantage of the nice API it provides to create containers

GenericContainer<?> busybox = new GenericContainer<>(
                new JibImage(
                    "busybox:1.35",
                    jibContainerBuilder -> {
                        return jibContainerBuilder.setEntrypoint("echo", "Hello World");
                    }
                )
            )
                .withStartupCheckStrategy(new OneShotStartupCheckStrategy().withTimeout(Duration.ofSeconds(3)))

New modules 🆕

CrateDB module

In order to use CrateDBContainer , declare the dependency in your pom.xml/build.gradle

<dependency>
    <groupId>org.testcontainers</groupId>
    <artifactId>cratedb</artifactId>
    <version>1.18.0</version>
    <scope>test</scope>
</dependency>
testImplementation "org.testcontainers:cratedb:1.18.0"

Choose a crate image version and use it as declared below with your postgres driver

CrateDBContainer cratedb = new CrateDBContainer("crate:5.2.5");
</tr></table> 

... (truncated)

Commits
  • a2ac6fd Update junit5 documentation with disabledWithoutDocker and parallel attribute...
  • b51b7ed Exclude guava, jackson-core, jackson-databind from jib-core (#6884)
  • f50ddc0 Add checks permission to combine-prs
  • b221f3f Add CrateDB module (#6790)
  • a692602 Accept localstack/localstack-pro image name (#6836)
  • 1bd177f Add support for LocalStack v2 (#6808)
  • 9c5c352 Add Quarkus to the list of projects using testcontainers (#6832)
  • cd7fbd7 Add combine-pr workflow (#6831)
  • 11c765e Allow jib-core dependency in checkPOMdependencies (#6811)
  • 5522641 Add Oracle R2DBC support (#6810)
  • Additional commits viewable in compare view


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
project-openubl-preview-bot commented 1 year ago

🚀 Container image Preview ✨

The creation of the container image might take aproximately 10 minutes. Once it is available you can pull it using:

docker pull ghcr.io/project-openubl/searchpe/searchpe:dependabot/maven/testcontainers.version-1.18.0

Docker compose
```yaml version: "3" services: postgresql: image: postgres:13.7 ports: - 5432:5432 environment: POSTGRES_DB: searchpe_db POSTGRES_USER: db_username POSTGRES_PASSWORD: db_password healthcheck: test: [ "CMD-SHELL", "pg_isready -U db_username -d searchpe_db" ] interval: 10s timeout: 5s retries: 5 searchpe: image: quay.io/projectopenubl/searchpe:nightly ports: - 8180:8080 environment: QUARKUS_HTTP_PORT: 8080 QUARKUS_DATASOURCE_USERNAME: db_username QUARKUS_DATASOURCE_PASSWORD: db_password QUARKUS_DATASOURCE_JDBC_URL: jdbc:postgresql://postgresql:5432/searchpe_db healthcheck: test: [ "CMD", "curl", "-f", "http://localhost:8080/q/health" ] interval: 10s timeout: 5s retries: 5 depends_on: postgresql: condition: service_healthy ```
carlosthe19916 commented 1 year ago

@dependabot recreate

carlosthe19916 commented 1 year ago

@dependabot recreate