Skip to content

Latest commit

 

History

History
75 lines (50 loc) · 3.85 KB

CONTRIBUTING.md

File metadata and controls

75 lines (50 loc) · 3.85 KB

Developer Certificate of Origin + License

By contributing to GitLab B.V., You accept and agree to the following terms and conditions for Your present and future Contributions submitted to GitLab B.V. Except for the license granted herein to GitLab B.V. and recipients of software distributed by GitLab B.V., You reserve all right, title, and interest in and to Your Contributions. All Contributions are subject to the following DCO + License terms.

DCO + License

All Documentation content that resides under the docs/ directory of this repository is licensed under Creative Commons: CC BY-SA 4.0.

This notice should stay as the first item in the CONTRIBUTING.md file.


Contribute to GitLab Runner

The following contents has to be considered as an extension over gitlab-ce contributing guidelines.

How we prioritize MRs from the wider community

Currently we use a system of scoped labels to help us prioritize which MRs our team will review.

Label Meaning Use Cases
~"Review::P1" Highest priority to review. Indicates a merge request that might solve an urgent pain point for users, contributes to the strategic direction of Runner development as laid out by the Product team, or fixes a critical issue. A hard cap on the number of contributions labelled ~"Review::P1" is set at 3.
~"Review::P2" Important merge requests. When a merge request is important, but has lower impact to customers when compared to merge requests labelled ~"Review::P1".
~"Review::P3" Default priority to review. All incoming merge requests should default to this.

Contributing new executors

We are no longer accepting or developing new executors for a few reasons listed below:

  • Some executors require licensed software or hardware that GitLab Inc. doesn't have.
  • Each new executor brings its own set of problems when it comes to testing it properly.
  • Adding new executors can add new dependencies, which adds maintenance costs.
  • Having a lot of executors adds to maintenance costs.

With GitLab 12.1, we introduced the custom executor, which will provide a way to create an executor of choice.

Contributing new hardware architectures

We're currently exploring how we can add builds for new and different hardware architectures. Adding and supporting new architectures brings added levels of complexity and may require hardware that GitLab Inc. doesn't have access to.

At the current time, new hardware architectures will only be considered if the following criteria are met:

  1. GitLab Inc. must be able to build and test for the new architecture on our Shared Runners on GitLab.com
  2. If adding support for the new architecture in the helper image, Docker must also support the architecture upstream

As we explore adding more architectures other requirements may come up.

We are currently discussing the ability of providing builds for architectures that we don't have the ability to support and we welcome contributions to that discussion.

Workflow labels

We have some additional labels plus those defined in gitlab-ce workflow labels

  • Additional subjects: ~cache, ~executors, ~"git operations"
  • OS: ~"os::Linux" ~"os::MacOSX" ~"os:FreeBSD" ~"os::Windows"
  • executor: ~"executor::docker" ~"executor::kubernetes" ~"executor::docker-machine" ~"executor::docker-machine" ~"executor::shell" ~"executor::parallels" ~"executor::virtualbox"