During yesterday's outage there are confirmed reports that some comments in Issues or Merge Requests as well as Issues and Merge Requests themselves were not saved properly. We are currently investigating the cause and will take appropriate countermeasures. Please excuse the inconvenience.

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

created gitlab ci yaml file.

parent 85d5d270
image: ruby:2.6.4
stages:
- build
- deploy
- after_deploy
before_script:
- gem install bundler jekyll --no-document
run_jekyll_latest_dependencies:
stage: build
before_script:
- bundle update --jobs $(nproc) "${FLAGS[@]}"
script:
- bundle exec jekyll build -d public
artifacts:
paths:
- public
expire_in: 1d
only:
refs:
- gitlab_ci_setup_development
run_jekyll_production:
stage: build
before_script:
- bundle install --jobs $(nproc) "${FLAGS[@]}"
script:
script:
- cp _data/team.yml team.yml
- bundle exec jekyll build -d public
artifacts:
paths:
- public
- team.yml
expire_in: 1d
only:
refs:
- gitlab_ci_setup_production
pages:
stage: deploy
script:
- echo "deploy"
artifacts:
paths:
- public
- team.yml
expire_in: 1d
dependencies:
- run_jekyll_production
only:
refs:
- gitlab_ci_setup_production
team_map:
stage: after_deploy
script:
- "HEADERS=\'{\"token\":\"'\"${TOKEN_TRIGGER_GITLAB_CI_SETUP}\"'\", \"ref\":\"gitlab_ci_setup_production\"}\'; curl -X POST -H \"Private-Token: ${MY_PERSONAL_ACCESS_TOKEN_API}\" -H \"Content-Type: application/json\" -d \"$HEADERS\" https://gitlab.hzdr.de/api/v4/projects/960/trigger/pipeline"
artifacts:
paths:
- public
- team.yml
expire_in: 1d
dependencies:
- pages
only:
refs:
- gitlab_ci_setup_production
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