Skip to content

Commit f6329f3

Browse files
authored
Merge pull request #41 from manics/update
omero-server:5.6.10, omero-web:5.24.0
2 parents 9bc42d2 + 88d32d5 commit f6329f3

File tree

9 files changed

+38
-27
lines changed

9 files changed

+38
-27
lines changed

.github/workflows/test_and_publish.yml

+24-15
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@ on:
77

88
jobs:
99
precommit:
10-
runs-on: ubuntu-latest
10+
runs-on: ubuntu-22.04
1111
timeout-minutes: 2
1212
name: Run pre-commit
1313
steps:
14-
- uses: actions/checkout@v3
15-
- uses: actions/setup-python@v4
14+
- uses: actions/checkout@v4
15+
- uses: actions/setup-python@v5
1616
- uses: pre-commit/action@v3.0.0
1717

1818
test_omero:
19-
runs-on: ubuntu-latest
19+
runs-on: ubuntu-22.04
2020
timeout-minutes: 20
2121
name: Test OMERO Helm charts
2222
strategy:
@@ -25,16 +25,25 @@ jobs:
2525
include:
2626
- k3s-version: v1.21.0+k3s1
2727
helm-version: v3.5.4
28-
- k3s-version: v1.27.3+k3s1
29-
helm-version: v3.12.0
28+
# v4 supports k3s 1.24+
29+
k3s-helm-version: v3
30+
- k3s-version: v1.29.1+k3s1
31+
helm-version: v3.14.0
3032
steps:
31-
- uses: actions/checkout@v3
33+
- uses: actions/checkout@v4
3234
with:
3335
# chartpress requires the full history
3436
fetch-depth: 0
3537

36-
- id: k3s
37-
uses: jupyterhub/action-k3s-helm@v3
38+
- uses: jupyterhub/action-k3s-helm@v3
39+
if: matrix.k3s-helm-version == 'v3'
40+
with:
41+
k3s-version: ${{ matrix.k3s-version }}
42+
helm-version: ${{ matrix.helm-version }}
43+
# This action should export KUBECONFIG
44+
45+
- uses: jupyterhub/action-k3s-helm@v4
46+
if: matrix.k3s-helm-version != 'v3'
3847
with:
3948
k3s-version: ${{ matrix.k3s-version }}
4049
helm-version: ${{ matrix.helm-version }}
@@ -54,7 +63,7 @@ jobs:
5463

5564
# This job can be used as a required status for Pull Requests
5665
status:
57-
runs-on: ubuntu-latest
66+
runs-on: ubuntu-22.04
5867
timeout-minutes: 2
5968
name: Status
6069
needs:
@@ -67,7 +76,7 @@ jobs:
6776
echo "test_omero: ${{ needs.test_omero.result }}"
6877
6978
publish:
70-
runs-on: ubuntu-latest
79+
runs-on: ubuntu-22.04
7180
permissions:
7281
contents: write
7382
name: Publish OMERO Helm charts
@@ -76,25 +85,25 @@ jobs:
7685
- precommit
7786
- test_omero
7887
steps:
79-
- uses: actions/checkout@v3
88+
- uses: actions/checkout@v4
8089
with:
8190
# chartpress requires the full history
8291
fetch-depth: 0
8392

84-
- uses: actions/setup-python@v4
93+
- uses: actions/setup-python@v5
8594
with:
8695
python-version: "3.10"
8796
cache: pip
8897
cache-dependency-path: dev-requirements.txt
8998

9099
- uses: azure/setup-helm@v3
91100
with:
92-
version: v3.5.4
101+
version: v3.14.0
93102

94103
- name: Install dependencies
95104
run: pip install -r dev-requirements.txt
96105

97-
- uses: docker/login-action@v2
106+
- uses: docker/login-action@v3
98107
with:
99108
username: ${{ secrets.DOCKERHUB_USERNAME }}
100109
password: ${{ secrets.DOCKERHUB_TOKEN }}

.pre-commit-config.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/psf/black
3-
rev: 23.7.0
3+
rev: 24.1.1
44
hooks:
55
- id: black
66
args: [--target-version=py36]
@@ -9,10 +9,10 @@ repos:
99
hooks:
1010
- id: beautysh
1111
- repo: https://github.com/gruntwork-io/pre-commit
12-
rev: v0.1.22
12+
rev: v0.1.23
1313
hooks:
1414
- id: helmlint
1515
- repo: https://github.com/pre-commit/mirrors-prettier
16-
rev: v3.0.0
16+
rev: v3.1.0
1717
hooks:
1818
- id: prettier

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Kubernetes Helm charts for [OMERO](https://www.openmicroscopy.org/).
88

99
Add the OMERO Helm chart repository:
1010

11-
helm repo add omero https://manics.github.io/kubernetes-omero/
11+
helm repo add omero https://www.manicstreetpreacher.co.uk/kubernetes-omero/
1212
helm repo update
1313

1414
Optionally create your OMERO.server and OMERO.web Helm configuration files.

omero-server/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v1
2-
appVersion: 5.6.8
2+
appVersion: 5.6.10
33
description: OMERO.server
44
name: omero-server
5-
version: 0.4.3
5+
version: 0.4.4
66
icon: https://www.openmicroscopy.org/img/logos/omero-logomark.svg

omero-server/templates/statefulset.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ spec:
3131
terminationGracePeriodSeconds: 300
3232
containers:
3333
- name: {{ .Chart.Name }}
34-
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
34+
image: "{{ .Values.image.repository }}:{{ default .Chart.AppVersion .Values.image.tag }}"
3535
imagePullPolicy: {{ .Values.image.pullPolicy }}
3636
env:
3737
# In openmicroscopy/omero-server these CONFIG envvars have higher

omero-server/values.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ replicaCount: 1
66

77
image:
88
repository: openmicroscopy/omero-server
9-
tag: 5.6.8
9+
# Default .Chart.AppVersion
10+
tag:
1011
pullPolicy: IfNotPresent
1112

1213
nameOverride: ""

omero-web/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v1
2-
appVersion: 5.22.1
2+
appVersion: 5.24.0
33
description: OMERO.web
44
name: omero-web
5-
version: 0.4.3
5+
version: 0.4.4
66
icon: https://www.openmicroscopy.org/img/logos/omero-logomark.svg

omero-web/templates/deployment.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ spec:
2828
{{- end }}
2929
containers:
3030
- name: {{ .Chart.Name }}
31-
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
31+
image: "{{ .Values.image.repository }}:{{ default .Chart.AppVersion .Values.image.tag }}"
3232
imagePullPolicy: {{ .Values.image.pullPolicy }}
3333
ports:
3434
- name: http

omero-web/values.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ replicaCount: 1
66

77
image:
88
repository: openmicroscopy/omero-web-standalone
9-
tag: 5.22.1
9+
# Default .Chart.AppVersion
10+
tag:
1011
pullPolicy: IfNotPresent
1112

1213
nameOverride: ""

0 commit comments

Comments
 (0)