gitlab-org--gitlab-foss/lib/tasks
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
..
ci
gitlab Merge branch 'zj-rake-task-remove-faulty-deployment-refs' into 'master' 2016-11-19 10:59:31 +00:00
migrate
brakeman.rake
cache.rake Stop clearing the database cache on rake cache:clear 2016-10-22 12:42:19 +01:00
dev.rake
downtime_check.rake
ee_compat_check.rake Change the approach to check if patches apply cleanly 2016-10-21 19:16:56 +02:00
eslint.rake add Rake tasks eslint and lint:javascript 2016-10-26 10:00:55 +02:00
flay.rake
gemojione.rake
grape.rake
haml-lint.rake
lint.rake add Rake tasks eslint and lint:javascript 2016-10-26 10:00:55 +02:00
rubocop.rake
scss-lint.rake
services.rake
setup.rake
sidekiq.rake
spec.rake
spinach.rake
teaspoon.rake Ignore teaspoon tasks in production environment 2016-10-29 13:22:32 +02:00
test.rake