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

Gitlab-CI

parent 6f2bf35c
No related branches found
No related tags found
No related merge requests found
......@@ -20,7 +20,7 @@ rubocop:
cache:
when: always
paths:
- vendor/gems
- vendor/bundle
before_script:
- wget --quiet "https://git-ce.rwth-aachen.de/noc-public/noc-netze-gitlab-cicd/-/raw/main/rails/rubocop.yml" -O ".rubocop.yml"
- gem install bundler --silent
......@@ -41,7 +41,7 @@ erb_lint:
cache:
when: always
paths:
- vendor/gem
- vendor/bundle
before_script:
- wget --quiet "https://git-ce.rwth-aachen.de/noc-public/noc-netze-gitlab-cicd/-/raw/main/rails/rubocop.yml" -O ".rubocop.yml"
- wget --quiet "https://git-ce.rwth-aachen.de/noc-public/noc-netze-gitlab-cicd/-/raw/main/rails/erb-lint.yml" -O ".erb-lint.yml"
......@@ -63,7 +63,7 @@ haml_lint:
cache:
when: always
paths:
- vendor/gems
- vendor/bundle
before_script:
- wget --quiet "https://git-ce.rwth-aachen.de/noc-public/noc-netze-gitlab-cicd/-/raw/main/rails/rubocop.yml" -O ".rubocop.yml"
- wget --quiet "https://git-ce.rwth-aachen.de/noc-public/noc-netze-gitlab-cicd/-/raw/main/rails/haml-lint.yml" -O ".haml-lint.yml"
......@@ -85,7 +85,7 @@ brakeman:
cache:
when: always
paths:
- vendor/gems
- vendor/bundle
before_script:
- rm -f ./config/brakeman.yml ./config/brakeman.ignore
- gem install bundler
......@@ -119,7 +119,6 @@ rails_test_all:
cache:
when: always
paths:
- vendor/gems
- vendor/bundle
artifacts:
when: always
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment