Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
libX11
libX11
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 95
    • Issues 95
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 3
    • Merge Requests 3
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • xorg
  • lib
  • libX11libX11
  • Merge Requests
  • !60

Open
Opened Nov 17, 2020 by Peter Hutterer@whotMaintainer
  • Report abuse
Report abuse

Draft: gitlab CI: set up a pipeline to be called from other libX* projects

  • Overview 26
  • Commits 1
  • Pipelines 17
  • Changes 4

We have a lot of libX* repositories, most of these unmaintained. But having something ensure they build if a MR is submitted is useful, but not at the cost of 30+ gitlab CI scripts that need to be maintained.

This patch adds a centralized approach: libX11 has a pipeline that can be triggered from any libX* project with a simple stanza. The pipeline has jobs for the dependencies, builds those from git, installs them and eventually builds the project that triggered the job.

e.g. where the pipeline triggers with PROJECT_NAME: libXi, we build libXau, libXdmcp, libX11, libXext, libXfixes and finally run distcheck against libXi.

The dependencies need to be maintained manually, along with the extra packages required (e.g. asciidoc), but that too is in a central config file here in libX11.

The jobs are generated with ci-fairy using Jinja2 templates. Only jobs that are within the current dependency pipeline are run by the CI, all other jobs are ignored.

cc @bentiss

Requires freedesktop/ci-templates!58 (merged)

Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Reference: xorg/lib/libx11!60
Source branch: wip/libxstar-pipelines