Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • otb otb
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 206
    • Issues 206
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Main Repositories
  • otbotb
  • Merge requests
  • !423

CI: need to simplify CI scripts

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Guillaume Pasero requested to merge ci_refactor_yml into develop Mar 14, 2019
  • Overview 0
  • Commits 1
  • Pipelines 2
  • Changes 2

The previous introduction of different pipelines wip/mr/develop/release at .gitlab-ci.yml level did not worked exactly as expected. For instance, a single commit on a merge request has trigged 2 pipelines: 436 as "wip"and 437 as "mr".

I propose to make this detection in the main_ci.cmake, which will simplify the code in yml.

The use of ccache is removed as it doesn't work out-of-the-box. The runners have to configure an access to S3 or GCS in order to store their cache between jobs. At the moment, the cache is kept locally and deleted when the container ends. An other way to store the ccache content may be investigated in the future (the cache setting from GitlabCI is only usefull for permanent runners).

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: ci_refactor_yml