2020-01-01 13:55:28 +05:30
|
|
|
apply:
|
|
|
|
stage: deploy
|
2020-04-08 14:13:33 +05:30
|
|
|
image: "registry.gitlab.com/gitlab-org/cluster-integration/cluster-applications:v0.12.0"
|
2020-01-01 13:55:28 +05:30
|
|
|
environment:
|
|
|
|
name: production
|
|
|
|
variables:
|
|
|
|
TILLER_NAMESPACE: gitlab-managed-apps
|
|
|
|
GITLAB_MANAGED_APPS_FILE: $CI_PROJECT_DIR/.gitlab/managed-apps/config.yaml
|
|
|
|
INGRESS_VALUES_FILE: $CI_PROJECT_DIR/.gitlab/managed-apps/ingress/values.yaml
|
2020-03-13 15:44:24 +05:30
|
|
|
CERT_MANAGER_VALUES_FILE: $CI_PROJECT_DIR/.gitlab/managed-apps/cert-manager/values.yaml
|
2020-01-01 13:55:28 +05:30
|
|
|
SENTRY_VALUES_FILE: $CI_PROJECT_DIR/.gitlab/managed-apps/sentry/values.yaml
|
2020-03-13 15:44:24 +05:30
|
|
|
GITLAB_RUNNER_VALUES_FILE: $CI_PROJECT_DIR/.gitlab/managed-apps/gitlab-runner/values.yaml
|
|
|
|
CILIUM_VALUES_FILE: $CI_PROJECT_DIR/.gitlab/managed-apps/cilium/values.yaml
|
2020-04-08 14:13:33 +05:30
|
|
|
CILIUM_HUBBLE_VALUES_FILE: $CI_PROJECT_DIR/.gitlab/managed-apps/cilium/hubble-values.yaml
|
2020-03-13 15:44:24 +05:30
|
|
|
JUPYTERHUB_VALUES_FILE: $CI_PROJECT_DIR/.gitlab/managed-apps/jupyterhub/values.yaml
|
|
|
|
PROMETHEUS_VALUES_FILE: $CI_PROJECT_DIR/.gitlab/managed-apps/prometheus/values.yaml
|
|
|
|
ELASTIC_STACK_VALUES_FILE: $CI_PROJECT_DIR/.gitlab/managed-apps/elastic-stack/values.yaml
|
2020-04-08 14:13:33 +05:30
|
|
|
VAULT_VALUES_FILE: $CI_PROJECT_DIR/.gitlab/managed-apps/vault/values.yaml
|
|
|
|
CROSSPLANE_VALUES_FILE: $CI_PROJECT_DIR/.gitlab/managed-apps/crossplane/values.yaml
|
2020-01-01 13:55:28 +05:30
|
|
|
script:
|
|
|
|
- gitlab-managed-apps /usr/local/share/gitlab-managed-apps/helmfile.yaml
|
|
|
|
only:
|
|
|
|
refs:
|
|
|
|
- master
|
2020-03-13 15:44:24 +05:30
|
|
|
artifacts:
|
|
|
|
when: on_failure
|
|
|
|
paths:
|
|
|
|
- tiller.log
|