File tree Expand file tree Collapse file tree 4 files changed +17
-3
lines changed Expand file tree Collapse file tree 4 files changed +17
-3
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ display_logs() {
3636
3737set -eux
3838
39+ fold_start " installing postgresql omero-server omero-web"
3940IP=$( hostname -I | awk ' {print $1}' )
4041
4142TEST_NAMESPACE=omero-test
@@ -49,6 +50,7 @@ helm upgrade --install omero-server --namespace $TEST_NAMESPACE --create-namespa
4950helm dependency update ./omero-web/
5051helm upgrade --install omero-web --namespace $TEST_NAMESPACE --create-namespace \
5152 ./omero-web/ -f test-omero-web.yaml
53+ fold_end
5254
5355fold_start " waiting for omero-server"
5456n=0
@@ -90,15 +92,21 @@ until [ "`kubectl_retry -n $TEST_NAMESPACE get deploy omero-web -o jsonpath='{.s
9092done
9193fold_end
9294
93- echo " Importing image"
95+ # Display logs if tests fail
96+ trap display_logs EXIT
97+
98+ fold_start " importing image"
9499OMERO_PORT=$( kubectl -n $TEST_NAMESPACE get svc omero-server -o jsonpath=' {.spec.ports[0].nodePort}' )
95100omero login -s root@localhost:$OMERO_PORT -w omero
96101omero import -T Dataset:name:test ci/opengraph-repo-image.jpg
97102omero logout
98103omero login -s wss://localhost/omero-ws -u root -w omero
99104omero import -T Dataset:name:testws ci/opengraph-repo-image.jpg
100105omero logout
106+ fold_end
101107
108+ fold_start " pytest"
102109SERVER=" https://localhost" pytest ci/test_image.py
110+ fold_end
103111
104112display_logs
Original file line number Diff line number Diff line change 11apiVersion : v1
2- appVersion : 5.29.2
2+ appVersion : 5.29.3-1
33description : OMERO.web
44name : omero-web
5- version : 0.4.10
5+ version : 0.4.11
66icon : https://www.openmicroscopy.org/img/logos/omero-logomark.svg
Original file line number Diff line number Diff line change @@ -67,6 +67,9 @@ affinity: {}
6767
6868redis :
6969 enabled : true
70+ image :
71+ # Temporary workaround for https://github.com/manics/kubernetes-omero/issues/55
72+ repository : bitnamilegacy/redis
7073 architecture : standalone
7174 # TODO: Use the autogenerated redis secret instead
7275 auth :
Original file line number Diff line number Diff line change 11# See https://github.com/bitnami/charts/tree/master/bitnami/postgresql#parameters
22# image:
33# tag: 15.0.0-debian-11-r1
4+ image :
5+ # Temporary workaround for https://github.com/manics/kubernetes-omero/issues/55
6+ repository : bitnamilegacy/postgresql
47
58# TODO: Use the autogenerated postgres secret instead
69
You can’t perform that action at this time.
0 commit comments