Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • mHM mHM
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 52
    • Issues 52
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 11
    • Merge requests 11
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • mhmmhm
  • mHMmHM
  • Merge requests
  • !11

First implementation of continuous integration

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Sebastian Müller requested to merge muellese/mhm:CI-CD into develop Nov 12, 2019
  • Overview 0
  • Commits 58
  • Pipelines 1
  • Changes 5

In this merge request a first implementation of continuous integration is proposed.

This includes the following:

  • use Gitlab runner on EVE (there can be multiple runners registered)
  • at the moment only the GNU compiler is used
  • cmake compilation is checked with simple run of test domain
  • check scripts are run for:
    • debug/release
    • sequential/parallel

Some CI related scripts were added in a new folder called CI-scripts and the configuration file for the gitlab-runner called .gitlab-ci.yml was added to the base folder.

You can add a gitlab-runner to your own fork following this instruction:

  • https://wiki.ufz.de/eve/index.php/Gitlab_Runner

But you have to enable custom build dir by adding enabled = true to [runners.custom_build_dir] in the gitlab-runner config file (usually under .gitlab-runner/config.toml in your home dir on EVE).

Example:

[[runners]]
  name = "frontend1 muellese"
  url = "https://git.ufz.de"
  token = ...
  executor = "shell"
  [runners.custom_build_dir]
    enabled = true
  [runners.cache]
    [runners.cache.s3]
    [runners.cache.gcs]
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: CI-CD