templates/gitlab-ci.yml.erb in bankai-0.4.0 vs templates/gitlab-ci.yml.erb in bankai-0.4.1

- old
+ new

@@ -1,22 +1,25 @@ image: ruby:<%= RUBY_VERSION %> variables: RAILS_ENV: test NODE_VERSION: 12.13.1 + BUNDLER_VERSION: 2.1.4 <%- if pg? -%> POSTGRES_DB: <%= app_name %> - DATABASE_URL: "postgresql://postgres:postgres@postgres:5432/$POSTGRES_DB" + POSTGRES_PASSWORD: postgres + DATABASE_URL: "postgresql://postgres:${POSTGRES_PASSWORD}@postgres:5432/$POSTGRES_DB" <%- end -%> <%- if mysql? -%> MYSQL_DATABASE: <%= app_name %> MYSQL_USER: <%= app_name %> MYSQL_PASSWORD: <%= app_name %> MYSQL_RANDOM_ROOT_PASSWORD: "true" DATABASE_URL: "mysql2://$MYSQL_USER:$MYSQL_PASSWORD@mysql:3306/$MYSQL_DATABASE" <%- end -%> .install_ruby_gems: &install_ruby_gems + - gem install bundler -v ${BUNDLER_VERSION} - bundle install --path vendor .install_nodejs: &install_nodejs - curl -SLO https://nodejs.org/dist/v$NODE_VERSION/node-v${NODE_VERSION}-linux-x64.tar.xz && tar -xJf node-v${NODE_VERSION}-linux-x64.tar.xz -C /usr/local --strip-components=1; - curl -o- -L https://yarnpkg.com/install.sh | bash