Skip to content

Commit 876a734

Browse files
shruthis4akram
authored andcommitted
Squash and merge changes from upstrem/rhoai-3.2
1 parent 8714a45 commit 876a734

2 files changed

Lines changed: 44 additions & 0 deletions

File tree

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Release Spark Operator Charts
2+
3+
on:
4+
push:
5+
branches:
6+
- odh
7+
paths:
8+
- charts/spark-operator-chart/Chart.yaml
9+
- charts/spark-operator-chart/values.yaml
10+
11+
jobs:
12+
release:
13+
# IMPORTANT: These permissions allow the action to write to your repo
14+
permissions:
15+
contents: write
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Checkout
19+
uses: actions/checkout@v6
20+
with:
21+
fetch-depth: 0
22+
23+
- name: Configure Git
24+
run: |
25+
git config user.name "$GITHUB_ACTOR"
26+
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
27+
28+
- name: Install Helm
29+
uses: azure/setup-helm@v4.3.0
30+
31+
- name: Run chart-releaser
32+
uses: helm/chart-releaser-action@v1.7.0
33+
with:
34+
config: cr.yaml
35+
env:
36+
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

cr.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Chart Releaser configuration
2+
owner: opendatahub-io
3+
git-repo: spark-operator
4+
charts-repo-url: https://opendatahub-io.github.io/spark-operator
5+
pages-branch: gh-pages
6+
charts-dir: charts
7+
release-name-template: "{{ .Name }}-{{ .Version }}"
8+

0 commit comments

Comments
 (0)