From 5bfe7e850fb253c822a2aa18da13c5c71b147641 Mon Sep 17 00:00:00 2001 From: iizitounene Date: Wed, 26 Mar 2025 09:48:33 +0100 Subject: [PATCH 1/3] [release-prepare] - Prepare next release 0.1.0 --- helm/spark-web-proxy/Chart.yaml | 2 +- helm/spark-web-proxy/values.sample.yaml | 5 +- helm/spark-web-proxy/values.yaml | 3 +- release-please-config.json | 140 ++++++++++++------------ 4 files changed, 76 insertions(+), 74 deletions(-) diff --git a/helm/spark-web-proxy/Chart.yaml b/helm/spark-web-proxy/Chart.yaml index 557ed51..b608dcf 100644 --- a/helm/spark-web-proxy/Chart.yaml +++ b/helm/spark-web-proxy/Chart.yaml @@ -3,7 +3,7 @@ name: spark-web-proxy description: Helm chart for spark-web-proxy type: application version: 0.1.0 -appVersion: "0.1.0-snapshot" +appVersion: "0.1.0" keywords: - spark - spark-history diff --git a/helm/spark-web-proxy/values.sample.yaml b/helm/spark-web-proxy/values.sample.yaml index 8d8c19e..0f906c4 100644 --- a/helm/spark-web-proxy/values.sample.yaml +++ b/helm/spark-web-proxy/values.sample.yaml @@ -1,9 +1,8 @@ image: - #repository: quay.io/okdp/spark-web-proxy - repository: spark-web-proxy + repository: quay.io/okdp/spark-web-proxy pullPolicy: IfNotPresent # Overrides the image tag whose default is the chart appVersion. - tag: "0.1.0-snapshot" + tag: "0.1.0" configuration: spark: diff --git a/helm/spark-web-proxy/values.yaml b/helm/spark-web-proxy/values.yaml index 59021a1..2f480ce 100644 --- a/helm/spark-web-proxy/values.yaml +++ b/helm/spark-web-proxy/values.yaml @@ -7,7 +7,7 @@ image: # -- Image pull policy. pullPolicy: Always # -- Image tag. - tag: "0.1.0-snapshot" + tag: "0.1.0" # -- Secrets to be used for pulling images from private Docker registries. imagePullSecrets: [] @@ -176,4 +176,3 @@ tolerations: [] # -- Affinity for pod scheduling. affinity: {} - diff --git a/release-please-config.json b/release-please-config.json index 036ed25..a0baddd 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -1,70 +1,74 @@ { - "separate-pull-requests": true, - "include-v-in-tag": true, - "packages": { - "helm/spark-web-proxy": { - "component": "helm-spark-web-proxy", - "initial-version": "3.1.3-1.0.0", - "extra-label": "helm", - "tag-separator": "/", - "changelog-path": "CHANGELOG.md", - "release-type": "helm", - "changelog-type": "default", - "bump-minor-pre-major": false, - "bump-patch-for-minor-pre-major": false, - "draft": false, - "prerelease": false, - "include-component-in-tag": true - }, - "docker": { - "component": "spark-web-proxy", - "initial-version": "1.0.0", - "extra-label": "docker", - "changelog-path": "CHANGELOG.md", - "release-type": "node", - "changelog-type": "default", - "bump-minor-pre-major": false, - "bump-patch-for-minor-pre-major": false, - "draft": false, - "prerelease": false, - "include-component-in-tag": false - } + "separate-pull-requests": true, + "include-v-in-tag": true, + "packages": { + "helm/spark-history-web-proxy": { + "component": "helm-spark-history-web-proxy", + "initial-version": "0.1.0", + "extra-label": "helm", + "tag-separator": "/", + "changelog-path": "CHANGELOG.md", + "release-type": "helm", + "changelog-type": "default", + "bump-minor-pre-major": false, + "bump-patch-for-minor-pre-major": false, + "draft": false, + "prerelease": false, + "include-component-in-tag": true }, - "changelog-sections": [ - { - "type": "feat", - "section": "Features" - }, - { - "type": "fix", - "section": "Bug Fixes" - }, - { - "type": "docs", - "section": "Documentation", - "hidden": false - }, - { - "type": "refactor", - "section": "Refactoring", - "hidden": false - }, - { - "type": "test", - "section": "Tests", - "hidden": true - }, - { - "type": "ci", - "section": "Continuous Integration", - "hidden": true - }, - { - "type": "chore", - "section": "Chore", - "hidden": true - } - ], - "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json" - } - \ No newline at end of file + ".": { + "component": "spark-history-web-proxy", + "initial-version": "0.1.0", + "extra-label": "docker", + "changelog-path": "CHANGELOG.md", + "release-type": "node", + "changelog-type": "default", + "bump-minor-pre-major": false, + "bump-patch-for-minor-pre-major": false, + "draft": false, + "prerelease": false, + "include-component-in-tag": false + } + }, + "changelog-sections": [ + { + "type": "feat", + "section": "Features" + }, + { + "type": "fix", + "section": "Bug Fixes" + }, + { + "type": "docs", + "section": "Documentation", + "hidden": false + }, + { + "type": "doc", + "section": "Documentation", + "hidden": false + }, + { + "type": "refactor", + "section": "Refactoring", + "hidden": false + }, + { + "type": "test", + "section": "Tests", + "hidden": true + }, + { + "type": "ci", + "section": "Continuous Integration", + "hidden": true + }, + { + "type": "chore", + "section": "Continuous Integration", + "hidden": true + } + ], + "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json" +} From caf087ddfad149c78be4dc16ab824632c97edf6f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 26 Mar 2025 09:25:01 +0000 Subject: [PATCH 2/3] [helm-docs] Update readme --- helm/spark-web-proxy/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm/spark-web-proxy/README.md b/helm/spark-web-proxy/README.md index 482d600..4f09995 100644 --- a/helm/spark-web-proxy/README.md +++ b/helm/spark-web-proxy/README.md @@ -83,7 +83,7 @@ helm install my-release oci://quay.io/okdp/charts/spark-web-proxy --version 0.1. | fullnameOverride | string | `""` | Overrides the release name. | | image.pullPolicy | string | `"Always"` | Image pull policy. | | image.repository | string | `"quay.io/okdp/spark-web-proxy"` | Docker image registry. | -| image.tag | string | `"0.1.0-snapshot"` | Image tag. | +| image.tag | string | `"0.1.0"` | Image tag. | | imagePullSecrets | list | `[]` | Secrets to be used for pulling images from private Docker registries. | | ingress.annotations | object | `{}` | | | ingress.className | string | `""` | Specify the ingress class (Kubernetes >= 1.18). | From 858e37ef921b8f6d1a0c7b23886ee2ac735ccf1d Mon Sep 17 00:00:00 2001 From: iizitounene Date: Fri, 17 Oct 2025 10:39:56 +0200 Subject: [PATCH 3/3] ci: fix release workflow --- package.json | 11 +++++++++++ release-please-config.json | 4 ++-- 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 package.json diff --git a/package.json b/package.json new file mode 100644 index 0000000..2b65deb --- /dev/null +++ b/package.json @@ -0,0 +1,11 @@ +{ + "name": "spark-web-proxy", + "version": "0.1.0", + "description": "Monitor live Spark applications within Spark History Server on Kubernetes.", + "repository": { + "type": "git", + "url": "https://github.com/OKDP/spark-web-proxy" + }, + "homepage": "https://okdp.io/", + "license": "Apache-2.0" +} \ No newline at end of file diff --git a/release-please-config.json b/release-please-config.json index a0baddd..4c0e913 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -3,7 +3,7 @@ "include-v-in-tag": true, "packages": { "helm/spark-history-web-proxy": { - "component": "helm-spark-history-web-proxy", + "component": "helm-spark-web-proxy", "initial-version": "0.1.0", "extra-label": "helm", "tag-separator": "/", @@ -17,7 +17,7 @@ "include-component-in-tag": true }, ".": { - "component": "spark-history-web-proxy", + "component": "spark-web-proxy", "initial-version": "0.1.0", "extra-label": "docker", "changelog-path": "CHANGELOG.md",