From 1b541290012ff58bd6435321796f96e753df1d61 Mon Sep 17 00:00:00 2001 From: CrazyMax <1951866+crazy-max@users.noreply.github.com> Date: Tue, 19 Dec 2023 10:23:39 +0100 Subject: [PATCH] ci: remove timeout on image job Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com> --- .github/workflows/buildkit.yml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/.github/workflows/buildkit.yml b/.github/workflows/buildkit.yml index d1ceeb3ab798..a77eef798ea0 100644 --- a/.github/workflows/buildkit.yml +++ b/.github/workflows/buildkit.yml @@ -27,7 +27,6 @@ env: IMAGE_NAME: "moby/buildkit" PLATFORMS: "linux/amd64,linux/arm/v7,linux/arm64,linux/s390x,linux/ppc64le,linux/riscv64" DESTDIR: "./bin" - BUILD_TIMEOUT: "900" # 15 minutes jobs: prepare: @@ -161,7 +160,6 @@ jobs: uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx - id: buildx uses: docker/setup-buildx-action@v3 with: version: ${{ env.SETUP_BUILDX_VERSION }} @@ -177,14 +175,8 @@ jobs: - name: Build ${{ needs.prepare.outputs.tag }} run: | - timeout ${BUILD_TIMEOUT} ./hack/images "${{ needs.prepare.outputs.tag }}" "$IMAGE_NAME" "${{ needs.prepare.outputs.push }}" - if [ $? -eq 124 ]; then - echo "::error::Build timed out after ${BUILD_TIMEOUT} seconds" - docker kill --signal=SIGQUIT buildx_buildkit_${{ steps.buildx.outputs.name }} - exit 1 - fi + ./hack/images "${{ needs.prepare.outputs.tag }}" "$IMAGE_NAME" "${{ needs.prepare.outputs.push }}" env: - BUILDX_CMD: docker --debug buildx RELEASE: ${{ startsWith(github.ref, 'refs/tags/v') }} TARGET: ${{ matrix.target-stage }} CACHE_FROM: type=gha,scope=image${{ matrix.target-stage }}