-
Notifications
You must be signed in to change notification settings - Fork 148
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1903 from HXSecurity/beta
Beta
- Loading branch information
Showing
1 changed file
with
8 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -148,27 +148,28 @@ jobs: | |
- name: Download existed repo files | ||
run: | | ||
sed -i "s#tag: latest#tag: ${{ env.iast_version }}#g" deploy/kubernetes/helm/values.yaml | ||
- name: Upload COS php | ||
uses: zkqiang/[email protected] | ||
with: | ||
args: download -rs iast/ ~/helm/repo/ --ignore "index.yaml" | ||
args: download -rs iast/ /github/workspace/cos --ignore "*.yaml" | ||
secret_id: ${{ secrets.TENSECRET_ID }} | ||
secret_key: ${{ secrets.TENSECRET_KEY }} | ||
bucket: dongtai-helm-charts-1251882848 | ||
region: ap-hongkong | ||
|
||
- name: Create helm package | ||
run: | | ||
ls ~/helm/repo | ||
helm package deploy/kubernetes/helm -d ~/helm/repo --app-version ${{ env.iast_version }} --version ${{ env.iast_version }} | ||
ls ~/helm/repo | ||
helm repo index ~/helm/repo/ --url ${{ secrets.DONGTAI_IAST_CHART_REPO_URL }} | ||
ls -lh /home/runner/work/DongTai/DongTai/ | ||
ls -lh /home/runner/work/DongTai/DongTai/cos | ||
sudo helm package deploy/kubernetes/helm -d /home/runner/work/DongTai/DongTai/cos --app-version ${{ env.iast_version }} --version ${{ env.iast_version }} | ||
sudo helm repo index /home/runner/work/DongTai/DongTai/cos --url ${{ secrets.DONGTAI_IAST_CHART_REPO_URL }} | ||
- name: Upload COS 2 | ||
uses: zkqiang/[email protected] | ||
with: | ||
args: upload -rs ~/helm/repo/dongtai-iast-${{ env.iast_version }}.tgz /iast/ && upload -rs ~/helm/repo/index.yaml /iast/ | ||
args: upload -rs /github/workspace/cos/dongtai-iast-${{ env.iast_version }}.tgz /iast/ && upload -rs /github/workspace/cos/index.yaml /iast/ | ||
secret_id: ${{ secrets.TENSECRET_ID }} | ||
secret_key: ${{ secrets.TENSECRET_KEY }} | ||
bucket: dongtai-helm-charts-1251882848 | ||
|