ArgoCD.
This commit is contained in:
28
Taskfile.yml
28
Taskfile.yml
@@ -24,7 +24,7 @@ tasks:
|
||||
desc: Отправка Helm chart в Gitea
|
||||
vars:
|
||||
repo: helm-charts
|
||||
chart_file: c:\\r\\helm-charts\\gitea\\gitea-11.0.0.tgz
|
||||
chart_file: c:\\r\\helm-charts\\gitea\\gitea-11.0.1.tgz
|
||||
dir: .
|
||||
cmds:
|
||||
- dir=$(pwd)
|
||||
@@ -32,8 +32,19 @@ tasks:
|
||||
- task: gitea-helm-pack
|
||||
- helm repo add --username {{.username}} --password {{.password}} {{.repo}} https://{{.gitea_url}}/api/packages/{{.owner}}/helm
|
||||
- helm cm-push {{.chart_file}} {{.repo}}
|
||||
# helm repo add --username {username} --password {password} {repo} https://gitea.example.com/api/packages/{owner}/helm
|
||||
# helm cm-push ./{chart_file}.tgz {repo}
|
||||
silent: true
|
||||
argocd-helm-pub:
|
||||
desc: Отправка Helm chart в Gitea
|
||||
vars:
|
||||
repo: helm-charts
|
||||
chart_file: c:\\r\\helm-charts\\argo-cd\\argo-cd-7.8.10.tgz
|
||||
dir: .
|
||||
cmds:
|
||||
- dir=$(pwd)
|
||||
|
||||
- task: argocd-helm-pack
|
||||
- helm repo add --username {{.username}} --password {{.password}} {{.repo}} https://{{.gitea_url}}/api/packages/{{.owner}}/helm
|
||||
- helm cm-push {{.chart_file}} {{.repo}}
|
||||
silent: true
|
||||
gitea-helm-pack:
|
||||
desc: Pack Helm chart for Gitea
|
||||
@@ -41,7 +52,16 @@ tasks:
|
||||
chart_file: gitea-11.0.0.tgz
|
||||
dir: ./gitea
|
||||
cmds:
|
||||
- rm -f {{.chart_file}}
|
||||
- rm -f *.tgz
|
||||
- helm package .
|
||||
silent: true
|
||||
argocd-helm-pack:
|
||||
desc: Pack Helm chart for ArgoCD
|
||||
vars:
|
||||
chart_file: gitea-11.0.0.tgz
|
||||
dir: ./argo-cd
|
||||
cmds:
|
||||
- rm -f *.tgz
|
||||
- helm package .
|
||||
silent: true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user