gitlab-org--gitlab-foss/lib/tasks/gitlab
Kamil Trzciński e4c86bc887 Merge branch 'zj-rake-task-remove-faulty-deployment-refs' into 'master'
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
2016-11-19 10:59:31 +00:00
..
backup.rake Fix: Backup restore doesn't clear cache 2016-10-20 17:33:12 +03:00
bulk_add_permission.rake Fix Rename add_users_into_project and projects_ids 2016-08-04 08:55:50 -03:00
check.rake Introduce better credential and error checking to rake gitlab:ldap:check 2016-11-08 15:46:10 -06:00
cleanup.rake Fix faulty deployment refs 2016-11-18 15:47:20 +01:00
db.rake Disable MySQL foreign key checks before dropping all tables 2016-07-25 21:16:54 -05:00
dev.rake Use the public CE repo URL instead of the one used in the runner 2016-11-17 18:39:55 +01:00
git.rake Replace colorize gem with rainbow. 2016-06-03 10:37:09 -06:00
import.rake Refactor repository paths handling to allow multiple git mount points 2016-06-29 22:30:31 -04:00
import_export.rake added nice to have - rake task and some changes to docs 2016-06-21 19:23:21 +02:00
info.rake Rename run task helper method to prevent conflict with StateMachine 2016-08-09 18:31:51 -05:00
list_repos.rake Refactor repository paths handling to allow multiple git mount points 2016-06-29 22:30:31 -04:00
setup.rake Fix missed colorize methods. 2016-06-06 15:32:36 -06:00
shell.rake Add Rake task to create/repair GitLab Shell hooks symlinks 2016-11-01 14:52:59 -05:00
sidekiq.rake
task_helpers.rake Rename run task helper method to prevent conflict with StateMachine 2016-08-09 18:31:51 -05:00
test.rake
track_deployment.rake Added Rake task for tracking deployments 2016-07-19 13:21:09 +02:00
two_factor.rake Replace colorize gem with rainbow. 2016-06-03 10:37:09 -06:00
update_commit_count.rake Replace colorize gem with rainbow. 2016-06-03 10:37:09 -06:00
update_templates.rake fixup! override content method 2016-06-20 14:48:28 -05:00
users.rake Add a new gitlab:users:clear_all_authentication_tokens task 2016-10-11 10:21:18 +02:00
web_hook.rake Fix Rename add_users_into_project and projects_ids 2016-08-04 08:55:50 -03:00