Skip to content

Commit cc65e4a

Browse files
authored
Merge pull request #57 from manics/omero-web-update
OMERO.web 5.29.3-1
2 parents ad5b5ef + dc159e2 commit cc65e4a

File tree

4 files changed

+17
-3
lines changed

4 files changed

+17
-3
lines changed

ci/test.sh

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ display_logs() {
3636

3737
set -eux
3838

39+
fold_start "installing postgresql omero-server omero-web"
3940
IP=$(hostname -I | awk '{print $1}')
4041

4142
TEST_NAMESPACE=omero-test
@@ -49,6 +50,7 @@ helm upgrade --install omero-server --namespace $TEST_NAMESPACE --create-namespa
4950
helm dependency update ./omero-web/
5051
helm upgrade --install omero-web --namespace $TEST_NAMESPACE --create-namespace \
5152
./omero-web/ -f test-omero-web.yaml
53+
fold_end
5254

5355
fold_start "waiting for omero-server"
5456
n=0
@@ -90,15 +92,21 @@ until [ "`kubectl_retry -n $TEST_NAMESPACE get deploy omero-web -o jsonpath='{.s
9092
done
9193
fold_end
9294

93-
echo "Importing image"
95+
# Display logs if tests fail
96+
trap display_logs EXIT
97+
98+
fold_start "importing image"
9499
OMERO_PORT=$(kubectl -n $TEST_NAMESPACE get svc omero-server -o jsonpath='{.spec.ports[0].nodePort}')
95100
omero login -s root@localhost:$OMERO_PORT -w omero
96101
omero import -T Dataset:name:test ci/opengraph-repo-image.jpg
97102
omero logout
98103
omero login -s wss://localhost/omero-ws -u root -w omero
99104
omero import -T Dataset:name:testws ci/opengraph-repo-image.jpg
100105
omero logout
106+
fold_end
101107

108+
fold_start "pytest"
102109
SERVER="https://localhost" pytest ci/test_image.py
110+
fold_end
103111

104112
display_logs

omero-web/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v1
2-
appVersion: 5.29.2
2+
appVersion: 5.29.3-1
33
description: OMERO.web
44
name: omero-web
5-
version: 0.4.10
5+
version: 0.4.11
66
icon: https://www.openmicroscopy.org/img/logos/omero-logomark.svg

omero-web/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ affinity: {}
6767

6868
redis:
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:

test-postgresql.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
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

0 commit comments

Comments
 (0)