From 8c7fb5651a20633c980624891238725d004c3fc7 Mon Sep 17 00:00:00 2001 From: Sijie Guo Date: Tue, 21 Apr 2020 00:44:37 -0700 Subject: [PATCH 01/12] Publish chart index to gh-pages branch *Motivation* Release helm chart when new tags are created --- .ci/release.sh | 34 +++++++++++++-------- .github/workflows/pulsar.yml | 2 ++ .github/workflows/pulsar_bk_tls.yml | 2 ++ .github/workflows/pulsar_broker_tls.yml | 2 ++ .github/workflows/pulsar_function.yml | 2 ++ .github/workflows/pulsar_image.yml | 2 ++ .github/workflows/pulsar_jwt_asymmetric.yml | 2 ++ .github/workflows/pulsar_jwt_symmetric.yml | 2 ++ .github/workflows/pulsar_tls.yml | 2 ++ .github/workflows/pulsar_zk_tls.yml | 2 ++ .github/workflows/pulsar_zkbk_tls.yml | 2 ++ .github/workflows/release.yml | 15 +++++---- 12 files changed, 49 insertions(+), 20 deletions(-) diff --git a/.ci/release.sh b/.ci/release.sh index b2fc1259..0e08c71c 100755 --- a/.ci/release.sh +++ b/.ci/release.sh @@ -22,13 +22,10 @@ BINDIR=`dirname "$0"` CHARTS_HOME=`cd ${BINDIR}/..;pwd` CHARTS_PKGS=${CHARTS_HOME}/.chart-packages CHARTS_INDEX=${CHARTS_HOME}/.chart-index -CHARTS_REPO=${CHARTS_REPO:-"https://charts.streamnative.io"} -OWNER=${OWNER:-streamnative} -REPO=${REPO:-charts} -GITHUB_TOKEN=${GITHUB_TOKEN:-"UNSET"} +CHARTS_REPO=${CHARTS_REPO:-"https://pulsar.apache.org/charts/"} +OWNER=${OWNER:-apache} +REPO=${REPO:-pulsar-helm-chart} PUBLISH_CHARTS=${PUBLISH_CHARTS:-"false"} -GITUSER=${GITUSER:-"UNSET"} -GITEMAIL=${GITEMAIL:-"UNSET"} # hack/common.sh need this variable to be set PULSAR_CHART_HOME=${CHARTS_HOME} @@ -66,17 +63,30 @@ function release::update_chart_index() { ${CR} index -o ${OWNER} -r ${REPO} -t "${GITHUB_TOKEN}" -c ${CHARTS_REPO} --index-path /cr/.chart-index --package-path /cr/.chart-packages } -function release::publish_charts() { - git config user.email "${GITEMAIL}" - git config user.name "${GITUSER}" +function release::git_setup() { + cat <<- EOF > $HOME/.netrc + machine github.com + login $GITHUB_ACTOR + password $GITHUB_TOKEN + machine api.github.com + login $GITHUB_ACTOR + password $GITHUB_TOKEN +EOF + chmod 600 $HOME/.netrc + + git config --global user.email "$GITHUB_ACTOR@users.noreply.github.com" + git config --global user.name "$GITHUB_ACTOR" +} +function release::publish_charts() { + release::git_setup + git remote update + git fetch --all git checkout gh-pages cp --force ${CHARTS_INDEX}/index.yaml index.yaml git add index.yaml git commit --message="Publish new charts to ${CHARTS_REPO}" --signoff - git remote -v - git remote add sn https://${PULSARBOT_USER}:${GITHUB_TOKEN}@github.com/${OWNER}/${REPO} - git push sn gh-pages + git push --set-upstream origin gh-pages } # install cr diff --git a/.github/workflows/pulsar.yml b/.github/workflows/pulsar.yml index 4d1eeca0..07d047a4 100644 --- a/.github/workflows/pulsar.yml +++ b/.github/workflows/pulsar.yml @@ -22,6 +22,8 @@ on: pull_request: branches: - '*' + paths: + - 'pulsar/**' jobs: lint-test: runs-on: ubuntu-latest diff --git a/.github/workflows/pulsar_bk_tls.yml b/.github/workflows/pulsar_bk_tls.yml index 1c41b0ac..284b50dd 100644 --- a/.github/workflows/pulsar_bk_tls.yml +++ b/.github/workflows/pulsar_bk_tls.yml @@ -22,6 +22,8 @@ on: pull_request: branches: - '*' + paths: + - 'pulsar/**' jobs: lint-test: runs-on: ubuntu-latest diff --git a/.github/workflows/pulsar_broker_tls.yml b/.github/workflows/pulsar_broker_tls.yml index 7af04343..b4a8c791 100644 --- a/.github/workflows/pulsar_broker_tls.yml +++ b/.github/workflows/pulsar_broker_tls.yml @@ -22,6 +22,8 @@ on: pull_request: branches: - '*' + paths: + - 'pulsar/**' jobs: lint-test: runs-on: ubuntu-latest diff --git a/.github/workflows/pulsar_function.yml b/.github/workflows/pulsar_function.yml index 7609737f..ee3f72d9 100644 --- a/.github/workflows/pulsar_function.yml +++ b/.github/workflows/pulsar_function.yml @@ -22,6 +22,8 @@ on: pull_request: branches: - '*' + paths: + - 'pulsar/**' jobs: lint-test: runs-on: ubuntu-latest diff --git a/.github/workflows/pulsar_image.yml b/.github/workflows/pulsar_image.yml index 484a2ca3..e99cb1fa 100644 --- a/.github/workflows/pulsar_image.yml +++ b/.github/workflows/pulsar_image.yml @@ -22,6 +22,8 @@ on: pull_request: branches: - '*' + paths: + - 'pulsar/**' jobs: lint-test: runs-on: ubuntu-latest diff --git a/.github/workflows/pulsar_jwt_asymmetric.yml b/.github/workflows/pulsar_jwt_asymmetric.yml index abd6fb38..0411b6c2 100644 --- a/.github/workflows/pulsar_jwt_asymmetric.yml +++ b/.github/workflows/pulsar_jwt_asymmetric.yml @@ -22,6 +22,8 @@ on: pull_request: branches: - '*' + paths: + - 'pulsar/**' jobs: lint-test: runs-on: ubuntu-latest diff --git a/.github/workflows/pulsar_jwt_symmetric.yml b/.github/workflows/pulsar_jwt_symmetric.yml index 84fdcd76..4dbac2df 100644 --- a/.github/workflows/pulsar_jwt_symmetric.yml +++ b/.github/workflows/pulsar_jwt_symmetric.yml @@ -22,6 +22,8 @@ on: pull_request: branches: - '*' + paths: + - 'pulsar/**' jobs: lint-test: runs-on: ubuntu-latest diff --git a/.github/workflows/pulsar_tls.yml b/.github/workflows/pulsar_tls.yml index 18c1bcda..635d0a9e 100644 --- a/.github/workflows/pulsar_tls.yml +++ b/.github/workflows/pulsar_tls.yml @@ -22,6 +22,8 @@ on: pull_request: branches: - '*' + paths: + - 'pulsar/**' jobs: lint-test: runs-on: ubuntu-latest diff --git a/.github/workflows/pulsar_zk_tls.yml b/.github/workflows/pulsar_zk_tls.yml index 754fc674..761801a3 100644 --- a/.github/workflows/pulsar_zk_tls.yml +++ b/.github/workflows/pulsar_zk_tls.yml @@ -22,6 +22,8 @@ on: pull_request: branches: - '*' + paths: + - 'pulsar/**' jobs: lint-test: runs-on: ubuntu-latest diff --git a/.github/workflows/pulsar_zkbk_tls.yml b/.github/workflows/pulsar_zkbk_tls.yml index 013a238a..396d4c2b 100644 --- a/.github/workflows/pulsar_zkbk_tls.yml +++ b/.github/workflows/pulsar_zkbk_tls.yml @@ -22,6 +22,8 @@ on: pull_request: branches: - '*' + paths: + - 'pulsar/**' jobs: lint-test: runs-on: ubuntu-latest diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b8a91692..6d277207 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,9 +19,12 @@ name: Post commit - Publish Pulsar Helm Chart on: - push: + # push: + # branches: + # - master + pull_request: branches: - - master + - '*' jobs: lint-test: runs-on: ubuntu-latest @@ -31,11 +34,7 @@ jobs: - name: Install chart env: - GITHUB_TOKEN: ${{ secrets.PULSARBOT_TOKEN }} - PULSARBOT_USER: ${{ secrets.PULSARBOT_USER }} - CHARTS_REPO: ${{ secrets.CHARTS_REPO }} - PUBLISH_CHARTS: ${{ secrets.PUBLISH_CHARTS }} - GITUSER: ${{ secrets.GITUSER }} - GITEMAIL: ${{ secrets.GITEMAIL }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + PUBLISH_CHARTS: false run: | .ci/release.sh From 88629519c601c0ecbc011d43d4b9b05dacca9014 Mon Sep 17 00:00:00 2001 From: Sijie Guo Date: Tue, 21 Apr 2020 00:48:13 -0700 Subject: [PATCH 02/12] Change job id --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6d277207..f22b0621 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,7 +26,7 @@ on: branches: - '*' jobs: - lint-test: + release: runs-on: ubuntu-latest steps: - name: Checkout From 38053e8a4d49bd0d7c3ff350a9021a60a06fa19f Mon Sep 17 00:00:00 2001 From: Sijie Guo Date: Tue, 21 Apr 2020 01:02:50 -0700 Subject: [PATCH 03/12] trigger build From e43e6b8713c62b5e363d4bf79d4758115841e9ab Mon Sep 17 00:00:00 2001 From: Sijie Guo Date: Tue, 21 Apr 2020 01:09:29 -0700 Subject: [PATCH 04/12] trigger build From 90424702a26349c01bbc57ddf2fa9e6a3a9670e4 Mon Sep 17 00:00:00 2001 From: Sijie Guo Date: Tue, 21 Apr 2020 01:12:45 -0700 Subject: [PATCH 05/12] Fetch tags --- .ci/release.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.ci/release.sh b/.ci/release.sh index 0e08c71c..76fe2067 100755 --- a/.ci/release.sh +++ b/.ci/release.sh @@ -93,6 +93,8 @@ function release::publish_charts() { # hack::ensure_cr docker pull quay.io/helmpack/chart-releaser:v${CR_VERSION} +git::fetch_tags + latest_tag=$(git::find_latest_tag) echo "Latest tag: $latest_tag" From 87f3d2a9bf8cf0c4c89a8452d979047677de03b2 Mon Sep 17 00:00:00 2001 From: Sijie Guo Date: Tue, 21 Apr 2020 01:15:41 -0700 Subject: [PATCH 06/12] Describe get latest tag --- .ci/git.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.ci/git.sh b/.ci/git.sh index f888b7a4..33be0cc4 100644 --- a/.ci/git.sh +++ b/.ci/git.sh @@ -21,6 +21,8 @@ function git::fetch_tags() { echo "Fetching tags ..." git fetch --tags + echo "Describe tags ..." + git describe --tags --abbrev=0 } function git::find_latest_tag() { From 38935fe292a2591c75d145b0678d8070e910b6f1 Mon Sep 17 00:00:00 2001 From: Sijie Guo Date: Tue, 21 Apr 2020 01:20:18 -0700 Subject: [PATCH 07/12] Fetch v2.5.0 tag --- .ci/git.sh | 2 -- .ci/release.sh | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.ci/git.sh b/.ci/git.sh index 33be0cc4..f888b7a4 100644 --- a/.ci/git.sh +++ b/.ci/git.sh @@ -21,8 +21,6 @@ function git::fetch_tags() { echo "Fetching tags ..." git fetch --tags - echo "Describe tags ..." - git describe --tags --abbrev=0 } function git::find_latest_tag() { diff --git a/.ci/release.sh b/.ci/release.sh index 76fe2067..6c780f48 100755 --- a/.ci/release.sh +++ b/.ci/release.sh @@ -94,6 +94,7 @@ function release::publish_charts() { docker pull quay.io/helmpack/chart-releaser:v${CR_VERSION} git::fetch_tags +git fetch v2.5.0 latest_tag=$(git::find_latest_tag) echo "Latest tag: $latest_tag" From b464ff55d399766b127a8447dab1ba81f51a7009 Mon Sep 17 00:00:00 2001 From: Sijie Guo Date: Tue, 21 Apr 2020 01:22:53 -0700 Subject: [PATCH 08/12] Fetch all tags --- .ci/git.sh | 1 + .ci/release.sh | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/git.sh b/.ci/git.sh index f888b7a4..d834f022 100644 --- a/.ci/git.sh +++ b/.ci/git.sh @@ -21,6 +21,7 @@ function git::fetch_tags() { echo "Fetching tags ..." git fetch --tags + git fetch origin 'refs/tags/*:refs/tags/*' } function git::find_latest_tag() { diff --git a/.ci/release.sh b/.ci/release.sh index 6c780f48..76fe2067 100755 --- a/.ci/release.sh +++ b/.ci/release.sh @@ -94,7 +94,6 @@ function release::publish_charts() { docker pull quay.io/helmpack/chart-releaser:v${CR_VERSION} git::fetch_tags -git fetch v2.5.0 latest_tag=$(git::find_latest_tag) echo "Latest tag: $latest_tag" From a4077f4ae0176859073954b5000241b46053de78 Mon Sep 17 00:00:00 2001 From: Sijie Guo Date: Tue, 21 Apr 2020 01:29:22 -0700 Subject: [PATCH 09/12] Test --- .ci/release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/release.sh b/.ci/release.sh index 76fe2067..bd75ef0a 100755 --- a/.ci/release.sh +++ b/.ci/release.sh @@ -106,7 +106,7 @@ echo "$head_rev HEAD" if [[ "$latest_tag_rev" == "$head_rev" ]]; then echo "Do nothing. Exiting ..." - exit +# exit fi release::ensure_dir ${CHARTS_PKGS} From f1241320e9ea5cef29df7065b3b8f0ff98b80c35 Mon Sep 17 00:00:00 2001 From: Sijie Guo Date: Tue, 21 Apr 2020 01:38:24 -0700 Subject: [PATCH 10/12] Move `pulsar` to `charts/pulsar` --- .ci/helm.sh | 6 +++--- .ci/release.sh | 2 +- .github/workflows/release.yml | 2 +- {pulsar => charts/pulsar}/.helmignore | 0 {pulsar => charts/pulsar}/Chart.yaml | 0 {pulsar => charts/pulsar}/templates/_autorecovery.tpl | 0 {pulsar => charts/pulsar}/templates/_bookkeeper.tpl | 0 {pulsar => charts/pulsar}/templates/_broker.tpl | 0 {pulsar => charts/pulsar}/templates/_helpers.tpl | 0 {pulsar => charts/pulsar}/templates/_toolset.tpl | 0 {pulsar => charts/pulsar}/templates/_zookeeper.tpl | 0 .../pulsar}/templates/autorecovery-configmap.yaml | 0 .../pulsar}/templates/autorecovery-service.yaml | 0 .../pulsar}/templates/autorecovery-statefulset.yaml | 0 .../pulsar}/templates/bookkeeper-cluster-initialize.yaml | 0 .../pulsar}/templates/bookkeeper-configmap.yaml | 0 {pulsar => charts/pulsar}/templates/bookkeeper-pdb.yaml | 0 {pulsar => charts/pulsar}/templates/bookkeeper-service.yaml | 0 .../pulsar}/templates/bookkeeper-statefulset.yaml | 0 .../pulsar}/templates/bookkeeper-storageclass.yaml | 0 .../pulsar}/templates/broker-cluster-role-binding.yaml | 0 {pulsar => charts/pulsar}/templates/broker-configmap.yaml | 0 {pulsar => charts/pulsar}/templates/broker-pdb.yaml | 0 {pulsar => charts/pulsar}/templates/broker-rbac.yaml | 0 .../pulsar}/templates/broker-service-account.yaml | 0 {pulsar => charts/pulsar}/templates/broker-service.yaml | 0 {pulsar => charts/pulsar}/templates/broker-statefulset.yaml | 0 .../pulsar}/templates/dashboard-deployment.yaml | 0 {pulsar => charts/pulsar}/templates/dashboard-ingress.yaml | 0 {pulsar => charts/pulsar}/templates/dashboard-service.yaml | 0 .../pulsar}/templates/function-worker-configmap.yaml | 0 {pulsar => charts/pulsar}/templates/grafana-deployment.yaml | 0 {pulsar => charts/pulsar}/templates/grafana-ingress.yaml | 0 {pulsar => charts/pulsar}/templates/grafana-service.yaml | 0 {pulsar => charts/pulsar}/templates/keytool.yaml | 0 {pulsar => charts/pulsar}/templates/namespace.yaml | 0 .../pulsar}/templates/prometheus-configmap.yaml | 0 .../pulsar}/templates/prometheus-deployment.yaml | 0 {pulsar => charts/pulsar}/templates/prometheus-pvc.yaml | 0 {pulsar => charts/pulsar}/templates/prometheus-rbac.yaml | 0 {pulsar => charts/pulsar}/templates/prometheus-service.yaml | 0 .../pulsar}/templates/prometheus-storageclass.yaml | 0 {pulsar => charts/pulsar}/templates/proxy-configmap.yaml | 0 {pulsar => charts/pulsar}/templates/proxy-pdb.yaml | 0 {pulsar => charts/pulsar}/templates/proxy-service.yaml | 0 {pulsar => charts/pulsar}/templates/proxy-statefulset.yaml | 0 .../pulsar}/templates/pulsar-cluster-initialize.yaml | 0 .../pulsar}/templates/pulsar-manager-admin-secret.yaml | 0 .../pulsar}/templates/pulsar-manager-configmap.yaml | 0 .../pulsar}/templates/pulsar-manager-deployment.yaml | 0 .../pulsar}/templates/pulsar-manager-service.yaml | 0 .../pulsar}/templates/tls-cert-internal-issuer.yaml | 0 {pulsar => charts/pulsar}/templates/tls-certs-internal.yaml | 0 {pulsar => charts/pulsar}/templates/toolset-configmap.yaml | 0 {pulsar => charts/pulsar}/templates/toolset-service.yaml | 0 .../pulsar}/templates/toolset-statefulset.yaml | 0 .../pulsar}/templates/zookeeper-configmap.yaml | 0 {pulsar => charts/pulsar}/templates/zookeeper-pdb.yaml | 0 {pulsar => charts/pulsar}/templates/zookeeper-service.yaml | 0 .../pulsar}/templates/zookeeper-statefulset.yaml | 0 .../pulsar}/templates/zookeeper-storageclass.yaml | 0 {pulsar => charts/pulsar}/values.yaml | 0 62 files changed, 5 insertions(+), 5 deletions(-) rename {pulsar => charts/pulsar}/.helmignore (100%) rename {pulsar => charts/pulsar}/Chart.yaml (100%) rename {pulsar => charts/pulsar}/templates/_autorecovery.tpl (100%) rename {pulsar => charts/pulsar}/templates/_bookkeeper.tpl (100%) rename {pulsar => charts/pulsar}/templates/_broker.tpl (100%) rename {pulsar => charts/pulsar}/templates/_helpers.tpl (100%) rename {pulsar => charts/pulsar}/templates/_toolset.tpl (100%) rename {pulsar => charts/pulsar}/templates/_zookeeper.tpl (100%) rename {pulsar => charts/pulsar}/templates/autorecovery-configmap.yaml (100%) rename {pulsar => charts/pulsar}/templates/autorecovery-service.yaml (100%) rename {pulsar => charts/pulsar}/templates/autorecovery-statefulset.yaml (100%) rename {pulsar => charts/pulsar}/templates/bookkeeper-cluster-initialize.yaml (100%) rename {pulsar => charts/pulsar}/templates/bookkeeper-configmap.yaml (100%) rename {pulsar => charts/pulsar}/templates/bookkeeper-pdb.yaml (100%) rename {pulsar => charts/pulsar}/templates/bookkeeper-service.yaml (100%) rename {pulsar => charts/pulsar}/templates/bookkeeper-statefulset.yaml (100%) rename {pulsar => charts/pulsar}/templates/bookkeeper-storageclass.yaml (100%) rename {pulsar => charts/pulsar}/templates/broker-cluster-role-binding.yaml (100%) rename {pulsar => charts/pulsar}/templates/broker-configmap.yaml (100%) rename {pulsar => charts/pulsar}/templates/broker-pdb.yaml (100%) rename {pulsar => charts/pulsar}/templates/broker-rbac.yaml (100%) rename {pulsar => charts/pulsar}/templates/broker-service-account.yaml (100%) rename {pulsar => charts/pulsar}/templates/broker-service.yaml (100%) rename {pulsar => charts/pulsar}/templates/broker-statefulset.yaml (100%) rename {pulsar => charts/pulsar}/templates/dashboard-deployment.yaml (100%) rename {pulsar => charts/pulsar}/templates/dashboard-ingress.yaml (100%) rename {pulsar => charts/pulsar}/templates/dashboard-service.yaml (100%) rename {pulsar => charts/pulsar}/templates/function-worker-configmap.yaml (100%) rename {pulsar => charts/pulsar}/templates/grafana-deployment.yaml (100%) rename {pulsar => charts/pulsar}/templates/grafana-ingress.yaml (100%) rename {pulsar => charts/pulsar}/templates/grafana-service.yaml (100%) rename {pulsar => charts/pulsar}/templates/keytool.yaml (100%) rename {pulsar => charts/pulsar}/templates/namespace.yaml (100%) rename {pulsar => charts/pulsar}/templates/prometheus-configmap.yaml (100%) rename {pulsar => charts/pulsar}/templates/prometheus-deployment.yaml (100%) rename {pulsar => charts/pulsar}/templates/prometheus-pvc.yaml (100%) rename {pulsar => charts/pulsar}/templates/prometheus-rbac.yaml (100%) rename {pulsar => charts/pulsar}/templates/prometheus-service.yaml (100%) rename {pulsar => charts/pulsar}/templates/prometheus-storageclass.yaml (100%) rename {pulsar => charts/pulsar}/templates/proxy-configmap.yaml (100%) rename {pulsar => charts/pulsar}/templates/proxy-pdb.yaml (100%) rename {pulsar => charts/pulsar}/templates/proxy-service.yaml (100%) rename {pulsar => charts/pulsar}/templates/proxy-statefulset.yaml (100%) rename {pulsar => charts/pulsar}/templates/pulsar-cluster-initialize.yaml (100%) rename {pulsar => charts/pulsar}/templates/pulsar-manager-admin-secret.yaml (100%) rename {pulsar => charts/pulsar}/templates/pulsar-manager-configmap.yaml (100%) rename {pulsar => charts/pulsar}/templates/pulsar-manager-deployment.yaml (100%) rename {pulsar => charts/pulsar}/templates/pulsar-manager-service.yaml (100%) rename {pulsar => charts/pulsar}/templates/tls-cert-internal-issuer.yaml (100%) rename {pulsar => charts/pulsar}/templates/tls-certs-internal.yaml (100%) rename {pulsar => charts/pulsar}/templates/toolset-configmap.yaml (100%) rename {pulsar => charts/pulsar}/templates/toolset-service.yaml (100%) rename {pulsar => charts/pulsar}/templates/toolset-statefulset.yaml (100%) rename {pulsar => charts/pulsar}/templates/zookeeper-configmap.yaml (100%) rename {pulsar => charts/pulsar}/templates/zookeeper-pdb.yaml (100%) rename {pulsar => charts/pulsar}/templates/zookeeper-service.yaml (100%) rename {pulsar => charts/pulsar}/templates/zookeeper-statefulset.yaml (100%) rename {pulsar => charts/pulsar}/templates/zookeeper-storageclass.yaml (100%) rename {pulsar => charts/pulsar}/values.yaml (100%) diff --git a/.ci/helm.sh b/.ci/helm.sh index b3fae8f0..89f1fc80 100644 --- a/.ci/helm.sh +++ b/.ci/helm.sh @@ -81,9 +81,9 @@ function ci::install_pulsar_chart() { ${CHARTS_HOME}/scripts/pulsar/upload_tls.sh -k ${CLUSTER} -d ${PULSAR_HOME}/.ci/tls sleep 10 - echo ${HELM} install --values ${value_file} ${CLUSTER} ${CHARTS_HOME}/pulsar - ${HELM} template --values ${value_file} ${CLUSTER} ${CHARTS_HOME}/pulsar - ${HELM} install --values ${value_file} ${CLUSTER} ${CHARTS_HOME}/pulsar + echo ${HELM} install --values ${value_file} ${CLUSTER} ${CHARTS_HOME}/charts/pulsar + ${HELM} template --values ${value_file} ${CLUSTER} ${CHARTS_HOME}/charts/pulsar + ${HELM} install --values ${value_file} ${CLUSTER} ${CHARTS_HOME}/charts/pulsar echo "wait until broker is alive" WC=$(${KUBECTL} get pods -n ${NAMESPACE} --field-selector=status.phase=Running | grep ${CLUSTER}-broker | wc -l) diff --git a/.ci/release.sh b/.ci/release.sh index bd75ef0a..ee619d35 100755 --- a/.ci/release.sh +++ b/.ci/release.sh @@ -86,7 +86,7 @@ function release::publish_charts() { cp --force ${CHARTS_INDEX}/index.yaml index.yaml git add index.yaml git commit --message="Publish new charts to ${CHARTS_REPO}" --signoff - git push --set-upstream origin gh-pages + # git push --set-upstream origin gh-pages } # install cr diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f22b0621..d4be4c45 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,6 +35,6 @@ jobs: - name: Install chart env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - PUBLISH_CHARTS: false + PUBLISH_CHARTS: true run: | .ci/release.sh diff --git a/pulsar/.helmignore b/charts/pulsar/.helmignore similarity index 100% rename from pulsar/.helmignore rename to charts/pulsar/.helmignore diff --git a/pulsar/Chart.yaml b/charts/pulsar/Chart.yaml similarity index 100% rename from pulsar/Chart.yaml rename to charts/pulsar/Chart.yaml diff --git a/pulsar/templates/_autorecovery.tpl b/charts/pulsar/templates/_autorecovery.tpl similarity index 100% rename from pulsar/templates/_autorecovery.tpl rename to charts/pulsar/templates/_autorecovery.tpl diff --git a/pulsar/templates/_bookkeeper.tpl b/charts/pulsar/templates/_bookkeeper.tpl similarity index 100% rename from pulsar/templates/_bookkeeper.tpl rename to charts/pulsar/templates/_bookkeeper.tpl diff --git a/pulsar/templates/_broker.tpl b/charts/pulsar/templates/_broker.tpl similarity index 100% rename from pulsar/templates/_broker.tpl rename to charts/pulsar/templates/_broker.tpl diff --git a/pulsar/templates/_helpers.tpl b/charts/pulsar/templates/_helpers.tpl similarity index 100% rename from pulsar/templates/_helpers.tpl rename to charts/pulsar/templates/_helpers.tpl diff --git a/pulsar/templates/_toolset.tpl b/charts/pulsar/templates/_toolset.tpl similarity index 100% rename from pulsar/templates/_toolset.tpl rename to charts/pulsar/templates/_toolset.tpl diff --git a/pulsar/templates/_zookeeper.tpl b/charts/pulsar/templates/_zookeeper.tpl similarity index 100% rename from pulsar/templates/_zookeeper.tpl rename to charts/pulsar/templates/_zookeeper.tpl diff --git a/pulsar/templates/autorecovery-configmap.yaml b/charts/pulsar/templates/autorecovery-configmap.yaml similarity index 100% rename from pulsar/templates/autorecovery-configmap.yaml rename to charts/pulsar/templates/autorecovery-configmap.yaml diff --git a/pulsar/templates/autorecovery-service.yaml b/charts/pulsar/templates/autorecovery-service.yaml similarity index 100% rename from pulsar/templates/autorecovery-service.yaml rename to charts/pulsar/templates/autorecovery-service.yaml diff --git a/pulsar/templates/autorecovery-statefulset.yaml b/charts/pulsar/templates/autorecovery-statefulset.yaml similarity index 100% rename from pulsar/templates/autorecovery-statefulset.yaml rename to charts/pulsar/templates/autorecovery-statefulset.yaml diff --git a/pulsar/templates/bookkeeper-cluster-initialize.yaml b/charts/pulsar/templates/bookkeeper-cluster-initialize.yaml similarity index 100% rename from pulsar/templates/bookkeeper-cluster-initialize.yaml rename to charts/pulsar/templates/bookkeeper-cluster-initialize.yaml diff --git a/pulsar/templates/bookkeeper-configmap.yaml b/charts/pulsar/templates/bookkeeper-configmap.yaml similarity index 100% rename from pulsar/templates/bookkeeper-configmap.yaml rename to charts/pulsar/templates/bookkeeper-configmap.yaml diff --git a/pulsar/templates/bookkeeper-pdb.yaml b/charts/pulsar/templates/bookkeeper-pdb.yaml similarity index 100% rename from pulsar/templates/bookkeeper-pdb.yaml rename to charts/pulsar/templates/bookkeeper-pdb.yaml diff --git a/pulsar/templates/bookkeeper-service.yaml b/charts/pulsar/templates/bookkeeper-service.yaml similarity index 100% rename from pulsar/templates/bookkeeper-service.yaml rename to charts/pulsar/templates/bookkeeper-service.yaml diff --git a/pulsar/templates/bookkeeper-statefulset.yaml b/charts/pulsar/templates/bookkeeper-statefulset.yaml similarity index 100% rename from pulsar/templates/bookkeeper-statefulset.yaml rename to charts/pulsar/templates/bookkeeper-statefulset.yaml diff --git a/pulsar/templates/bookkeeper-storageclass.yaml b/charts/pulsar/templates/bookkeeper-storageclass.yaml similarity index 100% rename from pulsar/templates/bookkeeper-storageclass.yaml rename to charts/pulsar/templates/bookkeeper-storageclass.yaml diff --git a/pulsar/templates/broker-cluster-role-binding.yaml b/charts/pulsar/templates/broker-cluster-role-binding.yaml similarity index 100% rename from pulsar/templates/broker-cluster-role-binding.yaml rename to charts/pulsar/templates/broker-cluster-role-binding.yaml diff --git a/pulsar/templates/broker-configmap.yaml b/charts/pulsar/templates/broker-configmap.yaml similarity index 100% rename from pulsar/templates/broker-configmap.yaml rename to charts/pulsar/templates/broker-configmap.yaml diff --git a/pulsar/templates/broker-pdb.yaml b/charts/pulsar/templates/broker-pdb.yaml similarity index 100% rename from pulsar/templates/broker-pdb.yaml rename to charts/pulsar/templates/broker-pdb.yaml diff --git a/pulsar/templates/broker-rbac.yaml b/charts/pulsar/templates/broker-rbac.yaml similarity index 100% rename from pulsar/templates/broker-rbac.yaml rename to charts/pulsar/templates/broker-rbac.yaml diff --git a/pulsar/templates/broker-service-account.yaml b/charts/pulsar/templates/broker-service-account.yaml similarity index 100% rename from pulsar/templates/broker-service-account.yaml rename to charts/pulsar/templates/broker-service-account.yaml diff --git a/pulsar/templates/broker-service.yaml b/charts/pulsar/templates/broker-service.yaml similarity index 100% rename from pulsar/templates/broker-service.yaml rename to charts/pulsar/templates/broker-service.yaml diff --git a/pulsar/templates/broker-statefulset.yaml b/charts/pulsar/templates/broker-statefulset.yaml similarity index 100% rename from pulsar/templates/broker-statefulset.yaml rename to charts/pulsar/templates/broker-statefulset.yaml diff --git a/pulsar/templates/dashboard-deployment.yaml b/charts/pulsar/templates/dashboard-deployment.yaml similarity index 100% rename from pulsar/templates/dashboard-deployment.yaml rename to charts/pulsar/templates/dashboard-deployment.yaml diff --git a/pulsar/templates/dashboard-ingress.yaml b/charts/pulsar/templates/dashboard-ingress.yaml similarity index 100% rename from pulsar/templates/dashboard-ingress.yaml rename to charts/pulsar/templates/dashboard-ingress.yaml diff --git a/pulsar/templates/dashboard-service.yaml b/charts/pulsar/templates/dashboard-service.yaml similarity index 100% rename from pulsar/templates/dashboard-service.yaml rename to charts/pulsar/templates/dashboard-service.yaml diff --git a/pulsar/templates/function-worker-configmap.yaml b/charts/pulsar/templates/function-worker-configmap.yaml similarity index 100% rename from pulsar/templates/function-worker-configmap.yaml rename to charts/pulsar/templates/function-worker-configmap.yaml diff --git a/pulsar/templates/grafana-deployment.yaml b/charts/pulsar/templates/grafana-deployment.yaml similarity index 100% rename from pulsar/templates/grafana-deployment.yaml rename to charts/pulsar/templates/grafana-deployment.yaml diff --git a/pulsar/templates/grafana-ingress.yaml b/charts/pulsar/templates/grafana-ingress.yaml similarity index 100% rename from pulsar/templates/grafana-ingress.yaml rename to charts/pulsar/templates/grafana-ingress.yaml diff --git a/pulsar/templates/grafana-service.yaml b/charts/pulsar/templates/grafana-service.yaml similarity index 100% rename from pulsar/templates/grafana-service.yaml rename to charts/pulsar/templates/grafana-service.yaml diff --git a/pulsar/templates/keytool.yaml b/charts/pulsar/templates/keytool.yaml similarity index 100% rename from pulsar/templates/keytool.yaml rename to charts/pulsar/templates/keytool.yaml diff --git a/pulsar/templates/namespace.yaml b/charts/pulsar/templates/namespace.yaml similarity index 100% rename from pulsar/templates/namespace.yaml rename to charts/pulsar/templates/namespace.yaml diff --git a/pulsar/templates/prometheus-configmap.yaml b/charts/pulsar/templates/prometheus-configmap.yaml similarity index 100% rename from pulsar/templates/prometheus-configmap.yaml rename to charts/pulsar/templates/prometheus-configmap.yaml diff --git a/pulsar/templates/prometheus-deployment.yaml b/charts/pulsar/templates/prometheus-deployment.yaml similarity index 100% rename from pulsar/templates/prometheus-deployment.yaml rename to charts/pulsar/templates/prometheus-deployment.yaml diff --git a/pulsar/templates/prometheus-pvc.yaml b/charts/pulsar/templates/prometheus-pvc.yaml similarity index 100% rename from pulsar/templates/prometheus-pvc.yaml rename to charts/pulsar/templates/prometheus-pvc.yaml diff --git a/pulsar/templates/prometheus-rbac.yaml b/charts/pulsar/templates/prometheus-rbac.yaml similarity index 100% rename from pulsar/templates/prometheus-rbac.yaml rename to charts/pulsar/templates/prometheus-rbac.yaml diff --git a/pulsar/templates/prometheus-service.yaml b/charts/pulsar/templates/prometheus-service.yaml similarity index 100% rename from pulsar/templates/prometheus-service.yaml rename to charts/pulsar/templates/prometheus-service.yaml diff --git a/pulsar/templates/prometheus-storageclass.yaml b/charts/pulsar/templates/prometheus-storageclass.yaml similarity index 100% rename from pulsar/templates/prometheus-storageclass.yaml rename to charts/pulsar/templates/prometheus-storageclass.yaml diff --git a/pulsar/templates/proxy-configmap.yaml b/charts/pulsar/templates/proxy-configmap.yaml similarity index 100% rename from pulsar/templates/proxy-configmap.yaml rename to charts/pulsar/templates/proxy-configmap.yaml diff --git a/pulsar/templates/proxy-pdb.yaml b/charts/pulsar/templates/proxy-pdb.yaml similarity index 100% rename from pulsar/templates/proxy-pdb.yaml rename to charts/pulsar/templates/proxy-pdb.yaml diff --git a/pulsar/templates/proxy-service.yaml b/charts/pulsar/templates/proxy-service.yaml similarity index 100% rename from pulsar/templates/proxy-service.yaml rename to charts/pulsar/templates/proxy-service.yaml diff --git a/pulsar/templates/proxy-statefulset.yaml b/charts/pulsar/templates/proxy-statefulset.yaml similarity index 100% rename from pulsar/templates/proxy-statefulset.yaml rename to charts/pulsar/templates/proxy-statefulset.yaml diff --git a/pulsar/templates/pulsar-cluster-initialize.yaml b/charts/pulsar/templates/pulsar-cluster-initialize.yaml similarity index 100% rename from pulsar/templates/pulsar-cluster-initialize.yaml rename to charts/pulsar/templates/pulsar-cluster-initialize.yaml diff --git a/pulsar/templates/pulsar-manager-admin-secret.yaml b/charts/pulsar/templates/pulsar-manager-admin-secret.yaml similarity index 100% rename from pulsar/templates/pulsar-manager-admin-secret.yaml rename to charts/pulsar/templates/pulsar-manager-admin-secret.yaml diff --git a/pulsar/templates/pulsar-manager-configmap.yaml b/charts/pulsar/templates/pulsar-manager-configmap.yaml similarity index 100% rename from pulsar/templates/pulsar-manager-configmap.yaml rename to charts/pulsar/templates/pulsar-manager-configmap.yaml diff --git a/pulsar/templates/pulsar-manager-deployment.yaml b/charts/pulsar/templates/pulsar-manager-deployment.yaml similarity index 100% rename from pulsar/templates/pulsar-manager-deployment.yaml rename to charts/pulsar/templates/pulsar-manager-deployment.yaml diff --git a/pulsar/templates/pulsar-manager-service.yaml b/charts/pulsar/templates/pulsar-manager-service.yaml similarity index 100% rename from pulsar/templates/pulsar-manager-service.yaml rename to charts/pulsar/templates/pulsar-manager-service.yaml diff --git a/pulsar/templates/tls-cert-internal-issuer.yaml b/charts/pulsar/templates/tls-cert-internal-issuer.yaml similarity index 100% rename from pulsar/templates/tls-cert-internal-issuer.yaml rename to charts/pulsar/templates/tls-cert-internal-issuer.yaml diff --git a/pulsar/templates/tls-certs-internal.yaml b/charts/pulsar/templates/tls-certs-internal.yaml similarity index 100% rename from pulsar/templates/tls-certs-internal.yaml rename to charts/pulsar/templates/tls-certs-internal.yaml diff --git a/pulsar/templates/toolset-configmap.yaml b/charts/pulsar/templates/toolset-configmap.yaml similarity index 100% rename from pulsar/templates/toolset-configmap.yaml rename to charts/pulsar/templates/toolset-configmap.yaml diff --git a/pulsar/templates/toolset-service.yaml b/charts/pulsar/templates/toolset-service.yaml similarity index 100% rename from pulsar/templates/toolset-service.yaml rename to charts/pulsar/templates/toolset-service.yaml diff --git a/pulsar/templates/toolset-statefulset.yaml b/charts/pulsar/templates/toolset-statefulset.yaml similarity index 100% rename from pulsar/templates/toolset-statefulset.yaml rename to charts/pulsar/templates/toolset-statefulset.yaml diff --git a/pulsar/templates/zookeeper-configmap.yaml b/charts/pulsar/templates/zookeeper-configmap.yaml similarity index 100% rename from pulsar/templates/zookeeper-configmap.yaml rename to charts/pulsar/templates/zookeeper-configmap.yaml diff --git a/pulsar/templates/zookeeper-pdb.yaml b/charts/pulsar/templates/zookeeper-pdb.yaml similarity index 100% rename from pulsar/templates/zookeeper-pdb.yaml rename to charts/pulsar/templates/zookeeper-pdb.yaml diff --git a/pulsar/templates/zookeeper-service.yaml b/charts/pulsar/templates/zookeeper-service.yaml similarity index 100% rename from pulsar/templates/zookeeper-service.yaml rename to charts/pulsar/templates/zookeeper-service.yaml diff --git a/pulsar/templates/zookeeper-statefulset.yaml b/charts/pulsar/templates/zookeeper-statefulset.yaml similarity index 100% rename from pulsar/templates/zookeeper-statefulset.yaml rename to charts/pulsar/templates/zookeeper-statefulset.yaml diff --git a/pulsar/templates/zookeeper-storageclass.yaml b/charts/pulsar/templates/zookeeper-storageclass.yaml similarity index 100% rename from pulsar/templates/zookeeper-storageclass.yaml rename to charts/pulsar/templates/zookeeper-storageclass.yaml diff --git a/pulsar/values.yaml b/charts/pulsar/values.yaml similarity index 100% rename from pulsar/values.yaml rename to charts/pulsar/values.yaml From 3d3fe65a83b882afb63a36885e438e4e5c864b83 Mon Sep 17 00:00:00 2001 From: Sijie Guo Date: Tue, 21 Apr 2020 01:40:54 -0700 Subject: [PATCH 11/12] Publish pulsar chart --- .ci/release.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.ci/release.sh b/.ci/release.sh index ee619d35..5b70e707 100755 --- a/.ci/release.sh +++ b/.ci/release.sh @@ -112,9 +112,10 @@ fi release::ensure_dir ${CHARTS_PKGS} release::ensure_dir ${CHARTS_INDEX} -for chart in $(release::find_changed_charts charts); do - release::package_chart ${chart} -done +release::package_chart pulsar +#for chart in $(release::find_changed_charts charts); do +# release::package_chart ${chart} +#done release::upload_packages release::update_chart_index From 9d5282983d7d81addbf8eb25fc9cfa99fb92fc2f Mon Sep 17 00:00:00 2001 From: Sijie Guo Date: Tue, 21 Apr 2020 02:04:44 -0700 Subject: [PATCH 12/12] Revert changes --- .ci/git.sh | 1 - .ci/release.sh | 13 +++++-------- .github/workflows/pulsar.yml | 2 +- .github/workflows/pulsar_bk_tls.yml | 2 +- .github/workflows/pulsar_broker_tls.yml | 2 +- .github/workflows/pulsar_function.yml | 2 +- .github/workflows/pulsar_image.yml | 2 +- .github/workflows/pulsar_jwt_asymmetric.yml | 2 +- .github/workflows/pulsar_jwt_symmetric.yml | 2 +- .github/workflows/pulsar_tls.yml | 2 +- .github/workflows/pulsar_zk_tls.yml | 2 +- .github/workflows/pulsar_zkbk_tls.yml | 2 +- .github/workflows/release.yml | 7 ++----- 13 files changed, 17 insertions(+), 24 deletions(-) diff --git a/.ci/git.sh b/.ci/git.sh index d834f022..f888b7a4 100644 --- a/.ci/git.sh +++ b/.ci/git.sh @@ -21,7 +21,6 @@ function git::fetch_tags() { echo "Fetching tags ..." git fetch --tags - git fetch origin 'refs/tags/*:refs/tags/*' } function git::find_latest_tag() { diff --git a/.ci/release.sh b/.ci/release.sh index 5b70e707..0e08c71c 100755 --- a/.ci/release.sh +++ b/.ci/release.sh @@ -86,15 +86,13 @@ function release::publish_charts() { cp --force ${CHARTS_INDEX}/index.yaml index.yaml git add index.yaml git commit --message="Publish new charts to ${CHARTS_REPO}" --signoff - # git push --set-upstream origin gh-pages + git push --set-upstream origin gh-pages } # install cr # hack::ensure_cr docker pull quay.io/helmpack/chart-releaser:v${CR_VERSION} -git::fetch_tags - latest_tag=$(git::find_latest_tag) echo "Latest tag: $latest_tag" @@ -106,16 +104,15 @@ echo "$head_rev HEAD" if [[ "$latest_tag_rev" == "$head_rev" ]]; then echo "Do nothing. Exiting ..." -# exit + exit fi release::ensure_dir ${CHARTS_PKGS} release::ensure_dir ${CHARTS_INDEX} -release::package_chart pulsar -#for chart in $(release::find_changed_charts charts); do -# release::package_chart ${chart} -#done +for chart in $(release::find_changed_charts charts); do + release::package_chart ${chart} +done release::upload_packages release::update_chart_index diff --git a/.github/workflows/pulsar.yml b/.github/workflows/pulsar.yml index 07d047a4..f06764ba 100644 --- a/.github/workflows/pulsar.yml +++ b/.github/workflows/pulsar.yml @@ -23,7 +23,7 @@ on: branches: - '*' paths: - - 'pulsar/**' + - 'charts/pulsar/**' jobs: lint-test: runs-on: ubuntu-latest diff --git a/.github/workflows/pulsar_bk_tls.yml b/.github/workflows/pulsar_bk_tls.yml index 284b50dd..85cf41a1 100644 --- a/.github/workflows/pulsar_bk_tls.yml +++ b/.github/workflows/pulsar_bk_tls.yml @@ -23,7 +23,7 @@ on: branches: - '*' paths: - - 'pulsar/**' + - 'charts/pulsar/**' jobs: lint-test: runs-on: ubuntu-latest diff --git a/.github/workflows/pulsar_broker_tls.yml b/.github/workflows/pulsar_broker_tls.yml index b4a8c791..f07617a8 100644 --- a/.github/workflows/pulsar_broker_tls.yml +++ b/.github/workflows/pulsar_broker_tls.yml @@ -23,7 +23,7 @@ on: branches: - '*' paths: - - 'pulsar/**' + - 'charts/pulsar/**' jobs: lint-test: runs-on: ubuntu-latest diff --git a/.github/workflows/pulsar_function.yml b/.github/workflows/pulsar_function.yml index ee3f72d9..e67f302f 100644 --- a/.github/workflows/pulsar_function.yml +++ b/.github/workflows/pulsar_function.yml @@ -23,7 +23,7 @@ on: branches: - '*' paths: - - 'pulsar/**' + - 'charts/pulsar/**' jobs: lint-test: runs-on: ubuntu-latest diff --git a/.github/workflows/pulsar_image.yml b/.github/workflows/pulsar_image.yml index e99cb1fa..567cc899 100644 --- a/.github/workflows/pulsar_image.yml +++ b/.github/workflows/pulsar_image.yml @@ -23,7 +23,7 @@ on: branches: - '*' paths: - - 'pulsar/**' + - 'charts/pulsar/**' jobs: lint-test: runs-on: ubuntu-latest diff --git a/.github/workflows/pulsar_jwt_asymmetric.yml b/.github/workflows/pulsar_jwt_asymmetric.yml index 0411b6c2..e766dba4 100644 --- a/.github/workflows/pulsar_jwt_asymmetric.yml +++ b/.github/workflows/pulsar_jwt_asymmetric.yml @@ -23,7 +23,7 @@ on: branches: - '*' paths: - - 'pulsar/**' + - 'charts/pulsar/**' jobs: lint-test: runs-on: ubuntu-latest diff --git a/.github/workflows/pulsar_jwt_symmetric.yml b/.github/workflows/pulsar_jwt_symmetric.yml index 4dbac2df..382eac2c 100644 --- a/.github/workflows/pulsar_jwt_symmetric.yml +++ b/.github/workflows/pulsar_jwt_symmetric.yml @@ -23,7 +23,7 @@ on: branches: - '*' paths: - - 'pulsar/**' + - 'charts/pulsar/**' jobs: lint-test: runs-on: ubuntu-latest diff --git a/.github/workflows/pulsar_tls.yml b/.github/workflows/pulsar_tls.yml index 635d0a9e..a3673b90 100644 --- a/.github/workflows/pulsar_tls.yml +++ b/.github/workflows/pulsar_tls.yml @@ -23,7 +23,7 @@ on: branches: - '*' paths: - - 'pulsar/**' + - 'charts/pulsar/**' jobs: lint-test: runs-on: ubuntu-latest diff --git a/.github/workflows/pulsar_zk_tls.yml b/.github/workflows/pulsar_zk_tls.yml index 761801a3..e0e44702 100644 --- a/.github/workflows/pulsar_zk_tls.yml +++ b/.github/workflows/pulsar_zk_tls.yml @@ -23,7 +23,7 @@ on: branches: - '*' paths: - - 'pulsar/**' + - 'charts/pulsar/**' jobs: lint-test: runs-on: ubuntu-latest diff --git a/.github/workflows/pulsar_zkbk_tls.yml b/.github/workflows/pulsar_zkbk_tls.yml index 396d4c2b..7c5037d6 100644 --- a/.github/workflows/pulsar_zkbk_tls.yml +++ b/.github/workflows/pulsar_zkbk_tls.yml @@ -23,7 +23,7 @@ on: branches: - '*' paths: - - 'pulsar/**' + - 'charts/pulsar/**' jobs: lint-test: runs-on: ubuntu-latest diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d4be4c45..f2e730e3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,12 +19,9 @@ name: Post commit - Publish Pulsar Helm Chart on: - # push: - # branches: - # - master - pull_request: + push: branches: - - '*' + - master jobs: release: runs-on: ubuntu-latest