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
-
Changelog entry -
Documentation created/updated or follow-up review issue created -
Code review guidelines -
Merge request performance guidelines -
Style guides -
Database guides -
Separation of EE specific content
Performance and testing
-
Review and add/update tests for this feature/bug. Consider all test levels. See the Test Planning Process. -
Tested in all supported browsers
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 🤖