8181 path : envtest-existing.coverage.gz
8282 retention-days : 1
8383
84- e2e-k3d :
84+ e2e-k3d-chainsaw :
8585 runs-on : ubuntu-24.04
8686 needs : [go-test]
8787 strategy :
9999 k3s-channel : " ${{ matrix.kubernetes }}"
100100 prefetch-images : |
101101 registry.developers.crunchydata.com/crunchydata/crunchy-pgbackrest:ubi9-2.56.0-2542
102- registry.developers.crunchydata.com/crunchydata/crunchy-pgbouncer:ubi9-1.24-2542
103- registry.developers.crunchydata.com/crunchydata/crunchy-postgres-exporter:ubi9-0.17.1-2542
104102 registry.developers.crunchydata.com/crunchydata/crunchy-postgres:ubi9-17.6-2542
105103 registry.developers.crunchydata.com/crunchydata/crunchy-postgres:ubi9-16.10-2542
106- registry.developers.crunchydata.com/crunchydata/crunchy-postgres-gis:ubi9-16.10-3.3-2542
107- registry.developers.crunchydata.com/crunchydata/crunchy-postgres-gis:ubi9-16.10-3.4-2542
108- registry.developers.crunchydata.com/crunchydata/crunchy-upgrade:ubi9-18.0-2542
109- registry.developers.crunchydata.com/crunchydata/crunchy-postgres-gis:ubi9-17.6-3.4-2542
110- registry.developers.crunchydata.com/crunchydata/crunchy-postgres-gis:ubi9-17.6-3.5-2542
111- registry.developers.crunchydata.com/crunchydata/crunchy-postgres-gis:ubi9-17.6-3.6-2542
112- registry.developers.crunchydata.com/crunchydata/crunchy-postgres:ubi9-18.0-2542
113- registry.developers.crunchydata.com/crunchydata/crunchy-postgres-gis:ubi9-18.0-3.6-2542
114104
115105 - name : Get pgMonitor files.
116106 run : make get-pgmonitor
@@ -134,14 +124,7 @@ jobs:
134124 --env 'RELATED_IMAGE_PGEXPORTER=registry.developers.crunchydata.com/crunchydata/crunchy-postgres-exporter:ubi9-0.17.1-2542' \
135125 --env 'RELATED_IMAGE_PGUPGRADE=registry.developers.crunchydata.com/crunchydata/crunchy-upgrade:ubi9-18.0-2542' \
136126 --env 'RELATED_IMAGE_POSTGRES_16=registry.developers.crunchydata.com/crunchydata/crunchy-postgres:ubi9-16.10-2542' \
137- --env 'RELATED_IMAGE_POSTGRES_16_GIS_3.3=registry.developers.crunchydata.com/crunchydata/crunchy-postgres-gis:ubi9-16.10-3.3-2542' \
138- --env 'RELATED_IMAGE_POSTGRES_16_GIS_3.4=registry.developers.crunchydata.com/crunchydata/crunchy-postgres-gis:ubi9-16.10-3.4-2542' \
139127 --env 'RELATED_IMAGE_POSTGRES_17=registry.developers.crunchydata.com/crunchydata/crunchy-postgres:ubi9-17.6-2542' \
140- --env 'RELATED_IMAGE_POSTGRES_17_GIS_3.4=registry.developers.crunchydata.com/crunchydata/crunchy-postgres-gis:ubi9-17.6-3.4-2542' \
141- --env 'RELATED_IMAGE_POSTGRES_17_GIS_3.5=registry.developers.crunchydata.com/crunchydata/crunchy-postgres-gis:ubi9-17.6-3.5-2542' \
142- --env 'RELATED_IMAGE_POSTGRES_17_GIS_3.6=registry.developers.crunchydata.com/crunchydata/crunchy-postgres-gis:ubi9-17.6-3.6-2542' \
143- --env 'RELATED_IMAGE_POSTGRES_18=registry.developers.crunchydata.com/crunchydata/crunchy-postgres:ubi9-18.0-2542' \
144- --env 'RELATED_IMAGE_POSTGRES_18_GIS_3.6=registry.developers.crunchydata.com/crunchydata/crunchy-postgres-gis:ubi9-18.0-3.6-2542' \
145128 --env 'RELATED_IMAGE_STANDALONE_PGADMIN=registry.developers.crunchydata.com/crunchydata/crunchy-pgadmin4:ubi9-9.8-2542' \
146129 --env 'RELATED_IMAGE_COLLECTOR=registry.developers.crunchydata.com/crunchydata/postgres-operator:ubi9-5.8.4-0' \
147130 --env 'PGO_FEATURE_GATES=TablespaceVolumes=true,OpenTelemetryLogs=true,OpenTelemetryMetrics=true' \
@@ -153,6 +136,63 @@ jobs:
153136 echo '::group::PGO logs'; docker logs 'postgres-operator'; echo '::endgroup::'
154137 exit $failed
155138
139+ - name : Stop PGO
140+ run : docker stop 'postgres-operator' || true
141+
142+ e2e-k3d-kuttl :
143+ runs-on : ubuntu-24.04
144+ needs : [go-test]
145+ strategy :
146+ fail-fast : false
147+ matrix :
148+ kubernetes : [v1.30, v1.33]
149+ steps :
150+ - uses : actions/checkout@v5
151+ - uses : actions/setup-go@v6
152+ with : { go-version: stable }
153+
154+ - name : Start k3s
155+ uses : ./.github/actions/k3d
156+ with :
157+ k3s-channel : " ${{ matrix.kubernetes }}"
158+ prefetch-timeout : 5m
159+ prefetch-images : |
160+ registry.developers.crunchydata.com/crunchydata/crunchy-pgbackrest:ubi9-2.56.0-2542
161+ registry.developers.crunchydata.com/crunchydata/crunchy-postgres:ubi9-17.6-2542
162+ registry.developers.crunchydata.com/crunchydata/crunchy-postgres:ubi9-16.10-2542
163+ registry.developers.crunchydata.com/crunchydata/crunchy-pgbouncer:ubi9-1.24-2542
164+ registry.developers.crunchydata.com/crunchydata/crunchy-postgres-exporter:ubi9-0.17.1-2542
165+ registry.developers.crunchydata.com/crunchydata/crunchy-upgrade:ubi9-18.0-2542
166+ registry.developers.crunchydata.com/crunchydata/crunchy-pgadmin4:ubi9-9.8-2542
167+
168+ - name : Get pgMonitor files.
169+ run : make get-pgmonitor
170+ env :
171+ PGMONITOR_DIR : " ${{ github.workspace }}/hack/tools/pgmonitor"
172+ QUERIES_CONFIG_DIR : " ${{ github.workspace }}/hack/tools/queries"
173+
174+ # Start a Docker container with the working directory mounted.
175+ - run : make build BUILDAH=docker
176+ - name : Start PGO
177+ run : |
178+ kubectl apply --server-side -k ./config/namespace
179+ kubectl apply --server-side -k ./config/dev
180+ hack/create-kubeconfig.sh postgres-operator pgo
181+ docker run --detach --network host --read-only \
182+ --volume "$(pwd):/mnt" --workdir '/mnt' \
183+ --env 'QUERIES_CONFIG_DIR=/mnt/hack/tools/queries' \
184+ --env 'KUBECONFIG=hack/.kube/postgres-operator/pgo' \
185+ --env 'RELATED_IMAGE_PGBACKREST=registry.developers.crunchydata.com/crunchydata/crunchy-pgbackrest:ubi9-2.56.0-2542' \
186+ --env 'RELATED_IMAGE_PGBOUNCER=registry.developers.crunchydata.com/crunchydata/crunchy-pgbouncer:ubi9-1.24-2542' \
187+ --env 'RELATED_IMAGE_PGEXPORTER=registry.developers.crunchydata.com/crunchydata/crunchy-postgres-exporter:ubi9-0.17.1-2542' \
188+ --env 'RELATED_IMAGE_PGUPGRADE=registry.developers.crunchydata.com/crunchydata/crunchy-upgrade:ubi9-18.0-2542' \
189+ --env 'RELATED_IMAGE_POSTGRES_16=registry.developers.crunchydata.com/crunchydata/crunchy-postgres:ubi9-16.10-2542' \
190+ --env 'RELATED_IMAGE_POSTGRES_17=registry.developers.crunchydata.com/crunchydata/crunchy-postgres:ubi9-17.6-2542' \
191+ --env 'RELATED_IMAGE_STANDALONE_PGADMIN=registry.developers.crunchydata.com/crunchydata/crunchy-pgadmin4:ubi9-9.8-2542' \
192+ --env 'RELATED_IMAGE_COLLECTOR=registry.developers.crunchydata.com/crunchydata/postgres-operator:ubi9-5.8.4-0' \
193+ --env 'PGO_FEATURE_GATES=TablespaceVolumes=true,OpenTelemetryLogs=true,OpenTelemetryMetrics=true' \
194+ --name 'postgres-operator' localhost/postgres-operator
195+
156196 - run : make generate-kuttl
157197 env :
158198 KUTTL_PG_UPGRADE_FROM_VERSION : ' 16'
@@ -175,6 +215,8 @@ jobs:
175215 needs :
176216 - kubernetes-api
177217 - kubernetes-k3d
218+ - e2e-k3d-chainsaw
219+ - e2e-k3d-kuttl
178220 steps :
179221 - uses : actions/checkout@v5
180222 - uses : actions/setup-go@v6
0 commit comments