Skip to content

Commit 9e2dcd1

Browse files
committed
test: new custom install scenario to cover rolling update
Refactor custom install suite to allow install different configurations of manager pod. Create a new scenario to trigger rolling update on all deployments with multiple replicas. Signed-off-by: Tomas Turek <[email protected]>
1 parent 01df2a0 commit 9e2dcd1

File tree

10 files changed

+693
-541
lines changed

10 files changed

+693
-541
lines changed

.github/actions/kind-cluster/action.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ inputs:
1717
description: 'install prometheus'
1818
required: true
1919
default: 'false'
20+
nfs-csi:
21+
description: 'install nfs-csi'
22+
required: false
23+
default: 'false'
2024

2125
outputs:
2226
oidc_host:
@@ -110,3 +114,10 @@ runs:
110114
EOF
111115
112116
echo "oidc_host=keycloak-internal.keycloak-system.svc" >> $GITHUB_OUTPUT
117+
118+
- name: Install nfs-csi
119+
if: ${{ inputs.nfs-csi == 'true'}}
120+
id: install-nfs-csi
121+
shell: bash
122+
run: |
123+
kustomize build --enable-helm ./ci/nfs/overlay/ | kubectl apply -f -

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,7 @@ jobs:
375375
uses: ./.github/actions/kind-cluster
376376
with:
377377
config: ./ci/config.yaml
378+
nfs-csi: true
378379

379380
- name: Pull Container image from GHCR
380381
run: |

internal/images/images.go

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,26 @@ const (
3737
ClientServer Image = "RELATED_IMAGE_CLIENT_SERVER"
3838
)
3939

40+
var Images = []Image{
41+
TrillianLogSigner,
42+
TrillianServer,
43+
TrillianDb,
44+
TrillianNetcat,
45+
TrillianCreateTree,
46+
FulcioServer,
47+
RekorRedis,
48+
RekorServer,
49+
RekorSearchUi,
50+
RekorMonitor,
51+
BackfillRedis,
52+
Tuf,
53+
CTLog,
54+
TimestampAuthority,
55+
HttpServer,
56+
SegmentBackup,
57+
ClientServer,
58+
}
59+
4060
//go:generate cp ../../config/default/images.env embed/images.env
4161
//go:embed embed/*
4262
var content embed.FS

test/e2e/custom_install/custom_install_suite_test.go

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)