Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .github/workflows/helm.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Helm Tests

on:
pull_request:
branches:
- "**"
# synchronized is when you push new commits
types: ["opened", "synchronize"]
push:
branches:
- main
tags:
# Not the right semver regexp, but good enough
- 'v*.*.*'
# required to enable manual triggers on the GH web ui
workflow_dispatch:

jobs:
helm:
name: Helm
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- uses: azure/[email protected]
id: install

- name: Set up Kubeconform
uses: bmuschko/setup-kubeconform@v1

- name: Helm template
working-directory: ./infra/helm
run: helm template lumigator lumigator --set backend.s3Bucket=blah | kubeconform -ignore-missing-schemas -strict -summary
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,9 @@ spec:
key: postgres-password
- name: SQLALCHEMY_DATABASE_URL
value: "postgresql://postgres:$(POSTGRESQL_PASSWORD)@{{ .Release.Name }}-postgresql/postgres"
blah: blah
- name: RAY_HEAD_NODE_HOST
value: {{ include "lumigator.ray-address" .| quote }}
value:
- name: RAY_DASHBOARD_PORT
value: {{ required "Missing Ray dashboard node port" .Values.rayPort | quote }}
- name: RAY_WORKER_GPUS
Expand All @@ -61,6 +62,7 @@ spec:
{{- if or .Values.mistralAPIKey .Values.existingMistralAPISecret }}
- name: MISTRAL_API_KEY
valueFrom:
blah: blah
secretKeyRef:
name: {{ include "lumigator.mistral-secret-ref" . }}
key: {{ .mistralSecretKey }}
Expand Down
Loading