You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ki...@apache.org on 2022/06/08 18:27:41 UTC

[trafficserver-ingress-controller] branch master updated: fix helm release (#130)

This is an automated email from the ASF dual-hosted git repository.

kichan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver-ingress-controller.git


The following commit(s) were added to refs/heads/master by this push:
     new ddf32c0  fix helm release (#130)
ddf32c0 is described below

commit ddf32c0a091dc25cdf56de1b2d2c4dbcdf851684
Author: Kit Chan <ki...@apache.org>
AuthorDate: Wed Jun 8 11:27:37 2022 -0700

    fix helm release (#130)
    
    * fix helm release
    
    * fix github action
---
 .github/workflows/helm.yml   | 18 +++++-------------
 charts/ats-ingress/README.md |  3 ---
 2 files changed, 5 insertions(+), 16 deletions(-)

diff --git a/.github/workflows/helm.yml b/.github/workflows/helm.yml
index ff47268..45cdd79 100644
--- a/.github/workflows/helm.yml
+++ b/.github/workflows/helm.yml
@@ -13,31 +13,23 @@ jobs:
     runs-on: ubuntu-latest
 
     steps:
-      - name: Checkout
-        uses: actions/checkout@v1
-        with:
-          submodules: 'true'
-
-      - name: Configure Git
-        run: |
-          git config user.name "$GITHUB_ACTOR"
-          git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
-
       - name: Install Helm
         uses: azure/setup-helm@v1
         with:
           version: v3.5.4
 
-      - name: Build Helm Chart
-        run: |
+      - uses: actions/checkout@v3
+      - run: |
           cd charts
           helm package ats-ingress
           helm repo index . --url https://apache.github.io/trafficserver-ingress-controller
           cp index.yaml ../docs/
           cp ats-ingress-*.tgz ../docs/
           cd ..
+          git config user.name github-actions
+          git config user.email github-actions@github.com
           git add docs/index.yaml
           git add docs/ats-ingress-*.tgz
           git commit -m 'Release new version of helm chart'
-          git push origin master
+          git push
 
diff --git a/charts/ats-ingress/README.md b/charts/ats-ingress/README.md
index b134910..5411038 100644
--- a/charts/ats-ingress/README.md
+++ b/charts/ats-ingress/README.md
@@ -20,9 +20,6 @@
 # Helm support
 This is the ats-ingress chart repository for Helm V3. 
 
-## To build and push new version of the helm chart
-1. Done through [github action for helm release](https://github.com/apache/trafficserver-ingress-controller/blob/master/.github/workflows/helm.yml)
-
 ## To install from git source
 1. git clone the project
 2. `$ kubectl create namespace ats-helm`