File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -84,25 +84,21 @@ jobs:
84
84
run : |
85
85
make build-postgres-operator PGO_VERSION=${{ github.sha }}
86
86
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
-
92
87
# Start a Docker container with the working directory mounted.
93
88
- name : Start PGO
94
89
run : |
95
90
kubectl apply -k ./config/namespace; kubectl apply -k ./config/dev
96
91
hack/create-kubeconfig.sh postgres-operator pgo
97
92
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' \
100
95
--env 'KUBECONFIG=hack/.kube/postgres-operator/pgo' \
101
96
--env 'RELATED_IMAGE_PGADMIN=registry.developers.crunchydata.com/crunchydata/crunchy-pgadmin4:centos8-13.4-4.7.3' \
102
97
--env 'RELATED_IMAGE_PGBACKREST=registry.developers.crunchydata.com/crunchydata/crunchy-pgbackrest:centos8-2.36-0' \
103
98
--env 'RELATED_IMAGE_PGBOUNCER=registry.developers.crunchydata.com/crunchydata/crunchy-pgbouncer:centos8-1.16-0' \
104
99
--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
106
102
107
103
- name : Install KUTTL
108
104
run : |
You can’t perform that action at this time.
0 commit comments