summaryrefslogtreecommitdiff
path: root/lib/gitlab/ci/templates/Managed-Cluster-Applications.gitlab-ci.yml
blob: a9638f564f3231d186f0a7a05ddf564356c7f1ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
apply:
  stage: deploy
  image: "registry.gitlab.com/gitlab-org/cluster-integration/cluster-applications:v0.33.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