Skip to content

Commit

Permalink
fix: update chart to fix license_status config section
Browse files Browse the repository at this point in the history
  • Loading branch information
ddfreiling committed Aug 7, 2024
1 parent 1fd6605 commit 0e31f7e
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 15 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/chart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: publish helm chart

on:
workflow_dispatch:
workflow_run:
workflows: ["build & publish"]
types:
- completed
push:
branches: ["ci"]
paths:
- "ci/helm-chart/Chart.yaml"

jobs:
chart:
Expand All @@ -15,15 +15,15 @@ jobs:
contents: write
steps:
- uses: actions/checkout@v4
- name: Update chart
run: ./ci/update_chart_version.sh
- name: Commit chart update
run: |
git config user.name "nota-ci"
git config user.email "[email protected]"
git add ci/helm-chart/Chart.yaml
git commit -m "chor(ci): update Chart version" || echo "Nothing to commit"
git push origin ${{ github.ref_name }}
# - name: Update chart
# run: ./ci/update_chart_version.sh
# - name: Commit chart update
# run: |
# git config user.name "nota-ci"
# git config user.email "[email protected]"
# git add ci/helm-chart/Chart.yaml
# git commit -m "chor(ci): update Chart version" || echo "Nothing to commit"
# git push origin ${{ github.ref_name }}
- name: Publish Helm chart
uses: stefanprodan/[email protected]
with:
Expand Down
2 changes: 1 addition & 1 deletion ci/helm-chart/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ home: https://github.com/notalib/readium-lcp-server
keywords:
- "lcp"
- "readium"
version: "1.9.2"
version: "1.9.2-fix1"
appVersion: "1.9.2"
3 changes: 2 additions & 1 deletion ci/helm-chart/config/config.yaml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,5 @@ lsd:
# Read the doc to know more about how to develop a License Gateway.
license_link_url: {{ default ( tpl "{{ .Values.lcp.public_base_url }}/licenses/{license_id}" . ) .Values.links.license | quote }}

{{ toYaml .Values.license_status }}
license_status:
{{ toYaml .Values.license_status | indent 2 }}

0 comments on commit 0e31f7e

Please sign in to comment.