Skip to content

Auto-DevOps: allow to disable rollout status check

What does this MR do?

Hello!

This MR fixes error when using Auto-DevOps with resource type that can't be passed to kubectl rollout status.

For example if you create chart with CronJob resource and set ROLLOUT_RESOURCE_TYPE variable to cronjob your production ci job will end up with:

error: no status viewer has been implemented for CronJob.batch

because deployments, daemonsets, statefulsets are only valid resource types for kubectl rollout status.

This MR allows to skip kubectl rollout status by setting variable ROLLOUT_STATUS_DISABLED.

Related: !24972 (merged)

Does this MR meet the acceptance criteria?

Conformity

Performance and testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by 🤖 GitLab Bot 🤖

Merge request reports