[go: up one dir, main page]

[Feature flag] Rollout of `ci_value_change_for_processable_and_rules_entry`

Summary

This issue is to rollout !90238 (merged) on production, that is currently behind the ci_value_change_for_processable_and_rules_entry feature flag.

Owners

Expectations

What are we expecting to happen?

We expect nothing to change because it is a refactoring.

What might happen if this goes wrong?

Rules may be evaluated wrongly and some jobs are not created while they need to be, or vice versa.

We can safely disable the feature flag.

What can we monitor to detect problems with this?

Rollout Steps

Rollout on non-production environments

  • Ensure that the feature MRs have been deployed to non-production environments.
    • /chatops run auto_deploy status <merge-commit-of-your-feature>
  • Enable the feature globally on non-production environments.
    • /chatops run feature set ci_value_change_for_processable_and_rules_entry true --dev --staging
  • Verify that the feature works as expected. Posting the QA result in this issue is preferable. The best environment to validate the feature in is staging-canary as this is the first environment deployed to. Note you will need to make sure you are configured to use canary as outlined here when accessing the staging environment in order to make sure you are testing appropriately.

Global rollout on production

Release the feature

  • Create a merge request to remove ci_value_change_for_processable_and_rules_entry feature flag. Ask for review and merge it.
    • Remove all references to the feature flag from the codebase.
    • Remove the YAML definitions for the feature from the repository.
    • Create a changelog entry.
  • [-] Ensure that the cleanup MR has been included in the release package. If the merge request was deployed before the monthly release was tagged, the feature can be officially announced in a release blog post.
    • [-] /chatops run release check <merge-request-url> <milestone>
  • Close the feature issue to indicate the feature will be released in the current milestone.
  • If not already done, clean up the feature flag from all environments by running these chatops command in #production channel:
    • /chatops run feature delete ci_value_change_for_processable_and_rules_entry --dev --staging --production
  • Close this rollout issue.

Rollback Steps

  • This feature can be disabled by running the following Chatops command:
/chatops run feature set ci_value_change_for_processable_and_rules_entry false
Edited by Laura Montemayor