Skip to content

Commit

Permalink
chore: merge e2e tests with cel e2e tests
Browse files Browse the repository at this point in the history
Signed-off-by: Charles-Edouard Brétéché <[email protected]>
  • Loading branch information
eddycharly committed Oct 8, 2024
1 parent 4892527 commit 7c4337b
Show file tree
Hide file tree
Showing 3 changed files with 201 additions and 53 deletions.
11 changes: 0 additions & 11 deletions .github/workflows/cel-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,6 @@ jobs:
- name: v1.31
version: v1.31.0
tests:
- ^argo-cel$
- ^aws-cel$
- ^best-practices-cel$
- ^consul-cel$
- ^flux-cel$
- ^istio-cel$
- ^kasten-cel$
- ^kubecost-cel$
- ^linkerd-cel$
- ^nginx-ingress-cel$
- ^openshift-cel$
- ^other-cel$/^a
- ^other-cel$/^[b-d]
- ^other-cel$/^[e-l]
Expand Down
201 changes: 201 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,24 @@ jobs:
with:
path: argo

argo-cel:
strategy:
fail-fast: false
matrix:
k8s-version: [v1.28.13,v1.29.8,v1.30.4,v1.31.0]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- name: Setup Environment
uses: ./.github/actions/setup-env
with:
k8s-version: ${{ matrix.k8s-version }}
- name: Run Tests
uses: ./.github/actions/run-tests
with:
path: argo-cel

aws:
strategy:
fail-fast: false
Expand All @@ -52,6 +70,24 @@ jobs:
with:
path: aws

aws-cel:
strategy:
fail-fast: false
matrix:
k8s-version: [v1.28.13,v1.29.8,v1.30.4,v1.31.0]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- name: Setup Environment
uses: ./.github/actions/setup-env
with:
k8s-version: ${{ matrix.k8s-version }}
- name: Run Tests
uses: ./.github/actions/run-tests
with:
path: aws-cel

best-practices:
strategy:
fail-fast: false
Expand All @@ -73,6 +109,27 @@ jobs:
shard-index: ${{ matrix.shard-index }}
shard-count: 2

best-practices-cel:
strategy:
fail-fast: false
matrix:
k8s-version: [v1.28.13,v1.29.8,v1.30.4,v1.31.0]
shard-index: [0,1]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- name: Setup Environment
uses: ./.github/actions/setup-env
with:
k8s-version: ${{ matrix.k8s-version }}
- name: Run Tests
uses: ./.github/actions/run-tests
with:
path: best-practices-cel
shard-index: ${{ matrix.shard-index }}
shard-count: 2

castai:
strategy:
fail-fast: false
Expand Down Expand Up @@ -145,6 +202,24 @@ jobs:
with:
path: consul

consul-cel:
strategy:
fail-fast: false
matrix:
k8s-version: [v1.28.13,v1.29.8,v1.30.4,v1.31.0]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- name: Setup Environment
uses: ./.github/actions/setup-env
with:
k8s-version: ${{ matrix.k8s-version }}
- name: Run Tests
uses: ./.github/actions/run-tests
with:
path: consul-cel

external-secret-operator:
strategy:
fail-fast: false
Expand Down Expand Up @@ -181,6 +256,24 @@ jobs:
with:
path: flux

flux-cel:
strategy:
fail-fast: false
matrix:
k8s-version: [v1.28.13,v1.29.8,v1.30.4,v1.31.0]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- name: Setup Environment
uses: ./.github/actions/setup-env
with:
k8s-version: ${{ matrix.k8s-version }}
- name: Run Tests
uses: ./.github/actions/run-tests
with:
path: flux-cel

istio:
strategy:
fail-fast: false
Expand All @@ -199,6 +292,24 @@ jobs:
with:
path: istio

istio-cel:
strategy:
fail-fast: false
matrix:
k8s-version: [v1.28.13,v1.29.8,v1.30.4,v1.31.0]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- name: Setup Environment
uses: ./.github/actions/setup-env
with:
k8s-version: ${{ matrix.k8s-version }}
- name: Run Tests
uses: ./.github/actions/run-tests
with:
path: istio-cel

karpenter:
strategy:
fail-fast: false
Expand Down Expand Up @@ -235,6 +346,24 @@ jobs:
with:
path: kasten

kasten-cel:
strategy:
fail-fast: false
matrix:
k8s-version: [v1.28.13,v1.29.8,v1.30.4,v1.31.0]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- name: Setup Environment
uses: ./.github/actions/setup-env
with:
k8s-version: ${{ matrix.k8s-version }}
- name: Run Tests
uses: ./.github/actions/run-tests
with:
path: kasten-cel

kubecost:
strategy:
fail-fast: false
Expand All @@ -253,6 +382,24 @@ jobs:
with:
path: kubecost

kubecost-cel:
strategy:
fail-fast: false
matrix:
k8s-version: [v1.28.13,v1.29.8,v1.30.4,v1.31.0]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- name: Setup Environment
uses: ./.github/actions/setup-env
with:
k8s-version: ${{ matrix.k8s-version }}
- name: Run Tests
uses: ./.github/actions/run-tests
with:
path: kubecost-cel

kubeops:
strategy:
fail-fast: false
Expand Down Expand Up @@ -307,6 +454,24 @@ jobs:
with:
path: linkerd

linkerd-cel:
strategy:
fail-fast: false
matrix:
k8s-version: [v1.28.13,v1.29.8,v1.30.4,v1.31.0]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- name: Setup Environment
uses: ./.github/actions/setup-env
with:
k8s-version: ${{ matrix.k8s-version }}
- name: Run Tests
uses: ./.github/actions/run-tests
with:
path: linkerd-cel

nginx-ingress:
strategy:
fail-fast: false
Expand All @@ -325,6 +490,24 @@ jobs:
with:
path: nginx-ingress

nginx-ingress-cel:
strategy:
fail-fast: false
matrix:
k8s-version: [v1.28.13,v1.29.8,v1.30.4,v1.31.0]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- name: Setup Environment
uses: ./.github/actions/setup-env
with:
k8s-version: ${{ matrix.k8s-version }}
- name: Run Tests
uses: ./.github/actions/run-tests
with:
path: nginx-ingress-cel

openshift:
strategy:
fail-fast: false
Expand All @@ -343,6 +526,24 @@ jobs:
with:
path: openshift

openshift-cel:
strategy:
fail-fast: false
matrix:
k8s-version: [v1.28.13,v1.29.8,v1.30.4,v1.31.0]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- name: Setup Environment
uses: ./.github/actions/setup-env
with:
k8s-version: ${{ matrix.k8s-version }}
- name: Run Tests
uses: ./.github/actions/run-tests
with:
path: openshift-cel

other:
strategy:
fail-fast: false
Expand Down
42 changes: 0 additions & 42 deletions .hack/restructure.sh

This file was deleted.

0 comments on commit 7c4337b

Please sign in to comment.