Commit 48663c8f authored by Hordur Freyr Yngvason's avatar Hordur Freyr Yngvason

Require `auto-deploy use_kube_context` to be present

The use_kube_context subcommand was added in auto-deploy-image version
v2.17.0.  In order to avoid breaking existing pipelines with a pinned
$AUTO_DEPLOY_IMAGE_VERSION < v2.17.0, the command was allowed to fail.
In GitLab 15.0, we will require this command to be present.

This means that Auto DevOps in GitLab 15.0 will require
$AUTO_DEPLOY_IMAGE_VERSION to be v2.17.0 or greater.

Changelog: deprecated
parent c01598fd
......@@ -11,7 +11,7 @@ review:
script:
- auto-deploy check_kube_domain
- auto-deploy download_chart
- auto-deploy use_kube_context || true
- auto-deploy use_kube_context
- auto-deploy ensure_namespace
- auto-deploy initialize_tiller
- auto-deploy create_secret
......@@ -39,7 +39,7 @@ stop_review:
variables:
GIT_STRATEGY: none
script:
- auto-deploy use_kube_context || true
- auto-deploy use_kube_context
- auto-deploy initialize_tiller
- auto-deploy delete
environment:
......@@ -68,7 +68,7 @@ staging:
script:
- auto-deploy check_kube_domain
- auto-deploy download_chart
- auto-deploy use_kube_context || true
- auto-deploy use_kube_context
- auto-deploy ensure_namespace
- auto-deploy initialize_tiller
- auto-deploy create_secret
......@@ -94,7 +94,7 @@ canary:
script:
- auto-deploy check_kube_domain
- auto-deploy download_chart
- auto-deploy use_kube_context || true
- auto-deploy use_kube_context
- auto-deploy ensure_namespace
- auto-deploy initialize_tiller
- auto-deploy create_secret
......@@ -118,7 +118,7 @@ canary:
script:
- auto-deploy check_kube_domain
- auto-deploy download_chart
- auto-deploy use_kube_context || true
- auto-deploy use_kube_context
- auto-deploy ensure_namespace
- auto-deploy initialize_tiller
- auto-deploy create_secret
......@@ -173,7 +173,7 @@ production_manual:
script:
- auto-deploy check_kube_domain
- auto-deploy download_chart
- auto-deploy use_kube_context || true
- auto-deploy use_kube_context
- auto-deploy ensure_namespace
- auto-deploy initialize_tiller
- 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