Skip to content

Commit 5045ac9

Browse files
authored
Merge branch 'main' into simplify-cel-host-ports
2 parents a50b82a + 72901e6 commit 5045ac9

File tree

1,667 files changed

+10877
-7928
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,667 files changed

+10877
-7928
lines changed

.chainsaw.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ spec:
1616
fullName: true
1717
forceTerminationGracePeriod: 5s
1818
delayBeforeCleanup: 3s
19+

.github/actions/run-tests/action.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,12 @@ inputs:
77
runs:
88
using: "composite"
99
steps:
10+
- name: Install Cosign
11+
uses: sigstore/cosign-installer@4959ce089c160fddf62f7b42464195ba1a56d382 # v3.6.0
1012
- name: Install Chainsaw
11-
uses: kyverno/action-install-chainsaw@82d8e747037f840e0ef9bdd97ecdc617f5535bdc # v0.2.8
13+
uses: kyverno/action-install-chainsaw@d1a61148c0437a66760d11d8575332305c2234cb # v0.2.10
14+
with:
15+
verify: true
1216
- name: Test with Chainsaw
1317
shell: bash
1418
run: |

.github/dependabot.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
version: 2
22
updates:
33
- package-ecosystem: github-actions
4-
directory: /
4+
directories:
5+
- /
6+
- /.github/actions/*/
57
schedule:
68
interval: daily

.github/workflows/cel-test.yml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name: E2E Tests - CEL
33
permissions: {}
44

55
on:
6-
workflow_dispatch: {}
76
pull_request:
87
branches:
9-
- 'main'
8+
- main
9+
- release-*
1010

1111
concurrency:
1212
group: ${{ github.workflow }}-${{ github.ref }}
@@ -18,16 +18,14 @@ jobs:
1818
fail-fast: false
1919
matrix:
2020
k8s-version:
21-
- name: v1.25
22-
version: v1.25.16
23-
- name: v1.26
24-
version: v1.26.14
25-
- name: v1.27
26-
version: v1.27.11
2721
- name: v1.28
28-
version: v1.28.7
22+
version: v1.28.13
2923
- name: v1.29
30-
version: v1.29.2
24+
version: v1.29.8
25+
- name: v1.30
26+
version: v1.30.4
27+
- name: v1.31
28+
version: v1.31.0
3129
tests:
3230
- ^argo-cel$
3331
- ^aws-cel$
@@ -49,7 +47,10 @@ jobs:
4947
- ^other-cel$/^[s-z]
5048
- ^pod-security-cel$
5149
- ^psa-cel$
50+
- ^psp-migration-cel$
5251
- ^traefik-cel$
52+
- ^tekton-cel$
53+
- ^velero-cel$
5354
runs-on: ubuntu-latest
5455
name: ${{ matrix.k8s-version.name }} - ${{ matrix.tests }}
5556
steps:

.github/workflows/check-actions.yaml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,10 @@ name: Check actions
33
permissions: {}
44

55
on:
6-
push:
7-
branches:
8-
- '*'
96
pull_request:
107
branches:
11-
- 'main'
12-
- 'release*'
8+
- main
9+
- release-*
1310

1411
jobs:
1512
check:
@@ -18,7 +15,7 @@ jobs:
1815
- name: Checkout
1916
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
2017
- name: Ensure SHA pinned actions
21-
uses: zgosalvez/github-actions-ensure-sha-pinned-actions@b88cd0aad2c36a63e42c71f81cb1958fed95ac87 # v3.0.10
18+
uses: zgosalvez/github-actions-ensure-sha-pinned-actions@b8f9a25a51fe633d9215ac7734854dc11cd299cb # v3.0.13
2219
with:
2320
allowlist: |
2421
kyverno/chainsaw
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Verify codegen
2+
3+
permissions: {}
4+
5+
on:
6+
pull_request:
7+
branches:
8+
- main
9+
- release-*
10+
11+
concurrency:
12+
group: ${{ github.workflow }}-${{ github.ref }}
13+
cancel-in-progress: true
14+
15+
jobs:
16+
verify-e2e-workflow:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
21+
- name: Set up Go
22+
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
23+
with:
24+
go-version-file: .hack/chainsaw-matrix/go.mod
25+
cache-dependency-path: .hack/chainsaw-matrix/go.sum
26+
- name: Generate workflow
27+
run: |
28+
set -e
29+
(cd .hack/chainsaw-matrix && go run . > ../../.github/workflows/test.yml)
30+
- name: Check diff
31+
run: |
32+
set -e
33+
git --no-pager diff .
34+
git diff --quiet --exit-code .

.github/workflows/ci.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,10 @@ name: Policy Test
33
permissions: {}
44

55
on:
6-
push:
7-
branches:
8-
- '*'
96
pull_request:
107
branches:
118
- main
12-
- release*
9+
- release-*
1310

1411
concurrency:
1512
group: ${{ github.workflow }}-${{ github.ref }}
@@ -29,6 +26,7 @@ jobs:
2926
- name: Run ah lint
3027
working-directory: .
3128
run: ah lint -k kyverno
29+
3230
test:
3331
runs-on: ubuntu-latest
3432
steps:

0 commit comments

Comments
 (0)