gitlab:assets tasks (clean + compile) fail in 8.16.3
Summary
Assets clean and compile tasks are gone from v8.16.3
Steps to reproduce
sudo -u git -H bundle exec rake gitlab:assets:clean gitlab:assets:compile cache:clear RAILS_ENV=production
Expected behavior
Should clean, compile assets + clear cache.
Actual behavior
sudo -u git -H bundle exec rake gitlab:assets:clean gitlab:assets:compile cache:clear RAILS_ENV=production
D, [2017-01-30T10:00:57.993033 #18623] DEBUG -- sentry: ** [Raven] Don't know how to build task 'gitlab:assets:clean' (see --tasks) excluded from capture due to environment or should_capture callback
rake aborted!
Don't know how to build task 'gitlab:assets:clean' (see --tasks)
/usr/local/bin/bundle:23:in `load'
/usr/local/bin/bundle:23:in `<main>'
(See full trace by running task with —trace)
Possible fixes
sudo -u git -H bundle exec rake cache:clear RAILS_ENV=production
Gaëtan