# https://taskfile.dev version: "3" vars: gitea_url: git.benadis.ru owner: helm chart_file: "" CHART_FILE: "11" # env: dotenv: [".sec"] tasks: helm:argocd-build-pub: desc: Отправка Helm chart в Gitea vars: repo: helm-charts chart_name: argo-cd dir: . cmds: - helm repo add --username {{.username}} --password {{.password}} {{.repo}} https://{{.gitea_url}}/api/packages/{{.owner}}/helm - helm cm-push {{.chart_name}} {{.repo}} silent: true helm:gitea-build-pub: desc: Отправка Helm chart в Gitea vars: repo: helm-charts chart_name: gitea dir: . cmds: - helm repo add --username {{.username}} --password {{.password}} {{.repo}} https://{{.gitea_url}}/api/packages/{{.owner}}/helm - helm cm-push {{.chart_name}} {{.repo}} silent: true отправить-все: desc: Отправка всех Helm chart в Gitea deps: - task: helm:gitea-build-pub - task: helm:argocd-build-pub silent: true helm:helm-push-inst: desc: Установка плагина helm-push dir: . cmds: - helm plugin install https://github.com/chartmuseum/helm-push silent: true