From f0a77a8c0decd50bb15536a26a05671bb6e2b597 Mon Sep 17 00:00:00 2001 From: Benedikt Bock Date: Thu, 4 Nov 2021 10:24:18 +0100 Subject: [PATCH] adjust timeouts in CI pipeline Signed-off-by: Benedikt Bock --- .github/workflows/ci.yaml | 5 +++++ .golangci.yml | 1 + 2 files changed, 6 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 575e294..2fb9844 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -213,15 +213,18 @@ jobs: key: ${{ runner.os }}-pkg-${{ hashFiles('**/go.sum') }} restore-keys: | ${{ runner.os }}-pkg- + - name: Vendor Dependencies run: make vendor vendor.check - name: Build Helm Chart + timeout-minutes: 10 run: make -j2 build env: # We're using docker buildx, which doesn't actually load the images it # builds by default. Specifying --load does so. BUILD_ARGS: "--load" + RUNNING_IN_CI: true - name: Run E2E Tests run: make e2e USE_HELM3=true @@ -279,10 +282,12 @@ jobs: - name: Build Artifacts run: make -j2 build.all + timeout-minutes: 10 env: # We're using docker buildx, which doesn't actually load the images it # builds by default. Specifying --load does so. BUILD_ARGS: "--load" + RUNNING_IN_CI: true - name: Publish Artifacts to GitHub uses: actions/upload-artifact@v2 diff --git a/.golangci.yml b/.golangci.yml index 6892fa9..a1356e4 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,5 +1,6 @@ run: deadline: 2m + timeout: 2m skip-files: - "zz_generated\\..+\\.go$"