mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-28 02:18:15 +00:00
chore: add a timeout to setup-build-env action (#8153)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
This commit is contained in:
parent
af786b1504
commit
147e3197c4
14 changed files with 23 additions and 0 deletions
1
.github/workflows/cli.yaml
vendored
1
.github/workflows/cli.yaml
vendored
|
@ -24,6 +24,7 @@ jobs:
|
|||
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
|
||||
- name: Setup build env
|
||||
uses: ./.github/actions/setup-build-env
|
||||
timeout-minutes: 6
|
||||
with:
|
||||
build-cache-key: cli-test
|
||||
- name: Setup TEST_GIT_BRANCH
|
||||
|
|
1
.github/workflows/codecov.yaml
vendored
1
.github/workflows/codecov.yaml
vendored
|
@ -23,6 +23,7 @@ jobs:
|
|||
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
|
||||
- name: Setup build env
|
||||
uses: ./.github/actions/setup-build-env
|
||||
timeout-minutes: 6
|
||||
with:
|
||||
build-cache-key: codecov
|
||||
- name: Generate Code Coverage Report
|
||||
|
|
6
.github/workflows/conformance.yaml
vendored
6
.github/workflows/conformance.yaml
vendored
|
@ -20,6 +20,7 @@ jobs:
|
|||
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
|
||||
- name: Setup build env
|
||||
uses: ./.github/actions/setup-build-env
|
||||
timeout-minutes: 6
|
||||
with:
|
||||
build-cache-key: build-images
|
||||
- name: ko build
|
||||
|
@ -80,6 +81,7 @@ jobs:
|
|||
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
|
||||
- name: Setup build env
|
||||
uses: ./.github/actions/setup-build-env
|
||||
timeout-minutes: 6
|
||||
with:
|
||||
build-cache-key: run-conformance
|
||||
- name: Create kind cluster
|
||||
|
@ -140,6 +142,7 @@ jobs:
|
|||
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
|
||||
- name: Setup build env
|
||||
uses: ./.github/actions/setup-build-env
|
||||
timeout-minutes: 6
|
||||
with:
|
||||
build-cache-key: run-conformance
|
||||
- name: Create kind cluster
|
||||
|
@ -200,6 +203,7 @@ jobs:
|
|||
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
|
||||
- name: Setup build env
|
||||
uses: ./.github/actions/setup-build-env
|
||||
timeout-minutes: 6
|
||||
with:
|
||||
build-cache-key: run-conformance
|
||||
- name: Create kind cluster
|
||||
|
@ -258,6 +262,7 @@ jobs:
|
|||
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
|
||||
- name: Setup build env
|
||||
uses: ./.github/actions/setup-build-env
|
||||
timeout-minutes: 6
|
||||
with:
|
||||
build-cache-key: run-conformance
|
||||
- name: Create kind cluster
|
||||
|
@ -349,6 +354,7 @@ jobs:
|
|||
path: policies
|
||||
- name: Setup build env
|
||||
uses: ./.github/actions/setup-build-env
|
||||
timeout-minutes: 6
|
||||
with:
|
||||
build-cache-key: run-conformance
|
||||
- name: Create kind cluster
|
||||
|
|
1
.github/workflows/fossa.yml
vendored
1
.github/workflows/fossa.yml
vendored
|
@ -25,6 +25,7 @@ jobs:
|
|||
- name: Setup build env
|
||||
if: steps.checksecret.outputs.result == 'true'
|
||||
uses: ./.github/actions/setup-build-env
|
||||
timeout-minutes: 6
|
||||
- name: Run FOSSA analysis
|
||||
if: steps.checksecret.outputs.result == 'true'
|
||||
uses: fossas/fossa-action@f61a4c0c263690f2ddb54b9822a719c25a7b608f # v1.3.1
|
||||
|
|
2
.github/workflows/helm-release.yaml
vendored
2
.github/workflows/helm-release.yaml
vendored
|
@ -18,6 +18,7 @@ jobs:
|
|||
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
|
||||
- name: Setup build env
|
||||
uses: ./.github/actions/setup-build-env
|
||||
timeout-minutes: 6
|
||||
- uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0
|
||||
with:
|
||||
python-version: 3.7
|
||||
|
@ -51,6 +52,7 @@ jobs:
|
|||
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
|
||||
- name: Setup build env
|
||||
uses: ./.github/actions/setup-build-env
|
||||
timeout-minutes: 6
|
||||
|
||||
- name: Install Helm
|
||||
uses: azure/setup-helm@5119fcb9089d432beecbf79bb2c7915207344b78 # v3.5
|
||||
|
|
1
.github/workflows/helm-test.yaml
vendored
1
.github/workflows/helm-test.yaml
vendored
|
@ -23,6 +23,7 @@ jobs:
|
|||
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
|
||||
- name: Setup build env
|
||||
uses: ./.github/actions/setup-build-env
|
||||
timeout-minutes: 6
|
||||
with:
|
||||
build-cache-key: helm-tests
|
||||
- name: Setup python
|
||||
|
|
1
.github/workflows/images-build.yaml
vendored
1
.github/workflows/images-build.yaml
vendored
|
@ -19,6 +19,7 @@ jobs:
|
|||
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
|
||||
- name: Setup build env
|
||||
uses: ./.github/actions/setup-build-env
|
||||
timeout-minutes: 6
|
||||
with:
|
||||
build-cache-key: build-images
|
||||
- name: ko build
|
||||
|
|
1
.github/workflows/images-publish.yaml
vendored
1
.github/workflows/images-publish.yaml
vendored
|
@ -30,6 +30,7 @@ jobs:
|
|||
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
|
||||
- name: Setup build env
|
||||
uses: ./.github/actions/setup-build-env
|
||||
timeout-minutes: 6
|
||||
with:
|
||||
build-cache-key: publish-images
|
||||
- name: Run Trivy vulnerability scanner in repo mode
|
||||
|
|
1
.github/workflows/lint.yaml
vendored
1
.github/workflows/lint.yaml
vendored
|
@ -23,6 +23,7 @@ jobs:
|
|||
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.5.0
|
||||
- name: Setup build env
|
||||
uses: ./.github/actions/setup-build-env
|
||||
timeout-minutes: 6
|
||||
with:
|
||||
build-cache-key: lint
|
||||
- name: golangci-lint
|
||||
|
|
1
.github/workflows/nancy.yaml
vendored
1
.github/workflows/nancy.yaml
vendored
|
@ -24,6 +24,7 @@ jobs:
|
|||
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
|
||||
- name: Setup build env
|
||||
uses: ./.github/actions/setup-build-env
|
||||
timeout-minutes: 6
|
||||
- name: WriteGoList
|
||||
run: go list -json -m all > go.list
|
||||
- name: Nancy SAST Scan
|
||||
|
|
4
.github/workflows/release.yaml
vendored
4
.github/workflows/release.yaml
vendored
|
@ -25,6 +25,7 @@ jobs:
|
|||
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
|
||||
- name: Setup build env
|
||||
uses: ./.github/actions/setup-build-env
|
||||
timeout-minutes: 6
|
||||
with:
|
||||
build-cache-key: release-images
|
||||
- name: Run Trivy vulnerability scanner in repo mode
|
||||
|
@ -229,6 +230,7 @@ jobs:
|
|||
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
|
||||
- name: Setup build env
|
||||
uses: ./.github/actions/setup-build-env
|
||||
timeout-minutes: 6
|
||||
- uses: creekorful/goreportcard-action@1f35ced8cdac2cba28c9a2f2288a16aacfd507f9 # v1.0
|
||||
- name: Install Cosign
|
||||
uses: sigstore/cosign-installer@6e04d228eb30da1757ee4e1dd75a0ec73a653e06 # v3.1.1
|
||||
|
@ -260,6 +262,7 @@ jobs:
|
|||
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
|
||||
- name: Setup build env
|
||||
uses: ./.github/actions/setup-build-env
|
||||
timeout-minutes: 6
|
||||
- name: Setup Flux CLI
|
||||
uses: fluxcd/flux2/action@22cf986a79a6da2dd1bcd91b5eef763400f0104b # v2.1.0
|
||||
with:
|
||||
|
@ -312,6 +315,7 @@ jobs:
|
|||
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
|
||||
- name: Setup build env
|
||||
uses: ./.github/actions/setup-build-env
|
||||
timeout-minutes: 6
|
||||
- name: Check Tag
|
||||
id: check-tag
|
||||
run: |
|
||||
|
|
1
.github/workflows/sonarcloud.yaml
vendored
1
.github/workflows/sonarcloud.yaml
vendored
|
@ -26,6 +26,7 @@ jobs:
|
|||
- name: Setup build env
|
||||
if: steps.checksecret.outputs.result == 'true'
|
||||
uses: ./.github/actions/setup-build-env
|
||||
timeout-minutes: 6
|
||||
- name: SonarCloud Scan
|
||||
if: steps.checksecret.outputs.result == 'true'
|
||||
uses: sonarsource/sonarcloud-github-action@db501078e936e4b4c8773d1bb949ba9ddb7b6b6a # v1.9
|
||||
|
|
1
.github/workflows/tests.yaml
vendored
1
.github/workflows/tests.yaml
vendored
|
@ -23,6 +23,7 @@ jobs:
|
|||
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
|
||||
- name: Setup build env
|
||||
uses: ./.github/actions/setup-build-env
|
||||
timeout-minutes: 6
|
||||
with:
|
||||
build-cache-key: tests
|
||||
- name: Unit test
|
||||
|
|
1
.github/workflows/verify-codegen.yaml
vendored
1
.github/workflows/verify-codegen.yaml
vendored
|
@ -23,6 +23,7 @@ jobs:
|
|||
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
|
||||
- name: Setup build env
|
||||
uses: ./.github/actions/setup-build-env
|
||||
timeout-minutes: 6
|
||||
with:
|
||||
build-cache-key: verify-codegen
|
||||
- name: Verify generated code is up to date
|
||||
|
|
Loading…
Add table
Reference in a new issue