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

Gitlab-CI

parent 6f2bf35c
Branches
No related tags found
No related merge requests found
...@@ -20,7 +20,7 @@ rubocop: ...@@ -20,7 +20,7 @@ rubocop:
cache: cache:
when: always when: always
paths: paths:
- vendor/gems - vendor/bundle
before_script: 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/rubocop.yml" -O ".rubocop.yml"
- gem install bundler --silent - gem install bundler --silent
...@@ -41,7 +41,7 @@ erb_lint: ...@@ -41,7 +41,7 @@ erb_lint:
cache: cache:
when: always when: always
paths: paths:
- vendor/gem - vendor/bundle
before_script: 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/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" - 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: ...@@ -63,7 +63,7 @@ haml_lint:
cache: cache:
when: always when: always
paths: paths:
- vendor/gems - vendor/bundle
before_script: 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/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" - 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: ...@@ -85,7 +85,7 @@ brakeman:
cache: cache:
when: always when: always
paths: paths:
- vendor/gems - vendor/bundle
before_script: before_script:
- rm -f ./config/brakeman.yml ./config/brakeman.ignore - rm -f ./config/brakeman.yml ./config/brakeman.ignore
- gem install bundler - gem install bundler
...@@ -119,7 +119,6 @@ rails_test_all: ...@@ -119,7 +119,6 @@ rails_test_all:
cache: cache:
when: always when: always
paths: paths:
- vendor/gems
- vendor/bundle - vendor/bundle
artifacts: artifacts:
when: always when: always
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment