Skip to content

Commit 76a7947

Browse files
publish chart independently, incremented both chart and image versions to trigger build of both (#1964)
* publish chart independently, incremented both chart and image versions to trigger build of both Signed-off-by: Andrew Chubatiuk <[email protected]> * bump chart version Signed-off-by: Andrew Chubatiuk <[email protected]> --------- Signed-off-by: Andrew Chubatiuk <[email protected]>
1 parent 179ad8b commit 76a7947

File tree

2 files changed

+14
-5
lines changed

2 files changed

+14
-5
lines changed

.github/workflows/release.yaml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Checkout source code
1818
uses: actions/checkout@v4
1919
with:
20-
fetch-depth: '0'
20+
fetch-depth: 0
2121
- name: Check if build should be skipped
2222
id: skip-check
2323
run: |
@@ -55,7 +55,6 @@ jobs:
5555
platform=${{ matrix.platform }}
5656
echo "PLATFORM_PAIR=${platform//\//-}" >> $GITHUB_ENV
5757
echo "SCOPE=${platform//\//-}" >> $GITHUB_ENV
58-
5958
- name: Set up QEMU
6059
timeout-minutes: 1
6160
uses: docker/setup-qemu-action@v3
@@ -93,7 +92,7 @@ jobs:
9392
path: /tmp/digests/*
9493
if-no-files-found: error
9594
retention-days: 1
96-
publish:
95+
publish-image:
9796
runs-on: ubuntu-latest
9897
needs:
9998
- release
@@ -128,6 +127,16 @@ jobs:
128127
- name: Inspect image
129128
run: |
130129
docker buildx imagetools inspect ${{ env.REGISTRY_IMAGE }}:${{ steps.meta.outputs.version }}
130+
publish-chart:
131+
runs-on: ubuntu-latest
132+
if: needs.publish-image.result == 'success' || needs.publish-image.result == 'skipped'
133+
needs:
134+
- publish-image
135+
steps:
136+
- name: Checkout
137+
uses: actions/checkout@v4
138+
with:
139+
fetch-depth: 0
131140
- name: Configure Git
132141
run: |
133142
git config user.name "$GITHUB_ACTOR"

charts/spark-operator-chart/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apiVersion: v2
22
name: spark-operator
33
description: A Helm chart for Spark on Kubernetes operator
4-
version: 1.2.3
5-
appVersion: v1beta2-1.4.0-3.5.0
4+
version: 1.2.4
5+
appVersion: v1beta2-1.4.1-3.5.0
66
keywords:
77
- spark
88
home: https://github.com/kubeflow/spark-operator

0 commit comments

Comments
 (0)