CNG: auto-deploy pipelines failing asset compilation
Summary
Our Slack channel is being bombarded with failed jobs due to asset compilation within the gitlab-rails
images as part of the auto-deploy pipelines. We need to find out what is going on here, and take action to resolve the issue or remove the pipeline runs from gitlab.com if they are not intended to operate there.
Specifically, as seen here:
Step 43/64 : RUN cd /srv/gitlab && sudo -u ${GITLAB_USER} -H $COMPILE_ASSETS_ENV bundle exec rake gitlab:assets:compile
...
`yarn:check` finished in 4.74964424 seconds
...
yarn install v1.16.0
[1/4] Resolving packages...
warning Resolution field "ts-jest@24.0.0" is incompatible with requested version "ts-jest@^23.10.5"
success Already up-to-date.
$ node ./scripts/frontend/postinstall.js
success Dependency postinstall check passed.
Done in 1.28s.
Yarn executable was not detected in the system.
Download Yarn at https://yarnpkg.com/en/docs/install
...
rake aborted!
Sprockets::FileNotFound: couldn't find file 'ace/ace' with type 'application/javascript'
Checked in these paths:
/srv/gitlab/app/assets/images
/srv/gitlab/app/assets/javascripts
/srv/gitlab/app/assets/stylesheets
/srv/gitlab/vendor/assets/javascripts
/srv/gitlab/vendor/assets/stylesheets
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/peek-1.1.0/app/assets/javascripts
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/peek-1.1.0/app/assets/stylesheets
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/gettext_i18n_rails_js-1.3.0/lib/assets/javascripts
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/gettext_i18n_rails_js-1.3.0/vendor/assets/javascripts
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/font-awesome-rails-4.7.0.5/app/assets/fonts
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/font-awesome-rails-4.7.0.5/app/assets/stylesheets
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/bootstrap_form-4.2.0/app/assets/stylesheets
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/graphiql-rails-1.4.10/app/assets/javascripts
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/graphiql-rails-1.4.10/app/assets/stylesheets
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/doorkeeper-5.0.2/app/assets/stylesheets
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/doorkeeper-5.0.2/vendor/assets/stylesheets
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.2/lib/assets/compiled
/srv/gitlab/vendor/bundle/ruby/2.6.0/gems/gemojione-3.3.0/assets/png
/srv/gitlab/vendor/assets/fonts
/srv/gitlab/node_modules/@gitlab/svgs/dist
/srv/gitlab/node_modules/xterm/src
/srv/gitlab/ee/app/assets/images
/srv/gitlab/ee/app/assets/javascripts
/srv/gitlab/ee/app/assets/stylesheets
/srv/gitlab/ee/app/assets/stylesheets/_ee
/srv/gitlab/app/assets/stylesheets/_ee
/srv/gitlab/vendor/assets/javascripts
/srv/gitlab/node_modules
/srv/gitlab/app/assets/javascripts/lib/ace.js:1
Current behavior
Expected behavior
Pipelines succeed, notice above does not occur.
Versions
Edited by Jason Plum