Skip to content
Snippets Groups Projects
Commit e333ce27 authored by Darius Schneider's avatar Darius Schneider
Browse files

ups

parent 05bc91b9
Branches
No related tags found
No related merge requests found
set_ruby_version:
stage: build
variables: variables:
CI: "true" CI: "true"
RAILS_ENV: test RAILS_ENV: test
set_ruby_version:
stage: build
script: script:
- echo "RUBY_VERSION=$(cat .ruby-version | sed 's/ruby-//g')" >> build.env - echo "RUBY_VERSION=$(cat .ruby-version | sed 's/ruby-//g')" >> build.env
artifacts: artifacts:
...@@ -12,9 +13,6 @@ set_ruby_version: ...@@ -12,9 +13,6 @@ set_ruby_version:
rubocop: rubocop:
stage: test stage: test
image: ruby:$RUBY_VERSION image: ruby:$RUBY_VERSION
variables:
CI: "true"
RAILS_ENV: test
tags: tags:
- rails - rails
script: script:
...@@ -25,9 +23,6 @@ rubocop: ...@@ -25,9 +23,6 @@ rubocop:
erb_lint: erb_lint:
stage: test stage: test
image: ruby:$RUBY_VERSION image: ruby:$RUBY_VERSION
variables:
CI: "true"
RAILS_ENV: test
tags: tags:
- rails - rails
script: script:
...@@ -39,9 +34,6 @@ erb_lint: ...@@ -39,9 +34,6 @@ erb_lint:
haml_lint: haml_lint:
stage: test stage: test
image: ruby:$RUBY_VERSION image: ruby:$RUBY_VERSION
variables:
CI: "true"
RAILS_ENV: test
tags: tags:
- rails - rails
script: script:
...@@ -52,9 +44,6 @@ haml_lint: ...@@ -52,9 +44,6 @@ haml_lint:
brakeman: brakeman:
stage: test stage: test
image: ruby:$RUBY_VERSION image: ruby:$RUBY_VERSION
variables:
CI: "true"
RAILS_ENV: test
tags: tags:
- rails - rails
script: script:
...@@ -70,8 +59,6 @@ rails_test: ...@@ -70,8 +59,6 @@ rails_test:
services: services:
- postgres:16.4 - postgres:16.4
variables: variables:
CI: "true"
RAILS_ENV: test
POSTGRES_DB: postgres POSTGRES_DB: postgres
POSTGRES_USER: postgres POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres POSTGRES_PASSWORD: postgres
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment