From 4c93f1b2b13b94121468cb43b6e0997914bd506c Mon Sep 17 00:00:00 2001 From: Hiroto Funakoshi Date: Thu, 8 Feb 2024 15:04:55 +0900 Subject: [PATCH] Fix release pr workflow (#2333) * fix: update make command and release pr workflow Signed-off-by: hlts2 * fix: sort Signed-off-by: hlts2 * fix: execute make command of release workflow Signed-off-by: hlts2 --------- Signed-off-by: hlts2 --- .github/workflows/_release-pr.yml | 16 ++++++++++++---- Makefile.d/helm.mk | 1 + charts/vald-benchmark-operator/README.md | 4 ---- tests/chaos/chart/README.md | 4 ---- 4 files changed, 13 insertions(+), 12 deletions(-) diff --git a/.github/workflows/_release-pr.yml b/.github/workflows/_release-pr.yml index 1149c284c7..4627cf4e9e 100644 --- a/.github/workflows/_release-pr.yml +++ b/.github/workflows/_release-pr.yml @@ -75,14 +75,14 @@ jobs: sed -i -e "s/^version: .*$/version: ${RELEASE_TAG}/" charts/vald-helm-operator/Chart.yaml sed -i -r "s/^(\s*)tag\s*:\s*v[0-9]+\.[0-9]+\.[0-9]+\s*$/\1tag: ${RELEASE_TAG}/" charts/vald-helm-operator/values.yaml - make helm/schema/vald - make helm/schema/vald-helm-operator - make helm/schema/crd/vald - make helm/schema/crd/vald-helm-operator + make helm/schema/all + make helm/schema/crd/all make k8s/manifest/update make k8s/manifest/helm-operator/update + make k8s/manifest/benchmark-operator/update make helm/docs/vald make helm/docs/vald-helm-operator + make helm/docs/vald-readreplica BODY="" if [ ! -z "${PR_NUM}" ]; then @@ -108,6 +108,14 @@ jobs: charts/vald/README.md \ charts/vald/values.schema.json \ charts/vald/values.yaml \ + charts/vald-readreplica/Chart.yaml \ + charts/vald-readreplica/README.md \ + charts/vald-benchmark-operator/Chart.yaml \ + charts/vald-benchmark-operator/README.md \ + charts/vald-benchmark-operator/job-values.schema.json \ + charts/vald-benchmark-operator/scenario-values.schema.json \ + charts/vald-benchmark-operator/values.schema.json \ + charts/vald-benchmark-operator/values.yaml \ k8s \ versions/VALD_VERSION git commit -S --signoff -m ":bookmark: :robot: Release ${RELEASE_TAG}" diff --git a/Makefile.d/helm.mk b/Makefile.d/helm.mk index e515043514..90dccf378e 100644 --- a/Makefile.d/helm.mk +++ b/Makefile.d/helm.mk @@ -164,6 +164,7 @@ helm/schema/crd/all: \ helm/schema/crd/vald \ helm/schema/crd/vald-helm-operator \ helm/schema/crd/vald-benchmark-job \ + helm/schema/crd/vald/mirror-target \ helm/schema/crd/vald-benchmark-scenario \ helm/schema/crd/vald-benchmark-operator diff --git a/charts/vald-benchmark-operator/README.md b/charts/vald-benchmark-operator/README.md index 4513b4fa05..4e7f839b34 100644 --- a/charts/vald-benchmark-operator/README.md +++ b/charts/vald-benchmark-operator/README.md @@ -180,7 +180,3 @@ A benchmark operator for benchmarking the Vald cluster. | time_zone | string | `""` | time_zone | | tolerations | list | `[]` | tolerations | | version | string | `"v0.0.0"` | version of benchmark-operator config | - ---- - -Autogenerated from chart metadata using [helm-docs v1.12.0](https://github.com/norwoodj/helm-docs/releases/v1.12.0) diff --git a/tests/chaos/chart/README.md b/tests/chaos/chart/README.md index 594dee6331..3860102505 100644 --- a/tests/chaos/chart/README.md +++ b/tests/chaos/chart/README.md @@ -38,7 +38,3 @@ A Helm chart for testing Vald using Chaos Mesh. | podChaos.kill.schedule | string | `"*/2 * * * *"` | | | podChaos.kill.selector.labelSelectors."app.kubernetes.io/name" | string | `"vald"` | | | podChaos.kill.selector.namespaces[0] | string | `"default"` | | - ---- - -Autogenerated from chart metadata using [helm-docs v1.12.0](https://github.com/norwoodj/helm-docs/releases/v1.12.0)