File tree Expand file tree Collapse file tree 3 files changed +9
-18
lines changed
Expand file tree Collapse file tree 3 files changed +9
-18
lines changed Original file line number Diff line number Diff line change @@ -131,9 +131,6 @@ jobs:
131131 env : # ACI_ARTIFACT_1_URL
132132 GITHUB_TOKEN : ${{ secrets.HELM_REPO_TOKEN }}
133133 run : |
134- git config user.name "$GITHUB_ACTOR"
135- git config user.email "[email protected] " 136-
137134 helm repo index out/ --url "$ACI_ARTIFACT_1_URL" --merge helm-charts/index.yaml
138135 cp -f out/index.yaml helm-charts/index.yaml
139136
Original file line number Diff line number Diff line change 9292 cache-name : cache-outputs-modules
9393 with :
9494 path : out/
95- key : dns-bind-${{ github.event.pull_request.head. sha }}-${{ hashFiles('out/dns-bind*') }}
95+ key : dns-bind-${{ github.sha }}-${{ hashFiles('out/dns-bind*') }}
9696 restore-keys : |
97- dns-bind-${{ github.event.pull_request.head. sha }}
97+ dns-bind-${{ github.sha }}
9898
9999 publish_release :
100100 runs-on : ubuntu-latest
@@ -111,7 +111,7 @@ jobs:
111111 cache-name : cache-outputs-modules
112112 with :
113113 path : out/
114- key : dns-bind-${{ github.event.pull_request.head. sha }}
114+ key : dns-bind-${{ github.sha }}
115115
116116 - name : Check out helm-charts
117117 uses : actions/checkout@v2
@@ -131,7 +131,7 @@ jobs:
131131
132132 - name : Helm index
133133 env :
134- CHART_URL : " https://github.com/${{ github.repository }}/releases/download/${{ needs.generate_infos.outputs.version }}/dns-bind-${{ needs.generate_infos.outputs.version }}.tgz "
134+ CHART_URL : " https://github.com/${{ github.repository }}/releases/download/${{ needs.generate_infos.outputs.version }}"
135135 run : |
136136 export
137137 helm repo index out/ --url "$CHART_URL" --merge helm-charts/index.yaml
Original file line number Diff line number Diff line change @@ -49,26 +49,20 @@ log() {
4949 local message=" ${2} " # msg to print
5050 local debug=" ${3} " # 0: only warn and error, >0: ok and info
5151
52- local clr_ok=" \033[0;32m"
53- local clr_info=" \033[0;34m"
54- local clr_warn=" \033[0;33m"
55- local clr_err=" \033[0;31m"
56- local clr_rst=" \033[0m"
57-
5852 if [ " ${type} " = " ok" ]; then
5953 if [ " ${debug} " -gt " 0" ]; then
60- printf " ${clr_ok} [OK] %s ${clr_rst} \n " " ${ message}" 1>&2
54+ echo " [OK] ${ message}"
6155 fi
6256 elif [ " ${type} " = " info" ]; then
6357 if [ " ${debug} " -gt " 0" ]; then
64- printf " ${clr_info} [INFO] %s ${clr_rst} \n " " ${ message}" 1>&2
58+ echo " [INFO] ${ message}"
6559 fi
6660 elif [ " ${type} " = " warn" ]; then
67- printf " ${clr_warn} [WARN] %s ${clr_rst} \n " " ${ message}" 1>&2 # stdout -> stderr
61+ echo " [WARN] ${ message}"
6862 elif [ " ${type} " = " err" ]; then
69- printf " ${clr_err} [ERR] %s ${clr_rst} \n " " ${ message}" 1>&2 # stdout -> stderr
63+ echo " [ERR] ${ message}"
7064 else
71- printf " ${clr_err} [???] %s ${clr_rst} \n " " ${ message}" 1>&2 # stdout -> stderr
65+ echo " [???] ${ message}"
7266 fi
7367}
7468
You can’t perform that action at this time.
0 commit comments