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 We don't need them 2016-09-01 02:21:16 +08:00
gitlab Merge branch 'zj-rake-task-remove-faulty-deployment-refs' into 'master' 2016-11-19 10:59:31 +00:00
migrate Replace colorize gem with rainbow. 2016-06-03 10:37:09 -06:00
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 Always compare with FETCH_HEAD in downtime_check 2016-08-02 11:57:14 +02:00
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 Upgrade Gemojione from 2.6.1 to 3.0.1. 2016-07-18 10:40:16 -06:00
grape.rake
haml-lint.rake Improve .haml-lint.yml, simplify the haml_lint task and remove CHANGELOG entry 2016-09-13 18:56:00 +02:00
lint.rake add Rake tasks eslint and lint:javascript 2016-10-26 10:00:55 +02:00
rubocop.rake Add rubocop-rspec 2016-05-23 15:59:32 -04:00
scss-lint.rake
services.rake
setup.rake
sidekiq.rake
spec.rake
spinach.rake Use `File::exist?` instead of `File::exists?` 2016-08-11 13:54:45 +03:00
teaspoon.rake Ignore teaspoon tasks in production environment 2016-10-29 13:22:32 +02:00
test.rake Remove unused coveralls 2016-07-21 12:46:49 +02:00