workhorse: pull sidekiq assets from gitlab-rails
To address charts/gitlab#689
Strip down /srv/gitlab/vendor/bundle/ruby/*
to just the assets from
Sidekiq gem, and copy remaining contents of /srv/gitlab/vendor/bundle/ruby/
to the matching location in Workhorse.
This is ugly, but the cleanest method I could fine of pulling the needed assets in without modifying external code, which is less clean than this modification.
It accomplishes this by:
- find the
sidekiq-.*/web/assets
folder - moving the needed
assets
directory into/tmp
- removing everything under
/srv/gitlab/vendor/bundle/ruby
- recreating the original assets directory
- restoring those files
Replacement to the reverted !154 (merged)
Edited by Jason Plum