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
migrate
brakeman.rake
cache.rake
dev.rake Replace GITLAB with GitLab in rake task descriptions 2015-06-23 16:52:40 +02:00
downtime_check.rake
ee_compat_check.rake
eslint.rake
flay.rake
gemojione.rake
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
rubocop.rake
scss-lint.rake Add SCSS Lint, CSSComb config file, run SCSS Lint in GitLab CI, add documentation for SCSS Style Guide. 2016-03-14 20:33:54 -06:00
services.rake
setup.rake
sidekiq.rake
spec.rake Removed benchmark suite and its documentation 2016-03-10 11:15:43 +01:00
spinach.rake
teaspoon.rake
test.rake