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
45 changes: 45 additions & 0 deletions .github/workflows/helm-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Helm Lint and Test
on:
pull_request:
branches: [main]
paths:
- 'charts/**'

jobs:
helm-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Helm
uses: azure/setup-helm@v4

- name: Get changed charts
id: changed-charts
run: |
changed=$(git diff --name-only origin/main...HEAD -- charts/ | cut -d'/' -f1-2 | sort -u)
echo "charts<<EOF" >> $GITHUB_OUTPUT
echo "$changed" >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT

- name: Lint changed charts
run: |
for chart in ${{ steps.changed-charts.outputs.charts }}; do
if [ -f "$chart/Chart.yaml" ]; then
echo "Linting $chart..."
helm lint "$chart"
fi
done

- name: Test template rendering
run: |
for chart in ${{ steps.changed-charts.outputs.charts }}; do
if [ -f "$chart/Chart.yaml" ]; then
echo "Testing template for $chart..."
helm template test "$chart"
fi
done

4 changes: 2 additions & 2 deletions charts/bitcoind/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.5.1-dev
version: 0.6.0-dev
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
appVersion: 0.21.0
appVersion: 28.3.0
4 changes: 2 additions & 2 deletions charts/bitcoind/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ spec:
{{- toYaml .Values.resources | nindent 12 }}
{{- if and .Values.descriptor.secretName .Values.descriptor.secretKey }}
- name: descriptor-import
image: lncm/bitcoind:v27.0
image: lnliz/bitcoind:v28.3
command: ['/bin/sh']
args:
- '-c'
Expand Down Expand Up @@ -170,7 +170,7 @@ spec:
{{- end }}
{{- if and .Values.withdrawalDescriptor.secretName .Values.withdrawalDescriptor.secretKey }}
- name: withdrawal-descriptor-import
image: lncm/bitcoind:v27.0
image: lnliz/bitcoind:v28.3
command: ['/bin/sh']
args:
- '-c'
Expand Down
4 changes: 2 additions & 2 deletions charts/bitcoind/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ secrets:
replicaCount: 1

image:
repository: lncm/bitcoind
repository: lnliz/bitcoind
pullPolicy: IfNotPresent
tag: v27.0
tag: v28.3

extraInitContainers: []
sidecarContainers: []
Expand Down