Skip to content

Commit

Permalink
publish chart independently, incremented both chart and image version…
Browse files Browse the repository at this point in the history
…s 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 <andrew.chubatiuk@gmail.com>

* bump chart version

Signed-off-by: Andrew Chubatiuk <andrew.chubatiuk@gmail.com>

---------

Signed-off-by: Andrew Chubatiuk <andrew.chubatiuk@gmail.com>
  • Loading branch information
AndrewChubatiuk committed Apr 13, 2024
1 parent 179ad8b commit 76a7947
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Checkout source code
uses: actions/checkout@v4
with:
fetch-depth: '0'
fetch-depth: 0
- name: Check if build should be skipped
id: skip-check
run: |
Expand Down Expand Up @@ -55,7 +55,6 @@ jobs:
platform=${{ matrix.platform }}
echo "PLATFORM_PAIR=${platform//\//-}" >> $GITHUB_ENV
echo "SCOPE=${platform//\//-}" >> $GITHUB_ENV
- name: Set up QEMU
timeout-minutes: 1
uses: docker/setup-qemu-action@v3
Expand Down Expand Up @@ -93,7 +92,7 @@ jobs:
path: /tmp/digests/*
if-no-files-found: error
retention-days: 1
publish:
publish-image:
runs-on: ubuntu-latest
needs:
- release
Expand Down Expand Up @@ -128,6 +127,16 @@ jobs:
- name: Inspect image
run: |
docker buildx imagetools inspect ${{ env.REGISTRY_IMAGE }}:${{ steps.meta.outputs.version }}
publish-chart:
runs-on: ubuntu-latest
if: needs.publish-image.result == 'success' || needs.publish-image.result == 'skipped'
needs:
- publish-image
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
Expand Down
4 changes: 2 additions & 2 deletions charts/spark-operator-chart/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v2
name: spark-operator
description: A Helm chart for Spark on Kubernetes operator
version: 1.2.3
appVersion: v1beta2-1.4.0-3.5.0
version: 1.2.4
appVersion: v1beta2-1.4.1-3.5.0
keywords:
- spark
home: https://github.com/kubeflow/spark-operator
Expand Down

0 comments on commit 76a7947

Please sign in to comment.