Skip to content

Commit

Permalink
Merge pull request #41 from manics/update
Browse files Browse the repository at this point in the history
omero-server:5.6.10, omero-web:5.24.0
  • Loading branch information
manics authored Feb 1, 2024
2 parents 9bc42d2 + 88d32d5 commit f6329f3
Show file tree
Hide file tree
Showing 9 changed files with 38 additions and 27 deletions.
39 changes: 24 additions & 15 deletions .github/workflows/test_and_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ on:

jobs:
precommit:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
timeout-minutes: 2
name: Run pre-commit
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: pre-commit/[email protected]

test_omero:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
timeout-minutes: 20
name: Test OMERO Helm charts
strategy:
Expand All @@ -25,16 +25,25 @@ jobs:
include:
- k3s-version: v1.21.0+k3s1
helm-version: v3.5.4
- k3s-version: v1.27.3+k3s1
helm-version: v3.12.0
# v4 supports k3s 1.24+
k3s-helm-version: v3
- k3s-version: v1.29.1+k3s1
helm-version: v3.14.0
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
# chartpress requires the full history
fetch-depth: 0

- id: k3s
uses: jupyterhub/action-k3s-helm@v3
- uses: jupyterhub/action-k3s-helm@v3
if: matrix.k3s-helm-version == 'v3'
with:
k3s-version: ${{ matrix.k3s-version }}
helm-version: ${{ matrix.helm-version }}
# This action should export KUBECONFIG

- uses: jupyterhub/action-k3s-helm@v4
if: matrix.k3s-helm-version != 'v3'
with:
k3s-version: ${{ matrix.k3s-version }}
helm-version: ${{ matrix.helm-version }}
Expand All @@ -54,7 +63,7 @@ jobs:

# This job can be used as a required status for Pull Requests
status:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
timeout-minutes: 2
name: Status
needs:
Expand All @@ -67,7 +76,7 @@ jobs:
echo "test_omero: ${{ needs.test_omero.result }}"
publish:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
permissions:
contents: write
name: Publish OMERO Helm charts
Expand All @@ -76,25 +85,25 @@ jobs:
- precommit
- test_omero
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
# chartpress requires the full history
fetch-depth: 0

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"
cache: pip
cache-dependency-path: dev-requirements.txt

- uses: azure/setup-helm@v3
with:
version: v3.5.4
version: v3.14.0

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

- uses: docker/login-action@v2
- uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand Down
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/psf/black
rev: 23.7.0
rev: 24.1.1
hooks:
- id: black
args: [--target-version=py36]
Expand All @@ -9,10 +9,10 @@ repos:
hooks:
- id: beautysh
- repo: https://github.com/gruntwork-io/pre-commit
rev: v0.1.22
rev: v0.1.23
hooks:
- id: helmlint
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.0
rev: v3.1.0
hooks:
- id: prettier
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Kubernetes Helm charts for [OMERO](https://www.openmicroscopy.org/).

Add the OMERO Helm chart repository:

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

Optionally create your OMERO.server and OMERO.web Helm configuration files.
Expand Down
4 changes: 2 additions & 2 deletions omero-server/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
appVersion: 5.6.8
appVersion: 5.6.10
description: OMERO.server
name: omero-server
version: 0.4.3
version: 0.4.4
icon: https://www.openmicroscopy.org/img/logos/omero-logomark.svg
2 changes: 1 addition & 1 deletion omero-server/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ spec:
terminationGracePeriodSeconds: 300
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
image: "{{ .Values.image.repository }}:{{ default .Chart.AppVersion .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
env:
# In openmicroscopy/omero-server these CONFIG envvars have higher
Expand Down
3 changes: 2 additions & 1 deletion omero-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ replicaCount: 1

image:
repository: openmicroscopy/omero-server
tag: 5.6.8
# Default .Chart.AppVersion
tag:
pullPolicy: IfNotPresent

nameOverride: ""
Expand Down
4 changes: 2 additions & 2 deletions omero-web/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
appVersion: 5.22.1
appVersion: 5.24.0
description: OMERO.web
name: omero-web
version: 0.4.3
version: 0.4.4
icon: https://www.openmicroscopy.org/img/logos/omero-logomark.svg
2 changes: 1 addition & 1 deletion omero-web/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
{{- end }}
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
image: "{{ .Values.image.repository }}:{{ default .Chart.AppVersion .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- name: http
Expand Down
3 changes: 2 additions & 1 deletion omero-web/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ replicaCount: 1

image:
repository: openmicroscopy/omero-web-standalone
tag: 5.22.1
# Default .Chart.AppVersion
tag:
pullPolicy: IfNotPresent

nameOverride: ""
Expand Down

0 comments on commit f6329f3

Please sign in to comment.