Skip to content

Add ResetJobTokenScopeEnabledAgain migration

Avielle Wolfe requested to merge 332272-reset-job-token-scope into master

What does this MR do?

This MR adds a post-migration that first removes and then re-adds the job_token_scope_enabled field on the project_ci_cd_settings table as part of the second rollout of the ci_scoped_job_token feature flag. During the previous rollout we had created some projects with job_token_scope_enabled: true by default but then we disabled the feature flag because of an incident. We need to set those back to false before we attempt to rollout the FF on production again.

Issue

Feature flag rollout issue: #332272 (closed)

Merge request reports