diff --git a/.github/workflows/helm-lint.yml b/.github/workflows/helm-lint.yml new file mode 100644 index 0000000000..bb1f45ad38 --- /dev/null +++ b/.github/workflows/helm-lint.yml @@ -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<> $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 + diff --git a/charts/bitcoind/Chart.yaml b/charts/bitcoind/Chart.yaml index 6e5be7aa14..4b9ed6b594 100644 --- a/charts/bitcoind/Chart.yaml +++ b/charts/bitcoind/Chart.yaml @@ -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 diff --git a/charts/bitcoind/templates/statefulset.yaml b/charts/bitcoind/templates/statefulset.yaml index ebc2acc43a..655da994b1 100644 --- a/charts/bitcoind/templates/statefulset.yaml +++ b/charts/bitcoind/templates/statefulset.yaml @@ -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' @@ -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' diff --git a/charts/bitcoind/values.yaml b/charts/bitcoind/values.yaml index ffd59a0cfe..64b88a5461 100644 --- a/charts/bitcoind/values.yaml +++ b/charts/bitcoind/values.yaml @@ -10,9 +10,9 @@ secrets: replicaCount: 1 image: - repository: lncm/bitcoind + repository: lnliz/bitcoind pullPolicy: IfNotPresent - tag: v27.0 + tag: v28.3 extraInitContainers: [] sidecarContainers: []