Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimize package manager install step for GitLab CI
* Try reverting to dashboard image * Try reverting to original path for Bundler * Temporary: Avoid pulling cache for install Assumption that the cache may be invalid given changes to paths * Remove gitlab-ci.yml from files Max 2 items in file key * Include .gitlab-ci.yml in dependency cache key Since it may alter what paths are included in the cache * Set deployment via bundle config Resolve deprecation message: "[DEPRECATED] The `--deployment` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set deployment true`, and stop using this flag" * Remove --without flag for bundler Currently no groups defined in Gemfile * Use default bundle path for depdencies Avoid needing to specify extra flag Ref: https://bundler.io/v2.5/man/bundle-install.1.html#DEPLOYMENT-MODE "Gems are installed to vendor/bundle not your default system location" * Remove extra check step for bundler Seems redundant / repeated, and likely to reduce overall performance * Flatten path for bundler dependencies * Remove NVM and Bundler install steps Assumed to be the version we want via IdP image * Use latest IdP image for CI
- Loading branch information