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
21 changes: 21 additions & 0 deletions .github/workflows/lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,27 @@ jobs:
- name: Run chart-testing (lint)
run: ct lint --all

- name: Build dependencies (if any)
run: |
helm dependency build charts/invenio || true

# TODO: at some point we might want to add --kube-version
- name: Render manifests (helm template)
run: |
for vf in charts/invenio/ci/*-values.yaml; do
name="$(basename "$vf" .yaml)"
out="/tmp/invenio-${name}.yaml"
echo "--- Rendering with $vf -> $out"
helm template invenio-tmpl ./charts/invenio -f "$vf" > "$out"
done

- name: Upload rendered manifests
uses: actions/upload-artifact@v4
with:
name: invenio-templates
path: /tmp/invenio-*.yaml
if-no-files-found: error

# - name: create kind cluster
# if: steps.list-changed.outputs.changed == 'true'
# uses: helm/kind-action@v1.12.0
Expand Down
33 changes: 33 additions & 0 deletions charts/invenio/ci/minimal-values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
invenio:
init: true
hostname: "my-site.local"

# Slim down for testing
web:
replicas: 1

worker:
replicas: 1

redis:
replica:
replicaCount: 1

opensearch:
master:
replicaCount: 1
ingest:
enabled: false
data:
replicaCount: 1
coordinating:
replicaCount: 0

postgresql:
auth:
password: should-use-secrets

rabbitmq:
enabled: true
auth:
password: should-use-secrets