Include assset_sync gem
Description
As part of our GCP Migration, @DouweM, @andrewn, @joshlambert and myself discussed a way of getting free of our asset dependency when deploying different versions of GitLab.
When installing different versions of GitLab with no downtime, assets need to be available before the deploy happens otherwise users will get broken pages. This is one of the reasons why we had to revert usage of CDN on GitLab.com
It was suggested to use https://github.com/AssetSync/asset_sync gem to upload assets to an S3 bucket as part of our release. This would allow us to start using CDN on GitLab.com now.
Proposal
- Include https://github.com/AssetSync/asset_sync gem in CE. This would add an asset_sync rake task.
- Configure the pipeline in omnibus-gitlab to sync the assets after the package is built. During package tag of EE, we can call an asset_sync task that will upload the assets to S3 bucket for GitLab.com.