BigW Consortium Gitlab
Fix faulty deployment refs In the 8.13 RC cycle, so before the release, there was a time in which references in git where stored by id instead of iid. This could be fixed by time, if the iid catches up with the id, it overwrites it. But in the mean time we have wrong refs in the folder. This commit fixes that. For all projects we have deployments we'll find the ones where the ref has a higher number than the iid is now and calls `#create_ref` on the corresponding deployment. Fixes gitlab-com/infrastructure#683 cc @ayufan One worry: I tested this locally, couldn't find a way to do automate this. See merge request !7352
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
backup.rake | Loading commit data... | |
bulk_add_permission.rake | Loading commit data... | |
check.rake | Loading commit data... | |
cleanup.rake | Loading commit data... | |
db.rake | Loading commit data... | |
dev.rake | Loading commit data... | |
git.rake | Loading commit data... | |
import.rake | Loading commit data... | |
import_export.rake | Loading commit data... | |
info.rake | Loading commit data... | |
list_repos.rake | Loading commit data... | |
setup.rake | Loading commit data... | |
shell.rake | Loading commit data... | |
sidekiq.rake | Loading commit data... | |
task_helpers.rake | Loading commit data... | |
test.rake | Loading commit data... | |
track_deployment.rake | Loading commit data... | |
two_factor.rake | Loading commit data... | |
update_commit_count.rake | Loading commit data... | |
update_templates.rake | Loading commit data... | |
users.rake | Loading commit data... | |
web_hook.rake | Loading commit data... |