debian-mirror-gitlab/lib/gitlab/ci/templates/Managed-Cluster-Applications.gitlab-ci.yml
2021-02-22 17:27:13 +05:30

19 lines
538 B
YAML

apply:
stage: deploy
image: "registry.gitlab.com/gitlab-org/cluster-integration/cluster-applications:v0.36.0"
environment:
name: production
variables:
TILLER_NAMESPACE: gitlab-managed-apps
GITLAB_MANAGED_APPS_FILE: $CI_PROJECT_DIR/.gitlab/managed-apps/config.yaml
script:
- gitlab-managed-apps /usr/local/share/gitlab-managed-apps/helmfile.yaml
only:
refs:
- master
artifacts:
reports:
cluster_applications: gl-cluster-applications.json
when: on_failure
paths:
- tiller.log