Fix the CI build
Bundler issues
The build was failing (https://gitlab.com/gitlab-org/gitter/gitter-android-app/-/jobs/458588706) with
/usr/lib/ruby/2.5.0/rubygems.rb:284:in `find_spec_for_exe': Could not find 'bundler' (1.16.6) required by your /Gemfile.lock. (Gem::GemNotFoundException)
To update to the latest version installed on your system, run `bundle update --bundler`.
To install the missing version, run `gem install bundler:1.16.6`
from /usr/lib/ruby/2.5.0/rubygems.rb:303:in `activate_bin_path'
from /usr/local/bin/bundle:23:in `<main>'
This is caused by breaking change in bundler 2 https://bundler.io/blog/2019/01/04/an-update-on-the-bundler-2-release.html
I just upgraded the Gemfile.lock to use bundler 2 https://bundler.io/guides/bundler_2_upgrade.html#upgrading-applications-from-bundler-1-to-bundler-2
That fixed the build for me locally
Downloading webapp assets
the wget
command
wget --output-document=artifacts.zip --quiet "https://gitlab.com/gitlab-org/gitter/webapp/-/jobs/artifacts/master/download?job=mobile-asset-build"
failed to download assets from stopped master
pipeline, so I clarified that latest master
pipeline needs to finish.
qui
Edited by Tomas Vik (OOO back on 2024-09-23)