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