Commit ffa6f828 authored by Hueser, Christian (FWCC) - 138593's avatar Hueser, Christian (FWCC) - 138593 Committed by Hueser, Christian (FWCC) - 138593
Browse files

Linting gitlab ci yaml file

Need to check syntax of gitlab ci yaml file.
parent 1c9b26a3
# YAML file for GitLab CI
---
image: ruby:2.6.4
stages:
......@@ -23,14 +26,14 @@ before_script:
run_jekyll_latest_dependencies:
stage: build
script:
- "[[ -f \"Gemfile.lock\" ]] && rm Gemfile.lock"
- "[[ -f \"Gemfile.lock\" ]] && rm Gemfile.lock"
- bundle update --jobs $(nproc) "${FLAGS[@]}"
- bundle exec jekyll build -d public
allow_failure: true
run_jekyll_production:
stage: build
script:
script:
- cp _data/team.yml team.yml
- bundle install --jobs $(nproc) "${FLAGS[@]}"
- bundle exec jekyll build -d public
......@@ -50,11 +53,10 @@ pages:
team_map:
stage: after_deploy
script:
- "HEADERS=\'{\"token\":\"'\"${VAR_TRIGGER_TOKEN_FOR_MULTI_PROJECT_PIPELINE}\"'\", \"ref\":\"gitlab_ci_setup_production\"}\'; curl -X POST -H \"Private-Token: ${VAR_MY_PERSONAL_ACCESS_TOKEN_FOR_API}\" -H \"Content-Type: application/json\" -d \"$HEADERS\" https://gitlab.hzdr.de/api/v4/projects/960/trigger/pipeline"
script:
- "HEADERS='{\"token\":\"'\"${VAR_TRIGGER_TOKEN_FOR_MULTI_PROJECT_PIPELINE}\"'\", \"ref\":\"gitlab_ci_setup_production\"}'; curl -X POST -H \"Private-Token: ${VAR_MY_PERSONAL_ACCESS_TOKEN_FOR_API}\" -H \"Content-Type: application/json\" -d \"$HEADERS\" https://gitlab.hzdr.de/api/v4/projects/960/trigger/pipeline"
extends:
- .artifacts_extension
- .only_extension
dependencies:
- pages
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment