From 64ccc8dad6dc83cbc7b3543907da279c3b66f681 Mon Sep 17 00:00:00 2001 From: Soohyun Kim Date: Fri, 16 Sep 2022 14:15:27 +0200 Subject: [PATCH] clean readme --- .github/workflows/test.yaml | 5 +++-- README.md | 9 +++++++++ charts/db-instances/Chart.yaml | 2 +- charts/db-instances/README.md | 9 --------- charts/db-operator/Chart.yaml | 2 +- charts/db-operator/README.md | 9 --------- 6 files changed, 14 insertions(+), 22 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 86aa757..252ec6d 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -17,13 +17,14 @@ jobs: - name: Checkout uses: actions/checkout@v2 with: - fetch-depth: 0 + path: charts + fetch-depth: 2 # to be able to obtain files changed in the latest commit - id: get-chart name: 'Get modified charts' run: | cd charts - files_changed="$(git show --pretty="" --name-only)" + files_changed="$(git diff --name-only HEAD^ HEAD)" # Adding || true to avoid "Process exited with code 1" errors charts_dirs_changed="$(echo "$files_changed" | xargs dirname | grep -o "charts/[^/]*" | sed "s|charts/||g" | uniq | tr '\n' ' ' || true)" echo "changed:${charts_dirs_changed}" diff --git a/README.md b/README.md index 47f1ce5..8e0bedf 100644 --- a/README.md +++ b/README.md @@ -6,3 +6,12 @@ The new chart version release is executed automatically with Github actions. For triggering it, change the version of Chart.yaml in the chart directory and merge to `main` branch. + +## Configuring helm client +``` +$ helm repo add kloeckneri https://kloeckner-i.github.io/charts +``` +Test the helm chart repository +``` +$ helm search repo kloeckneri +``` \ No newline at end of file diff --git a/charts/db-instances/Chart.yaml b/charts/db-instances/Chart.yaml index a633a3f..5f25433 100644 --- a/charts/db-instances/Chart.yaml +++ b/charts/db-instances/Chart.yaml @@ -2,4 +2,4 @@ apiVersion: v1 appVersion: "1.0" description: Database Instances for db operator name: db-instances -version: 1.3.0 +version: 1.3.1 diff --git a/charts/db-instances/README.md b/charts/db-instances/README.md index 33ac3b1..1071707 100644 --- a/charts/db-instances/README.md +++ b/charts/db-instances/README.md @@ -1,15 +1,6 @@ # db-instances Create DB Instance resources for is DB Operator -## Configuring helm client -``` -$ helm repo add kloeckneri https://kloeckner-i.github.io/charts -``` -Test the helm chart repository -``` -$ helm search repo kloeckneri/db-instances -``` - ## Installing Chart To install the chart with the release name my-release: ``` diff --git a/charts/db-operator/Chart.yaml b/charts/db-operator/Chart.yaml index e58a9da..897c88c 100644 --- a/charts/db-operator/Chart.yaml +++ b/charts/db-operator/Chart.yaml @@ -5,4 +5,4 @@ kubeVersion: ">= 1.21-prerelease" appVersion: "1.6.5" description: A Database Operator name: db-operator -version: 1.2.7 +version: 1.2.8 diff --git a/charts/db-operator/README.md b/charts/db-operator/README.md index b3d36e4..fa6b624 100644 --- a/charts/db-operator/README.md +++ b/charts/db-operator/README.md @@ -1,15 +1,6 @@ # db-operator DB Operator is Kubernetes operator -## Configuring helm client -``` -$ helm repo add kloeckneri https://kloeckner-i.github.io/charts -``` -Test the helm chart repository -``` -$ helm search repo kloeckneri/db-operator -``` - ## Installing Chart To install the chart with the release name my-release: ```