Commit a8e585b2 authored by Hordur Freyr Yngvason's avatar Hordur Freyr Yngvason Committed by Matija Čupić

Update auto-deploy-image to v2.17.0

parent d8274187
...@@ -423,7 +423,10 @@ applications. ...@@ -423,7 +423,10 @@ applications.
| `HELM_UPGRADE_EXTRA_ARGS` | From GitLab 11.11, allows extra options in `helm upgrade` commands when deploying the application. Note that using quotes doesn't prevent word splitting. | | `HELM_UPGRADE_EXTRA_ARGS` | From GitLab 11.11, allows extra options in `helm upgrade` commands when deploying the application. Note that using quotes doesn't prevent word splitting. |
| `INCREMENTAL_ROLLOUT_MODE` | From GitLab 11.4, if present, can be used to enable an [incremental rollout](#incremental-rollout-to-production) of your application for the production environment. Set to `manual` for manual deployment jobs or `timed` for automatic rollout deployments with a 5 minute delay each one. | | `INCREMENTAL_ROLLOUT_MODE` | From GitLab 11.4, if present, can be used to enable an [incremental rollout](#incremental-rollout-to-production) of your application for the production environment. Set to `manual` for manual deployment jobs or `timed` for automatic rollout deployments with a 5 minute delay each one. |
| `K8S_SECRET_*` | From GitLab 11.7, any variable prefixed with [`K8S_SECRET_`](#application-secret-variables) is made available by Auto DevOps as environment variables to the deployed application. | | `K8S_SECRET_*` | From GitLab 11.7, any variable prefixed with [`K8S_SECRET_`](#application-secret-variables) is made available by Auto DevOps as environment variables to the deployed application. |
| `KUBE_CONTEXT` | From GitLab 14.5, can be used to select which context to use from `KUBECONFIG`. When `KUBE_CONTEXT` is blank, the default context in `KUBECONFIG` (if any) will be used. A context must be selected when using the [CI/CD tunnel](../../user/clusters/agent/ci_cd_tunnel.md). |
| `KUBE_INGRESS_BASE_DOMAIN` | From GitLab 11.8, can be used to set a domain per cluster. See [cluster domains](../../user/project/clusters/gitlab_managed_clusters.md#base-domain) for more information. | | `KUBE_INGRESS_BASE_DOMAIN` | From GitLab 11.8, can be used to set a domain per cluster. See [cluster domains](../../user/project/clusters/gitlab_managed_clusters.md#base-domain) for more information. |
| `KUBE_NAMESPACE` | The namespace used for deployments. When using certificate-based clusters, [this value should not be overwritten directly](../../user/project/clusters/deploy_to_cluster.md#custom-namespace). |
| `KUBECONFIG` | The kubeconfig to use for deployments. User-provided values take priority over GitLab-provided values. |
| `PRODUCTION_REPLICAS` | Number of replicas to deploy in the production environment. Takes precedence over `REPLICAS` and defaults to 1. For zero downtime upgrades, set to 2 or greater. | | `PRODUCTION_REPLICAS` | Number of replicas to deploy in the production environment. Takes precedence over `REPLICAS` and defaults to 1. For zero downtime upgrades, set to 2 or greater. |
| `REPLICAS` | Number of replicas to deploy. Defaults to 1. | | `REPLICAS` | Number of replicas to deploy. Defaults to 1. |
| `ROLLOUT_RESOURCE_TYPE` | From GitLab 11.9, allows specification of the resource type being deployed when using a custom Helm chart. Default value is `deployment`. | | `ROLLOUT_RESOURCE_TYPE` | From GitLab 11.9, allows specification of the resource type being deployed when using a custom Helm chart. Default value is `deployment`. |
......
variables: variables:
DAST_AUTO_DEPLOY_IMAGE_VERSION: 'v2.14.0' DAST_AUTO_DEPLOY_IMAGE_VERSION: 'v2.17.0'
.dast-auto-deploy: .dast-auto-deploy:
image: "registry.gitlab.com/gitlab-org/cluster-integration/auto-deploy-image:${DAST_AUTO_DEPLOY_IMAGE_VERSION}" image: "registry.gitlab.com/gitlab-org/cluster-integration/auto-deploy-image:${DAST_AUTO_DEPLOY_IMAGE_VERSION}"
...@@ -10,6 +10,7 @@ dast_environment_deploy: ...@@ -10,6 +10,7 @@ dast_environment_deploy:
script: script:
- auto-deploy check_kube_domain - auto-deploy check_kube_domain
- auto-deploy download_chart - auto-deploy download_chart
- auto-deploy use_kube_context || true
- auto-deploy ensure_namespace - auto-deploy ensure_namespace
- auto-deploy initialize_tiller - auto-deploy initialize_tiller
- auto-deploy create_secret - auto-deploy create_secret
...@@ -38,6 +39,7 @@ stop_dast_environment: ...@@ -38,6 +39,7 @@ stop_dast_environment:
variables: variables:
GIT_STRATEGY: none GIT_STRATEGY: none
script: script:
- auto-deploy use_kube_context || true
- auto-deploy initialize_tiller - auto-deploy initialize_tiller
- auto-deploy delete - auto-deploy delete
environment: environment:
......
variables: variables:
AUTO_DEPLOY_IMAGE_VERSION: 'v2.14.0' AUTO_DEPLOY_IMAGE_VERSION: 'v2.17.0'
.auto-deploy: .auto-deploy:
image: "registry.gitlab.com/gitlab-org/cluster-integration/auto-deploy-image:${AUTO_DEPLOY_IMAGE_VERSION}" image: "registry.gitlab.com/gitlab-org/cluster-integration/auto-deploy-image:${AUTO_DEPLOY_IMAGE_VERSION}"
...@@ -11,6 +11,7 @@ review: ...@@ -11,6 +11,7 @@ review:
script: script:
- auto-deploy check_kube_domain - auto-deploy check_kube_domain
- auto-deploy download_chart - auto-deploy download_chart
- auto-deploy use_kube_context || true
- auto-deploy ensure_namespace - auto-deploy ensure_namespace
- auto-deploy initialize_tiller - auto-deploy initialize_tiller
- auto-deploy create_secret - auto-deploy create_secret
...@@ -38,6 +39,7 @@ stop_review: ...@@ -38,6 +39,7 @@ stop_review:
variables: variables:
GIT_STRATEGY: none GIT_STRATEGY: none
script: script:
- auto-deploy use_kube_context || true
- auto-deploy initialize_tiller - auto-deploy initialize_tiller
- auto-deploy delete - auto-deploy delete
environment: environment:
...@@ -66,6 +68,7 @@ staging: ...@@ -66,6 +68,7 @@ staging:
script: script:
- auto-deploy check_kube_domain - auto-deploy check_kube_domain
- auto-deploy download_chart - auto-deploy download_chart
- auto-deploy use_kube_context || true
- auto-deploy ensure_namespace - auto-deploy ensure_namespace
- auto-deploy initialize_tiller - auto-deploy initialize_tiller
- auto-deploy create_secret - auto-deploy create_secret
...@@ -91,6 +94,7 @@ canary: ...@@ -91,6 +94,7 @@ canary:
script: script:
- auto-deploy check_kube_domain - auto-deploy check_kube_domain
- auto-deploy download_chart - auto-deploy download_chart
- auto-deploy use_kube_context || true
- auto-deploy ensure_namespace - auto-deploy ensure_namespace
- auto-deploy initialize_tiller - auto-deploy initialize_tiller
- auto-deploy create_secret - auto-deploy create_secret
...@@ -114,6 +118,7 @@ canary: ...@@ -114,6 +118,7 @@ canary:
script: script:
- auto-deploy check_kube_domain - auto-deploy check_kube_domain
- auto-deploy download_chart - auto-deploy download_chart
- auto-deploy use_kube_context || true
- auto-deploy ensure_namespace - auto-deploy ensure_namespace
- auto-deploy initialize_tiller - auto-deploy initialize_tiller
- auto-deploy create_secret - auto-deploy create_secret
...@@ -168,6 +173,7 @@ production_manual: ...@@ -168,6 +173,7 @@ production_manual:
script: script:
- auto-deploy check_kube_domain - auto-deploy check_kube_domain
- auto-deploy download_chart - auto-deploy download_chart
- auto-deploy use_kube_context || true
- auto-deploy ensure_namespace - auto-deploy ensure_namespace
- auto-deploy initialize_tiller - auto-deploy initialize_tiller
- auto-deploy create_secret - auto-deploy create_secret
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment