From b796af63faa23b6c86231e5ff7e9320ac099b768 Mon Sep 17 00:00:00 2001 From: Eduardo Folly Date: Mon, 2 Mar 2026 19:02:27 -0300 Subject: [PATCH 01/22] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Upgrade=20to=20Quark?= =?UTF-8?q?us=203.32.1.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/main.yml | 79 ++++++++++++++++++------ build.gradle.kts | 11 +--- gradle.properties | 14 ++--- gradle/wrapper/gradle-wrapper.properties | 6 +- src/main/docker/Dockerfile.jvm | 2 +- src/main/docker/Dockerfile.legacy-jar | 2 +- 6 files changed, 70 insertions(+), 44 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4c86567..7e0e3b5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -2,13 +2,16 @@ name: CI Build on: push: - branches: [ main ] + branches: + - main + - alpha + - beta jobs: build: name: Build runs-on: ubuntu-latest - timeout-minutes: 15 + timeout-minutes: 20 permissions: contents: write steps: @@ -17,13 +20,16 @@ jobs: - name: Get release attributes run: | - echo "TAGS=latest" >> $GITHUB_ENV SUFFIX="" - VERSION=$(grep 'version =' build.gradle.kts | cut -f 2 -d '"')$SUFFIX + DOCKER_TAG=$GITHUB_REF_NAME + case $GITHUB_REF_NAME in + main) DOCKER_TAG="latest";; + alpha) SUFFIX="A";; + beta) SUFFIX="B";; + esac + echo "DOCKER_TAG=$DOCKER_TAG" >> $GITHUB_ENV + VERSION=$(grep 'version = ' build.gradle.kts | cut -f 2 -d "\"")$SUFFIX echo "VERSION=$VERSION" >> $GITHUB_ENV - REPO=$(echo $GITHUB_REPOSITORY | cut -f 2 -d "/") - echo "REPO=$REPO" >> $GITHUB_ENV - echo "OWNER=$GITHUB_REPOSITORY_OWNER" >> $GITHUB_ENV - name: Check if version is used run: | @@ -35,6 +41,15 @@ jobs: exit 1 fi + - name: Setup ktlint + run: | + curl -sSLO https://github.com/pinterest/ktlint/releases/download/1.8.0/ktlint + chmod a+x ktlint + sudo mv ktlint /usr/local/bin/ + + - name: Run linter + run: ktlint + - name: Setup Java uses: actions/setup-java@v5 with: @@ -58,19 +73,43 @@ jobs: -out cert.pem \ -subj "/C=US/ST=SC/L=Hometown/O=IT/emailAddress=root@localhost/CN=localhost" - - name: Test & Build - run: | - ./gradlew build --no-daemon \ - -Dquarkus.package.type=native \ - -Dquarkus.native.container-build=true \ - -Dquarkus.container-image.build=true \ - -Dquarkus.container-image.push=true \ - -Dquarkus.container-image.username=${{ env.OWNER }} \ - -Dquarkus.container-image.password=${{ secrets.DOCKER_TOKEN }} \ - -Dquarkus.container-image.group=${{ env.OWNER }} \ - -Dquarkus.container-image.name=${{ env.REPO }} \ - -Dquarkus.container-image.tag=${{ env.VERSION }} \ - -Dquarkus.container-image.additional-tags=${{ env.TAGS }} + - name: Tests & Build + run: | + ./gradlew build -Dquarkus.package.jar.enabled=false \ + -Dquarkus.native.enabled=true \ + -Dquarkus.native.compression.level=5 + + - name: Login to Registry + uses: docker/login-action@v3 + with: +# registry: ${{ env.REGISTRY }} + username: ${{ env.OWNER }} + password: ${{ secrets.DOCKER_TOKEN }} + + - name: Docker Build & Push + uses: docker/build-push-action@v6 + with: + push: true + context: . + file: src/main/docker/Dockerfile.native + tags: | + ${{ env.REGISTRY }}/${{ github.repository }}:${{ env.VERSION }} + ${{ env.REGISTRY }}/${{ github.repository }}:${{ env.DOCKER_TAG }} + + +# - name: Test & Build +# run: | +# ./gradlew build --no-daemon \ +# -Dquarkus.package.type=native \ +# -Dquarkus.native.container-build=true \ +# -Dquarkus.container-image.build=true \ +# -Dquarkus.container-image.push=true \ +# -Dquarkus.container-image.username=${{ env.OWNER }} \ +# -Dquarkus.container-image.password=${{ secrets.DOCKER_TOKEN }} \ +# -Dquarkus.container-image.group=${{ env.OWNER }} \ +# -Dquarkus.container-image.name=${{ env.REPO }} \ +# -Dquarkus.container-image.tag=${{ env.VERSION }} \ +# -Dquarkus.container-image.additional-tags=${{ env.TAGS }} - name: Creating GitHub Tag uses: mathieudutour/github-tag-action@v6.2 diff --git a/build.gradle.kts b/build.gradle.kts index 1f360d4..9bf87de 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,6 +1,6 @@ plugins { - kotlin("jvm") version "2.2.21" - kotlin("plugin.allopen") version "2.2.21" + kotlin("jvm") version "2.3.10" + kotlin("plugin.allopen") version "2.3.10" id("io.quarkus") } @@ -45,13 +45,6 @@ java { } tasks.withType { - systemProperty( - "java.util.logging.manager", - "org.jboss.logmanager.LogManager", - ) - - jvmArgs("--add-opens", "java.base/java.lang=ALL-UNNAMED") - testLogging { events( "PASSED", diff --git a/gradle.properties b/gradle.properties index a8fe039..3a2f18c 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,17 +1,11 @@ # Gradle properties quarkusPluginId=io.quarkus -quarkusPluginVersion=3.30.6 +quarkusPluginVersion=3.32.1 quarkusPlatformGroupId=io.quarkus.platform quarkusPlatformArtifactId=quarkus-bom -quarkusPlatformVersion=3.30.6 +quarkusPlatformVersion=3.32.1 -# Executa tasks em paralelo (ex: compila modulo A e B ao mesmo tempo) -org.gradle.parallel=true - -# Habilita o cache local de build (reutiliza outputs de tasks) -org.gradle.caching=true - -# Aumenta a memória da JVM (ajuste conforme a capacidade do runner do GitHub) -# O runner padrão tem 7GB de RAM total. Não aloque tudo para o Gradle. org.gradle.jvmargs=-Xmx3g -XX:+UseParallelGC +org.gradle.configuration-cache=true +org.gradle.configuration-cache.parallel=true diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index af0e1ab..17c9e60 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,8 +1,8 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -# https://gradle.org/release-checksums/ -distributionSha256Sum=f86344275d1b194688dd330abf9f6f2344cd02872ffee035f2d1ea2fd60cf7f3 -distributionUrl=https\://services.gradle.org/distributions/gradle-9.2.1-all.zip +distributionSha256Sum=17f277867f6914d61b1aa02efab1ba7bb439ad652ca485cd8ca6842fccec6e43 +distributionUrl=https\://services.gradle.org/distributions/gradle-9.3.1-all.zip networkTimeout=10000 +validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/src/main/docker/Dockerfile.jvm b/src/main/docker/Dockerfile.jvm index c826bc6..7d6f1de 100644 --- a/src/main/docker/Dockerfile.jvm +++ b/src/main/docker/Dockerfile.jvm @@ -77,7 +77,7 @@ # accessed directly. (example: "foo.example.com,bar.example.com") # ### -FROM registry.access.redhat.com/ubi9/openjdk-21:1.23 +FROM registry.access.redhat.com/ubi9/openjdk-21:1.24 ENV LANGUAGE='en_US:en' diff --git a/src/main/docker/Dockerfile.legacy-jar b/src/main/docker/Dockerfile.legacy-jar index b83dbd8..546b3e8 100644 --- a/src/main/docker/Dockerfile.legacy-jar +++ b/src/main/docker/Dockerfile.legacy-jar @@ -77,7 +77,7 @@ # accessed directly. (example: "foo.example.com,bar.example.com") # ### -FROM registry.access.redhat.com/ubi9/openjdk-21:1.23 +FROM registry.access.redhat.com/ubi9/openjdk-21:1.24 ENV LANGUAGE='en_US:en' From 8d9b9ee44a4cff69df571a3f293d3535ce652c9d Mon Sep 17 00:00:00 2001 From: Eduardo Folly Date: Mon, 2 Mar 2026 19:09:29 -0300 Subject: [PATCH 02/22] =?UTF-8?q?=F0=9F=92=9A=20Fix=20CI=20script.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/main.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7e0e3b5..36255d7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -73,11 +73,11 @@ jobs: -out cert.pem \ -subj "/C=US/ST=SC/L=Hometown/O=IT/emailAddress=root@localhost/CN=localhost" - - name: Tests & Build - run: | - ./gradlew build -Dquarkus.package.jar.enabled=false \ - -Dquarkus.native.enabled=true \ - -Dquarkus.native.compression.level=5 + - name: Tests & Build + run: | + ./gradlew build -Dquarkus.package.jar.enabled=false \ + -Dquarkus.native.enabled=true \ + -Dquarkus.native.compression.level=5 - name: Login to Registry uses: docker/login-action@v3 From b07a97f63b17e73f194c4b03948b35f507c6b17f Mon Sep 17 00:00:00 2001 From: Eduardo Folly Date: Mon, 2 Mar 2026 19:24:40 -0300 Subject: [PATCH 03/22] =?UTF-8?q?=F0=9F=92=9A=20Fix=20CI=20script.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/main.yml | 24 ++++------------------- build.gradle.kts | 1 - src/main/resources/application.properties | 2 -- 3 files changed, 4 insertions(+), 23 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 36255d7..a64896d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -82,8 +82,7 @@ jobs: - name: Login to Registry uses: docker/login-action@v3 with: -# registry: ${{ env.REGISTRY }} - username: ${{ env.OWNER }} + username: ${{ github.repository_owner }} password: ${{ secrets.DOCKER_TOKEN }} - name: Docker Build & Push @@ -91,25 +90,10 @@ jobs: with: push: true context: . - file: src/main/docker/Dockerfile.native + file: src/main/docker/Dockerfile.native-micro tags: | - ${{ env.REGISTRY }}/${{ github.repository }}:${{ env.VERSION }} - ${{ env.REGISTRY }}/${{ github.repository }}:${{ env.DOCKER_TAG }} - - -# - name: Test & Build -# run: | -# ./gradlew build --no-daemon \ -# -Dquarkus.package.type=native \ -# -Dquarkus.native.container-build=true \ -# -Dquarkus.container-image.build=true \ -# -Dquarkus.container-image.push=true \ -# -Dquarkus.container-image.username=${{ env.OWNER }} \ -# -Dquarkus.container-image.password=${{ secrets.DOCKER_TOKEN }} \ -# -Dquarkus.container-image.group=${{ env.OWNER }} \ -# -Dquarkus.container-image.name=${{ env.REPO }} \ -# -Dquarkus.container-image.tag=${{ env.VERSION }} \ -# -Dquarkus.container-image.additional-tags=${{ env.TAGS }} + ${{ github.repository_owner }}/${{ github.repository }}:${{ env.VERSION }} + ${{ github.repository_owner }}/${{ github.repository }}:${{ env.DOCKER_TAG }} - name: Creating GitHub Tag uses: mathieudutour/github-tag-action@v6.2 diff --git a/build.gradle.kts b/build.gradle.kts index 9bf87de..695742e 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -25,7 +25,6 @@ dependencies { implementation("io.quarkus:quarkus-smallrye-health") implementation("io.quarkus:quarkus-rest") implementation("io.quarkus:quarkus-rest-jackson") - implementation("io.quarkus:quarkus-container-image-docker") implementation("io.quarkus:quarkus-info") implementation("io.quarkus:quarkus-kotlin") implementation("io.quarkus:quarkus-arc") diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index bfeb1a8..393338d 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -10,8 +10,6 @@ quarkus.application.name=httpbucket quarkus.ssl.native=true %dev.quarkus.http.host=0.0.0.0 # -quarkus.docker.dockerfile-native-path=src/main/docker/Dockerfile.native-micro -# quarkus.http.ssl.certificate.files=${httpbucket.ssl.cert:cert.pem} quarkus.http.ssl.certificate.key-files=${httpbucket.ssl.key:key.pem} # From 4cfa601e12346325f198ddfa654b54fff8091a50 Mon Sep 17 00:00:00 2001 From: Eduardo Folly Date: Mon, 2 Mar 2026 19:31:36 -0300 Subject: [PATCH 04/22] =?UTF-8?q?=F0=9F=92=9A=20Fix=20CI=20script.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a64896d..78ddfec 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -92,8 +92,8 @@ jobs: context: . file: src/main/docker/Dockerfile.native-micro tags: | - ${{ github.repository_owner }}/${{ github.repository }}:${{ env.VERSION }} - ${{ github.repository_owner }}/${{ github.repository }}:${{ env.DOCKER_TAG }} + ${{ github.repository }}:${{ env.VERSION }} + ${{ github.repository }}:${{ env.DOCKER_TAG }} - name: Creating GitHub Tag uses: mathieudutour/github-tag-action@v6.2 From c9ea4cb2ee868ee80cb9775371ddfb5621a74e4a Mon Sep 17 00:00:00 2001 From: Eduardo Folly Date: Mon, 2 Mar 2026 19:48:34 -0300 Subject: [PATCH 05/22] =?UTF-8?q?=F0=9F=91=B7=20Update=20CI=20script=20to?= =?UTF-8?q?=20build=20native=20images.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/main.yml | 165 ++++++++++++++++++++++++------------- build.gradle.kts | 2 +- 2 files changed, 108 insertions(+), 59 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 78ddfec..2ec58c6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,17 +8,18 @@ on: - beta jobs: - build: - name: Build + prepare: + timeout-minutes: 10 runs-on: ubuntu-latest - timeout-minutes: 20 - permissions: - contents: write + outputs: + VERSION: ${{ steps.version.outputs.VERSION }} + DOCKER_TAG: ${{ steps.version.outputs.DOCKER_TAG }} steps: - name: Code Checkout uses: actions/checkout@v6 - name: Get release attributes + id: version run: | SUFFIX="" DOCKER_TAG=$GITHUB_REF_NAME @@ -27,17 +28,16 @@ jobs: alpha) SUFFIX="A";; beta) SUFFIX="B";; esac - echo "DOCKER_TAG=$DOCKER_TAG" >> $GITHUB_ENV + echo "DOCKER_TAG=$DOCKER_TAG" >> GITHUB_OUTPUT VERSION=$(grep 'version = ' build.gradle.kts | cut -f 2 -d "\"")$SUFFIX - echo "VERSION=$VERSION" >> $GITHUB_ENV + echo "VERSION=$VERSION" >> GITHUB_OUTPUT - name: Check if version is used run: | - URL=$GITHUB_API_URL/repos/$GITHUB_REPOSITORY/releases/tags/${{ env.VERSION }} - echo "$URL" + URL=$GITHUB_API_URL/repos/$GITHUB_REPOSITORY/releases/tags/${{ steps.version.outputs.VERSION }} CODE=$(curl -s -H "Authorization: Bearer ${{ github.token }}" -o /dev/null -w "%{http_code}" "$URL") if [ "$CODE" != 404 ]; then - echo "Release '$VERSION' already exists. ($CODE)" + echo "Release '${{ steps.version.outputs.VERSION }}' already exists. ($CODE)" exit 1 fi @@ -50,16 +50,28 @@ jobs: - name: Run linter run: ktlint - - name: Setup Java - uses: actions/setup-java@v5 - with: - distribution: 'adopt' - java-version: '21' + build-native: + needs: prepare + timeout-minutes: 40 + strategy: + matrix: + include: + - os: ubuntu-latest + arch: amd64 + - os: ubuntu-24.04-arm + arch: arm64 + runs-on: ${{ matrix.os }} + steps: + - name: Code Checkout + uses: actions/checkout@v6 - - name: Setup Gradle - uses: gradle/actions/setup-gradle@v5 + - name: Setup GraalVM + uses: graalvm/setup-graalvm@v1 with: - cache-read-only: false + java-version: '21' + distribution: 'graalvm-community' + github-token: ${{ secrets.GITHUB_TOKEN }} + cache: 'gradle' - name: Generating self-signed certificate run: | @@ -73,49 +85,86 @@ jobs: -out cert.pem \ -subj "/C=US/ST=SC/L=Hometown/O=IT/emailAddress=root@localhost/CN=localhost" - - name: Tests & Build + - name: Tests & Build Native Executable run: | ./gradlew build -Dquarkus.package.jar.enabled=false \ -Dquarkus.native.enabled=true \ -Dquarkus.native.compression.level=5 - - name: Login to Registry - uses: docker/login-action@v3 - with: - username: ${{ github.repository_owner }} - password: ${{ secrets.DOCKER_TOKEN }} - - - name: Docker Build & Push - uses: docker/build-push-action@v6 - with: - push: true - context: . - file: src/main/docker/Dockerfile.native-micro - tags: | - ${{ github.repository }}:${{ env.VERSION }} - ${{ github.repository }}:${{ env.DOCKER_TAG }} - - - name: Creating GitHub Tag - uses: mathieudutour/github-tag-action@v6.2 - with: - custom_tag: ${{ env.VERSION }} - tag_prefix: '' - github_token: ${{ secrets.GITHUB_TOKEN }} - - - name: Create GitHub Release - uses: ncipollo/release-action@v1 - with: - tag: ${{ env.VERSION }} - token: ${{ secrets.GITHUB_TOKEN }} - - - name: Overwrite Coverage Theme - run: | - /bin/cp -rf helpers/jacoco-report/* build/jacoco-report/. - /bin/cp -f README.md build/jacoco-report/. - - - name: Publishing to GitHub Pages - uses: peaceiris/actions-gh-pages@v4 + - name: Upload Native Binary + uses: actions/upload-artifact@v4 with: - publish_dir: ./build/jacoco-report - github_token: ${{ secrets.GITHUB_TOKEN }} - cname: httpbucket.testainers.com + name: native-executable-${{ matrix.arch }} + path: build/*-runner + if-no-files-found: error + retention-days: 1 + +# - name: Setup Java +# uses: actions/setup-java@v5 +# with: +# distribution: 'adopt' +# java-version: '21' +# +# - name: Setup Gradle +# uses: gradle/actions/setup-gradle@v5 +# with: +# cache-read-only: false +# +# - name: Generating self-signed certificate +# run: | +# openssl req \ +# -newkey rsa:2048 \ +# -new \ +# -nodes \ +# -x509 \ +# -days 3650 \ +# -keyout key.pem \ +# -out cert.pem \ +# -subj "/C=US/ST=SC/L=Hometown/O=IT/emailAddress=root@localhost/CN=localhost" +# +# - name: Tests & Build +# run: | +# ./gradlew build -Dquarkus.package.jar.enabled=false \ +# -Dquarkus.native.enabled=true \ +# -Dquarkus.native.compression.level=5 +# +# - name: Login to Registry +# uses: docker/login-action@v3 +# with: +# username: ${{ github.repository_owner }} +# password: ${{ secrets.DOCKER_TOKEN }} +# +# - name: Docker Build & Push +# uses: docker/build-push-action@v6 +# with: +# push: true +# context: . +# file: src/main/docker/Dockerfile.native-micro +# tags: | +# ${{ github.repository }}:${{ env.VERSION }} +# ${{ github.repository }}:${{ env.DOCKER_TAG }} +# +# - name: Creating GitHub Tag +# uses: mathieudutour/github-tag-action@v6.2 +# with: +# custom_tag: ${{ env.VERSION }} +# tag_prefix: '' +# github_token: ${{ secrets.GITHUB_TOKEN }} +# +# - name: Create GitHub Release +# uses: ncipollo/release-action@v1 +# with: +# tag: ${{ env.VERSION }} +# token: ${{ secrets.GITHUB_TOKEN }} +# +# - name: Overwrite Coverage Theme +# run: | +# /bin/cp -rf helpers/jacoco-report/* build/jacoco-report/. +# /bin/cp -f README.md build/jacoco-report/. +# +# - name: Publishing to GitHub Pages +# uses: peaceiris/actions-gh-pages@v4 +# with: +# publish_dir: ./build/jacoco-report +# github_token: ${{ secrets.GITHUB_TOKEN }} +# cname: httpbucket.testainers.com diff --git a/build.gradle.kts b/build.gradle.kts index 695742e..82a1cf5 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -36,7 +36,7 @@ dependencies { } group = "com.testainers" -version = "0.3.0" +version = "0.3.1" java { sourceCompatibility = JavaVersion.VERSION_21 From 18cb8b27c7847599ee6dd7a5374e0415b3bcf037 Mon Sep 17 00:00:00 2001 From: Eduardo Folly Date: Mon, 2 Mar 2026 20:29:19 -0300 Subject: [PATCH 06/22] =?UTF-8?q?=F0=9F=92=9A=20Update=20CI=20script.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/main.yml | 163 +++++++++---------- src/main/docker/Dockerfile.native-multi-arch | 18 ++ 2 files changed, 99 insertions(+), 82 deletions(-) create mode 100644 src/main/docker/Dockerfile.native-multi-arch diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2ec58c6..39d2e08 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,7 +9,7 @@ on: jobs: prepare: - timeout-minutes: 10 + timeout-minutes: 2 runs-on: ubuntu-latest outputs: VERSION: ${{ steps.version.outputs.VERSION }} @@ -52,7 +52,7 @@ jobs: build-native: needs: prepare - timeout-minutes: 40 + timeout-minutes: 10 strategy: matrix: include: @@ -73,6 +73,29 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} cache: 'gradle' + - name: Tests & Build Native Executable + run: | + ./gradlew build -Dquarkus.package.jar.enabled=false \ + -Dquarkus.native.enabled=true \ + -Dquarkus.native.compression.level=5 + + - name: Upload Native Binary + uses: actions/upload-artifact@v4 + with: + name: native-executable-${{ matrix.arch }} + path: build/*-runner + if-no-files-found: error + retention-days: 1 + + publish: + needs: + - prepare + - build-native + runs-on: ubuntu-latest + steps: + - name: Code checkout + uses: actions/checkout@v6 + - name: Generating self-signed certificate run: | openssl req \ @@ -85,86 +108,62 @@ jobs: -out cert.pem \ -subj "/C=US/ST=SC/L=Hometown/O=IT/emailAddress=root@localhost/CN=localhost" - - name: Tests & Build Native Executable - run: | - ./gradlew build -Dquarkus.package.jar.enabled=false \ - -Dquarkus.native.enabled=true \ - -Dquarkus.native.compression.level=5 + - name: Download AMD64 Binary + uses: actions/download-artifact@v4 + with: + name: native-executable-amd64 + path: build/amd64 - - name: Upload Native Binary - uses: actions/upload-artifact@v4 + - name: Download ARM64 Binary + uses: actions/download-artifact@v4 with: - name: native-executable-${{ matrix.arch }} - path: build/*-runner - if-no-files-found: error - retention-days: 1 + name: native-executable-arm64 + path: build/arm64 + + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 -# - name: Setup Java -# uses: actions/setup-java@v5 -# with: -# distribution: 'adopt' -# java-version: '21' -# -# - name: Setup Gradle -# uses: gradle/actions/setup-gradle@v5 -# with: -# cache-read-only: false -# -# - name: Generating self-signed certificate -# run: | -# openssl req \ -# -newkey rsa:2048 \ -# -new \ -# -nodes \ -# -x509 \ -# -days 3650 \ -# -keyout key.pem \ -# -out cert.pem \ -# -subj "/C=US/ST=SC/L=Hometown/O=IT/emailAddress=root@localhost/CN=localhost" -# -# - name: Tests & Build -# run: | -# ./gradlew build -Dquarkus.package.jar.enabled=false \ -# -Dquarkus.native.enabled=true \ -# -Dquarkus.native.compression.level=5 -# -# - name: Login to Registry -# uses: docker/login-action@v3 -# with: -# username: ${{ github.repository_owner }} -# password: ${{ secrets.DOCKER_TOKEN }} -# -# - name: Docker Build & Push -# uses: docker/build-push-action@v6 -# with: -# push: true -# context: . -# file: src/main/docker/Dockerfile.native-micro -# tags: | -# ${{ github.repository }}:${{ env.VERSION }} -# ${{ github.repository }}:${{ env.DOCKER_TAG }} -# -# - name: Creating GitHub Tag -# uses: mathieudutour/github-tag-action@v6.2 -# with: -# custom_tag: ${{ env.VERSION }} -# tag_prefix: '' -# github_token: ${{ secrets.GITHUB_TOKEN }} -# -# - name: Create GitHub Release -# uses: ncipollo/release-action@v1 -# with: -# tag: ${{ env.VERSION }} -# token: ${{ secrets.GITHUB_TOKEN }} -# -# - name: Overwrite Coverage Theme -# run: | -# /bin/cp -rf helpers/jacoco-report/* build/jacoco-report/. -# /bin/cp -f README.md build/jacoco-report/. -# -# - name: Publishing to GitHub Pages -# uses: peaceiris/actions-gh-pages@v4 -# with: -# publish_dir: ./build/jacoco-report -# github_token: ${{ secrets.GITHUB_TOKEN }} -# cname: httpbucket.testainers.com + - name: Login to Registry + uses: docker/login-action@v3 + with: + username: ${{ github.repository_owner }} + password: ${{ secrets.DOCKER_TOKEN }} + + - name: Docker Build & Push + uses: docker/build-push-action@v6 + with: + push: true + context: . + file: src/main/docker/Dockerfile.native-multi-arch + platforms: linux/amd64,linux/arm64 + tags: | + ${{ github.repository }}:${{ env.VERSION }} + ${{ github.repository }}:${{ env.DOCKER_TAG }} + + - name: Creating GitHub Tag + uses: mathieudutour/github-tag-action@v6.2 + with: + custom_tag: ${{ env.VERSION }} + tag_prefix: '' + github_token: ${{ secrets.GITHUB_TOKEN }} + + - name: Create GitHub Release + uses: ncipollo/release-action@v1 + with: + tag: ${{ env.VERSION }} + token: ${{ secrets.GITHUB_TOKEN }} + + - name: Overwrite Coverage Theme + run: | + /bin/cp -rf helpers/jacoco-report/* build/jacoco-report/. + /bin/cp -f README.md build/jacoco-report/. + + - name: Publishing to GitHub Pages + uses: peaceiris/actions-gh-pages@v4 + with: + publish_dir: ./build/jacoco-report + github_token: ${{ secrets.GITHUB_TOKEN }} + cname: httpbucket.testainers.com diff --git a/src/main/docker/Dockerfile.native-multi-arch b/src/main/docker/Dockerfile.native-multi-arch new file mode 100644 index 0000000..908c81a --- /dev/null +++ b/src/main/docker/Dockerfile.native-multi-arch @@ -0,0 +1,18 @@ +FROM quay.io/quarkus/ubi9-quarkus-micro-image:2.0 + +ARG TARGETARCH + +WORKDIR /work/ +RUN chown 1001 /work \ + && chmod "g+rwX" /work \ + && chown 1001:root /work + +COPY --chown=1001:root --chmod=0755 build/${TARGETARCH}/*-runner /work/httpbucket +COPY --chown=1001:root cert.pem /work/cert.pem +COPY --chown=1001:root key.pem /work/key.pem + +EXPOSE 8080 +EXPOSE 8443 +USER 1001 + +ENTRYPOINT ["./httpbucket", "-Dquarkus.http.host=0.0.0.0"] From 3ab9391908ec3f34bf5d878659471171c9c1bbdf Mon Sep 17 00:00:00 2001 From: Eduardo Folly Date: Mon, 2 Mar 2026 20:35:31 -0300 Subject: [PATCH 07/22] =?UTF-8?q?=F0=9F=94=96=20Version=200.3.2.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/main.yml | 1 + build.gradle.kts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 39d2e08..893ecd3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -91,6 +91,7 @@ jobs: needs: - prepare - build-native + timeout-minutes: 10 runs-on: ubuntu-latest steps: - name: Code checkout diff --git a/build.gradle.kts b/build.gradle.kts index 82a1cf5..6981310 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -36,7 +36,7 @@ dependencies { } group = "com.testainers" -version = "0.3.1" +version = "0.3.2" java { sourceCompatibility = JavaVersion.VERSION_21 From a5084be2942a2aecee2a32825a382cfb38051406 Mon Sep 17 00:00:00 2001 From: Eduardo Folly Date: Mon, 2 Mar 2026 20:48:00 -0300 Subject: [PATCH 08/22] =?UTF-8?q?=F0=9F=92=9A=20Remove=20upx=20compression?= =?UTF-8?q?.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/main.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 893ecd3..c9b24b5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -76,8 +76,13 @@ jobs: - name: Tests & Build Native Executable run: | ./gradlew build -Dquarkus.package.jar.enabled=false \ - -Dquarkus.native.enabled=true \ - -Dquarkus.native.compression.level=5 + -Dquarkus.native.enabled=true + +# - name: Tests & Build Native Executable +# run: | +# ./gradlew build -Dquarkus.package.jar.enabled=false \ +# -Dquarkus.native.enabled=true \ +# -Dquarkus.native.compression.level=5 - name: Upload Native Binary uses: actions/upload-artifact@v4 From a143fa68cf1b7b1449ed2373719b0b0ca707ec15 Mon Sep 17 00:00:00 2001 From: Eduardo Folly Date: Mon, 2 Mar 2026 20:54:39 -0300 Subject: [PATCH 09/22] =?UTF-8?q?=F0=9F=92=9A=20Fix=20CI=20script.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/main.yml | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c9b24b5..8d82c23 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -73,16 +73,23 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} cache: 'gradle' + - name: Generating self-signed certificate + run: | + openssl req \ + -newkey rsa:2048 \ + -new \ + -nodes \ + -x509 \ + -days 3650 \ + -keyout key.pem \ + -out cert.pem \ + -subj "/C=US/ST=SC/L=Hometown/O=IT/emailAddress=root@localhost/CN=localhost" + - name: Tests & Build Native Executable run: | ./gradlew build -Dquarkus.package.jar.enabled=false \ - -Dquarkus.native.enabled=true - -# - name: Tests & Build Native Executable -# run: | -# ./gradlew build -Dquarkus.package.jar.enabled=false \ -# -Dquarkus.native.enabled=true \ -# -Dquarkus.native.compression.level=5 + -Dquarkus.native.enabled=true \ + -Dquarkus.native.compression.level=5 - name: Upload Native Binary uses: actions/upload-artifact@v4 From 6414b35a83dcdf9dd226dd78caa724581e162c51 Mon Sep 17 00:00:00 2001 From: Eduardo Folly Date: Mon, 2 Mar 2026 21:13:25 -0300 Subject: [PATCH 10/22] =?UTF-8?q?=F0=9F=92=9A=20Fix=20CI=20variables.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8d82c23..e32412b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -153,20 +153,20 @@ jobs: file: src/main/docker/Dockerfile.native-multi-arch platforms: linux/amd64,linux/arm64 tags: | - ${{ github.repository }}:${{ env.VERSION }} - ${{ github.repository }}:${{ env.DOCKER_TAG }} + ${{ github.repository }}:${{ needs.prepare.outputs.VERSION }} + ${{ github.repository }}:${{ needs.prepare.outputs.DOCKER_TAG }} - name: Creating GitHub Tag uses: mathieudutour/github-tag-action@v6.2 with: - custom_tag: ${{ env.VERSION }} + custom_tag: ${{ needs.prepare.outputs.VERSION }} tag_prefix: '' github_token: ${{ secrets.GITHUB_TOKEN }} - name: Create GitHub Release uses: ncipollo/release-action@v1 with: - tag: ${{ env.VERSION }} + tag: ${{ needs.prepare.outputs.VERSION }} token: ${{ secrets.GITHUB_TOKEN }} - name: Overwrite Coverage Theme From 8467b1392ef9514011bf3f914837edd5728159ab Mon Sep 17 00:00:00 2001 From: Eduardo Folly Date: Mon, 2 Mar 2026 21:26:57 -0300 Subject: [PATCH 11/22] =?UTF-8?q?=F0=9F=92=9A=20Fix=20CI=20variables.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e32412b..f9901c0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -28,9 +28,9 @@ jobs: alpha) SUFFIX="A";; beta) SUFFIX="B";; esac - echo "DOCKER_TAG=$DOCKER_TAG" >> GITHUB_OUTPUT + echo "DOCKER_TAG=$DOCKER_TAG" >> $GITHUB_OUTPUT VERSION=$(grep 'version = ' build.gradle.kts | cut -f 2 -d "\"")$SUFFIX - echo "VERSION=$VERSION" >> GITHUB_OUTPUT + echo "VERSION=$VERSION" >> $GITHUB_OUTPUT - name: Check if version is used run: | From 4eca96e8500c826cbc39fa89a77e3243b58e4d6c Mon Sep 17 00:00:00 2001 From: Eduardo Folly Date: Mon, 2 Mar 2026 21:48:25 -0300 Subject: [PATCH 12/22] =?UTF-8?q?=F0=9F=92=9A=20Add=20debug=20commands.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/main.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f9901c0..e808f91 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -92,7 +92,7 @@ jobs: -Dquarkus.native.compression.level=5 - name: Upload Native Binary - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: native-executable-${{ matrix.arch }} path: build/*-runner @@ -122,17 +122,26 @@ jobs: -subj "/C=US/ST=SC/L=Hometown/O=IT/emailAddress=root@localhost/CN=localhost" - name: Download AMD64 Binary - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: name: native-executable-amd64 path: build/amd64 + - name: Display structure of downloaded files amd64 + run: ls -R build/amd64 + - name: Download ARM64 Binary - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: name: native-executable-arm64 path: build/arm64 + - name: Display structure of downloaded files arm64 + run: ls -R build/arm64 + + - name: Display structure of downloaded files + run: ls -R + - name: Set up QEMU uses: docker/setup-qemu-action@v3 From adb0b3dc5696f3d3924dee8b4b4e174cd33033f4 Mon Sep 17 00:00:00 2001 From: Eduardo Folly Date: Mon, 2 Mar 2026 21:55:40 -0300 Subject: [PATCH 13/22] =?UTF-8?q?=F0=9F=92=9A=20Fix=20CI=20script=20and=20?= =?UTF-8?q?dockerfile.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/main.yml | 9 --------- src/main/docker/Dockerfile.native-multi-arch | 3 ++- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e808f91..0357abc 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -127,21 +127,12 @@ jobs: name: native-executable-amd64 path: build/amd64 - - name: Display structure of downloaded files amd64 - run: ls -R build/amd64 - - name: Download ARM64 Binary uses: actions/download-artifact@v8 with: name: native-executable-arm64 path: build/arm64 - - name: Display structure of downloaded files arm64 - run: ls -R build/arm64 - - - name: Display structure of downloaded files - run: ls -R - - name: Set up QEMU uses: docker/setup-qemu-action@v3 diff --git a/src/main/docker/Dockerfile.native-multi-arch b/src/main/docker/Dockerfile.native-multi-arch index 908c81a..8173d50 100644 --- a/src/main/docker/Dockerfile.native-multi-arch +++ b/src/main/docker/Dockerfile.native-multi-arch @@ -7,7 +7,8 @@ RUN chown 1001 /work \ && chmod "g+rwX" /work \ && chown 1001:root /work -COPY --chown=1001:root --chmod=0755 build/${TARGETARCH}/*-runner /work/httpbucket +COPY --chown=1001:root build/${TARGETARCH}/*-runner /work/httpbucket +RUN chmod +x /work/httpbucket COPY --chown=1001:root cert.pem /work/cert.pem COPY --chown=1001:root key.pem /work/key.pem From db3875c319b87763903907484148503c12893c4a Mon Sep 17 00:00:00 2001 From: Eduardo Folly Date: Mon, 2 Mar 2026 22:08:30 -0300 Subject: [PATCH 14/22] =?UTF-8?q?=F0=9F=92=9A=20Fix=20.dockerignore?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .dockerignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.dockerignore b/.dockerignore index 0922a42..6b91788 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,5 +1,6 @@ * !build/*-runner +!build/**/*-runner !build/*-runner.jar !build/lib/* !build/quarkus-app/* From bc2714a2427c8211d51c6e850337586988e1ad62 Mon Sep 17 00:00:00 2001 From: Eduardo Folly Date: Mon, 2 Mar 2026 22:21:18 -0300 Subject: [PATCH 15/22] =?UTF-8?q?=F0=9F=92=9A=20Fix=20CI=20permissions.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0357abc..cff45a7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -105,6 +105,8 @@ jobs: - build-native timeout-minutes: 10 runs-on: ubuntu-latest + permissions: + contents: write steps: - name: Code checkout uses: actions/checkout@v6 From 8705b323fb730454d892794c9579567cf7fe649c Mon Sep 17 00:00:00 2001 From: Eduardo Folly Date: Tue, 3 Mar 2026 12:27:37 -0300 Subject: [PATCH 16/22] =?UTF-8?q?=F0=9F=92=9A=20Fix=20CI=20script.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/main.yml | 43 +++++++++++++++++++++++++++++++++++++- 1 file changed, 42 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cff45a7..ba10dab 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -50,6 +50,40 @@ jobs: - name: Run linter run: ktlint + - name: Setup Java + uses: actions/setup-java@v5 + with: + distribution: 'adopt' + java-version: '21' + + - name: Setup Gradle + uses: gradle/actions/setup-gradle@v5 + with: + cache-read-only: false + + - name: Generating self-signed certificate + run: | + openssl req \ + -newkey rsa:2048 \ + -new \ + -nodes \ + -x509 \ + -days 2 \ + -keyout key.pem \ + -out cert.pem \ + -subj "/CN=localhost" + + - name: Tests + run: ./gradlew test + + - name: Upload Jacoco Report + uses: actions/upload-artifact@v7 + with: + name: jacoco-report + path: build/jacoco-report + if-no-files-found: error + retention-days: 1 + build-native: needs: prepare timeout-minutes: 10 @@ -89,7 +123,8 @@ jobs: run: | ./gradlew build -Dquarkus.package.jar.enabled=false \ -Dquarkus.native.enabled=true \ - -Dquarkus.native.compression.level=5 + -Dquarkus.native.compression.level=5 \ + -x test - name: Upload Native Binary uses: actions/upload-artifact@v7 @@ -123,6 +158,12 @@ jobs: -out cert.pem \ -subj "/C=US/ST=SC/L=Hometown/O=IT/emailAddress=root@localhost/CN=localhost" + - name: Download Jacoco Report + uses: actions/download-artifact@v8 + with: + name: jacoco-report + path: build/jacoco-report + - name: Download AMD64 Binary uses: actions/download-artifact@v8 with: From 026a454021b2943f0a50e28bd51b7cc77d529988 Mon Sep 17 00:00:00 2001 From: Eduardo Folly Date: Tue, 3 Mar 2026 12:30:20 -0300 Subject: [PATCH 17/22] =?UTF-8?q?=F0=9F=94=96=20Version=20bump=200.3.3.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index 6981310..82f336e 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -36,7 +36,7 @@ dependencies { } group = "com.testainers" -version = "0.3.2" +version = "0.3.3" java { sourceCompatibility = JavaVersion.VERSION_21 From 6758d8947bde535e2ae03a9234e343c2ea4117e9 Mon Sep 17 00:00:00 2001 From: Eduardo Folly Date: Tue, 3 Mar 2026 12:40:44 -0300 Subject: [PATCH 18/22] =?UTF-8?q?=F0=9F=92=9A=20Update=20CI=20timeouts=20a?= =?UTF-8?q?nd=20create=20gradle=20cache.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/main.yml | 31 ++++++++++++++++++------------- build.gradle.kts | 2 +- 2 files changed, 19 insertions(+), 14 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ba10dab..38792d3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,7 +9,7 @@ on: jobs: prepare: - timeout-minutes: 2 + timeout-minutes: 5 runs-on: ubuntu-latest outputs: VERSION: ${{ steps.version.outputs.VERSION }} @@ -107,19 +107,24 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} cache: 'gradle' - - name: Generating self-signed certificate - run: | - openssl req \ - -newkey rsa:2048 \ - -new \ - -nodes \ - -x509 \ - -days 3650 \ - -keyout key.pem \ - -out cert.pem \ - -subj "/C=US/ST=SC/L=Hometown/O=IT/emailAddress=root@localhost/CN=localhost" + - name: Setup Gradle + uses: gradle/actions/setup-gradle@v5 + with: + cache-read-only: false - - name: Tests & Build Native Executable +# - name: Generating self-signed certificate +# run: | +# openssl req \ +# -newkey rsa:2048 \ +# -new \ +# -nodes \ +# -x509 \ +# -days 3650 \ +# -keyout key.pem \ +# -out cert.pem \ +# -subj "/C=US/ST=SC/L=Hometown/O=IT/emailAddress=root@localhost/CN=localhost" + + - name: Build Native Executable run: | ./gradlew build -Dquarkus.package.jar.enabled=false \ -Dquarkus.native.enabled=true \ diff --git a/build.gradle.kts b/build.gradle.kts index 82f336e..0d16acf 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -36,7 +36,7 @@ dependencies { } group = "com.testainers" -version = "0.3.3" +version = "0.3.4" java { sourceCompatibility = JavaVersion.VERSION_21 From e1f9fcc5a0502ec9e2c60b61214147f95e9b41bc Mon Sep 17 00:00:00 2001 From: Eduardo Folly Date: Tue, 3 Mar 2026 12:47:42 -0300 Subject: [PATCH 19/22] =?UTF-8?q?=F0=9F=92=9A=20Remove=20gradle=20cache.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/main.yml | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 38792d3..568767c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -56,11 +56,6 @@ jobs: distribution: 'adopt' java-version: '21' - - name: Setup Gradle - uses: gradle/actions/setup-gradle@v5 - with: - cache-read-only: false - - name: Generating self-signed certificate run: | openssl req \ @@ -107,23 +102,6 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} cache: 'gradle' - - name: Setup Gradle - uses: gradle/actions/setup-gradle@v5 - with: - cache-read-only: false - -# - name: Generating self-signed certificate -# run: | -# openssl req \ -# -newkey rsa:2048 \ -# -new \ -# -nodes \ -# -x509 \ -# -days 3650 \ -# -keyout key.pem \ -# -out cert.pem \ -# -subj "/C=US/ST=SC/L=Hometown/O=IT/emailAddress=root@localhost/CN=localhost" - - name: Build Native Executable run: | ./gradlew build -Dquarkus.package.jar.enabled=false \ @@ -143,7 +121,7 @@ jobs: needs: - prepare - build-native - timeout-minutes: 10 + timeout-minutes: 5 runs-on: ubuntu-latest permissions: contents: write From afa83911f3fbb0ed39cf93c2b4cd12f7c04c66a4 Mon Sep 17 00:00:00 2001 From: Eduardo Folly Date: Tue, 3 Mar 2026 12:49:02 -0300 Subject: [PATCH 20/22] =?UTF-8?q?=F0=9F=94=96=20Version=20bump=200.3.5.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index 0d16acf..eeedf26 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -36,7 +36,7 @@ dependencies { } group = "com.testainers" -version = "0.3.4" +version = "0.3.5" java { sourceCompatibility = JavaVersion.VERSION_21 From f36c0f04c1a3e1a2a22e766e0413e67063f543d0 Mon Sep 17 00:00:00 2001 From: Eduardo Folly Date: Tue, 3 Mar 2026 18:45:20 -0300 Subject: [PATCH 21/22] =?UTF-8?q?=E2=9E=96=20Remove=20Prometheus=20metric?= =?UTF-8?q?=20endpoint.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 +--- build.gradle.kts | 1 - src/main/resources/application.properties | 2 -- 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/README.md b/README.md index 0e8f35a..22f236f 100644 --- a/README.md +++ b/README.md @@ -26,8 +26,7 @@ Thank you for your continued support! ## PIX Sua contribuição ajudará a impulsionar o desenvolvimento de ferramentas de -qualidade para a comunidade de desenvolvedores Flutter e Dart. Qualquer quantia -será apreciada. +qualidade para a comunidade de desenvolvedores. Qualquer quantia será apreciada. Obrigado pelo seu apoio contínuo! [![PIX](helpers/pix.png)](https://nubank.com.br/pagar/2bt2q/RBr4Szfuwr) @@ -92,5 +91,4 @@ openssl req \ - /openapi - /swagger-ui - /health -- /metrics - /info diff --git a/build.gradle.kts b/build.gradle.kts index eeedf26..e2a257f 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -20,7 +20,6 @@ dependencies { ), ) implementation("io.smallrye.config:smallrye-config-source-file-system") - implementation("io.quarkus:quarkus-micrometer-registry-prometheus") implementation("io.quarkus:quarkus-smallrye-openapi") implementation("io.quarkus:quarkus-smallrye-health") implementation("io.quarkus:quarkus-rest") diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 393338d..c4d7bb1 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -17,8 +17,6 @@ quarkus.info.path=/info # quarkus.smallrye-health.root-path=/health # -quarkus.micrometer.export.prometheus.path=/metrics -# quarkus.smallrye-openapi.path=/openapi quarkus.smallrye-openapi.info-title=httpbucket quarkus.smallrye-openapi.security-scheme=basic From aada9e00098dea4350c851b88c26a10e5ed4ee19 Mon Sep 17 00:00:00 2001 From: Eduardo Folly Date: Tue, 3 Mar 2026 18:45:55 -0300 Subject: [PATCH 22/22] =?UTF-8?q?=F0=9F=94=96=20Version=20bump=200.4.0.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index e2a257f..1570639 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -35,7 +35,7 @@ dependencies { } group = "com.testainers" -version = "0.3.5" +version = "0.4.0" java { sourceCompatibility = JavaVersion.VERSION_21