From b3418b6385420c3132bd01f6e7f53bcd6df57de7 Mon Sep 17 00:00:00 2001 From: Jakub Stejskal Date: Tue, 6 Oct 2026 19:23:26 +0200 Subject: [PATCH 1/4] Try to restore cache from operators repo and fix java version for k8s config provider Signed-off-by: Jakub Stejskal --- .github/workflows/reusable-test-integrations.yml | 9 +++++++++ .github/workflows/test-integrations.yml | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/reusable-test-integrations.yml b/.github/workflows/reusable-test-integrations.yml index 9b3fee1..1e140e1 100644 --- a/.github/workflows/reusable-test-integrations.yml +++ b/.github/workflows/reusable-test-integrations.yml @@ -111,6 +111,15 @@ jobs: - name: Install Helm uses: ./.github/actions/dependencies/install-helm + - name: Restore Kafka binaries cache + if: ${{ inputs.clusterOperatorBuild == true }} + uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 + with: + path: docker-images/artifacts/binaries/kafka/archives + key: kafka-binaries-${{ hashFiles('kafka-versions.yaml') }} + restore-keys: | + kafka-binaries- + - name: Build binaries using build-binaries action uses: ./.github/actions/build/build-binaries with: diff --git a/.github/workflows/test-integrations.yml b/.github/workflows/test-integrations.yml index 572570e..4748e0f 100644 --- a/.github/workflows/test-integrations.yml +++ b/.github/workflows/test-integrations.yml @@ -171,7 +171,7 @@ jobs: buildContainers: false modules: "./" nexusCheck: "kafka-kubernetes-config-provider" - javaVersion: "17" + javaVersion: "21" helmChartName: "none" releaseVersion: "6.6.6" imagesLocation: "none" From 8c22196526e86589b0deba56eb4bc7e82d2cacc8 Mon Sep 17 00:00:00 2001 From: Jakub Stejskal Date: Tue, 6 Oct 2026 19:33:44 +0200 Subject: [PATCH 2/4] Add also save cache after build Signed-off-by: Jakub Stejskal --- .github/workflows/reusable-test-integrations.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/reusable-test-integrations.yml b/.github/workflows/reusable-test-integrations.yml index 1e140e1..82f200b 100644 --- a/.github/workflows/reusable-test-integrations.yml +++ b/.github/workflows/reusable-test-integrations.yml @@ -131,6 +131,13 @@ jobs: # Skip just ITs and rerun unit tests in case of flakes MVN_ARGS: "-DskipITs -Dsurefire.rerunFailingTestsCount=5" + - name: Save Kafka binaries cache + if: ${{ inputs.clusterOperatorBuild == true }} + uses: actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 + with: + path: docker-images/artifacts/binaries/kafka/archives + key: kafka-binaries-${{ hashFiles('kafka-versions.yaml') }} + - name: Verify binaries artifact was created run: | if [ ! -f "binaries-${{ inputs.artifactSuffix }}.tar" ]; then From 72d7dd2bb2ac1d7db333c6f488fd91e1672ec3bb Mon Sep 17 00:00:00 2001 From: Jakub Stejskal Date: Tue, 6 Oct 2026 22:07:22 +0200 Subject: [PATCH 3/4] Extend timeout to let workflow to create cache Signed-off-by: Jakub Stejskal --- .github/workflows/reusable-test-integrations.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/reusable-test-integrations.yml b/.github/workflows/reusable-test-integrations.yml index 82f200b..7761d20 100644 --- a/.github/workflows/reusable-test-integrations.yml +++ b/.github/workflows/reusable-test-integrations.yml @@ -77,7 +77,7 @@ jobs: test-build-binaries: name: Build Binaries runs-on: ubuntu-latest - timeout-minutes: 60 + timeout-minutes: 300 steps: - name: Checkout ${{ inputs.repo }} uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 From b3f4a1e466ffc36c84e3c1afbd99bcf1bb3d974c Mon Sep 17 00:00:00 2001 From: Jakub Stejskal Date: Tue, 6 Oct 2026 23:18:50 +0200 Subject: [PATCH 4/4] Change the timeout to 80m Signed-off-by: Jakub Stejskal --- .github/workflows/reusable-test-integrations.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/reusable-test-integrations.yml b/.github/workflows/reusable-test-integrations.yml index 7761d20..128ddca 100644 --- a/.github/workflows/reusable-test-integrations.yml +++ b/.github/workflows/reusable-test-integrations.yml @@ -77,7 +77,7 @@ jobs: test-build-binaries: name: Build Binaries runs-on: ubuntu-latest - timeout-minutes: 300 + timeout-minutes: 80 steps: - name: Checkout ${{ inputs.repo }} uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1