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 Reduce progress bar noise during brakeman run 2016-03-04 22:12:25 +00:00
cache.rake Stop clearing the database cache on rake cache:clear 2016-10-22 12:42:19 +01:00
dev.rake Replace GITLAB with GitLab in rake task descriptions 2015-06-23 16:52:40 +02:00
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 Set higher flay value to avoid unnecessary refactoring for now 2015-11-17 11:18:01 +01:00
gemojione.rake Upgrade Gemojione from 2.6.1 to 3.0.1. 2016-07-18 10:40:16 -06:00
grape.rake Add grape routing print 2015-11-12 16:26:23 +01:00
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 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 Added service API endpoint to retrieve service parameters 2015-09-10 18:22:57 +02:00
setup.rake Replace GITLAB with GitLab in rake task descriptions 2015-06-23 16:52:40 +02:00
sidekiq.rake Replace GITLAB with GitLab in rake task descriptions 2015-06-23 16:52:40 +02:00
spec.rake Removed benchmark suite and its documentation 2016-03-10 11:15:43 +01:00
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