Skip to content

Commit 7a45cc8

Browse files
committed
FIXUP: KUTTL use linux base image
1 parent 74fac48 commit 7a45cc8

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.github/workflows/test.yaml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -84,25 +84,21 @@ jobs:
8484
run: |
8585
make build-postgres-operator PGO_VERSION=${{ github.sha }}
8686
87-
PGO=$(buildah from scratch)
88-
buildah copy "$PGO" bin/postgres-operator /usr/local/bin/
89-
buildah config --entrypoint '["/usr/local/bin/postgres-operator"]' "$PGO"
90-
buildah commit --rm "$PGO" docker-daemon:localhost/postgres-operator:latest
91-
9287
# Start a Docker container with the working directory mounted.
9388
- name: Start PGO
9489
run: |
9590
kubectl apply -k ./config/namespace; kubectl apply -k ./config/dev
9691
hack/create-kubeconfig.sh postgres-operator pgo
9792
98-
docker run --detach --network host --name 'postgres-operator' \
99-
--workdir '/mnt' --volume "$(pwd):/mnt" \
93+
docker run --detach --network host --read-only \
94+
--volume "$(pwd):/mnt" --workdir '/mnt' --env 'PATH=/mnt/bin' \
10095
--env 'KUBECONFIG=hack/.kube/postgres-operator/pgo' \
10196
--env 'RELATED_IMAGE_PGADMIN=registry.developers.crunchydata.com/crunchydata/crunchy-pgadmin4:centos8-13.4-4.7.3' \
10297
--env 'RELATED_IMAGE_PGBACKREST=registry.developers.crunchydata.com/crunchydata/crunchy-pgbackrest:centos8-2.36-0' \
10398
--env 'RELATED_IMAGE_PGBOUNCER=registry.developers.crunchydata.com/crunchydata/crunchy-pgbouncer:centos8-1.16-0' \
10499
--env 'RELATED_IMAGE_POSTGRES_14=registry.developers.crunchydata.com/crunchydata/crunchy-postgres:centos8-14.1-0' \
105-
localhost/postgres-operator
100+
--name 'postgres-operator' ubuntu \
101+
postgres-operator
106102
107103
- name: Install KUTTL
108104
run: |

0 commit comments

Comments
 (0)