gitlab-ce/spec/lib/gitlab/ci/build
Fabio Pitino ca6a1f33f9 CE port for pipelines for external pull requests
Detect if pipeline runs for a GitHub pull request

When using a mirror for CI/CD only we register a pull_request
webhook. When a pull_request webhook is received, if the
source branch SHA matches the actual head of the branch in the
repository we create immediately a new pipeline for the
external pull request. Otherwise we store the
pull request info for when the push webhook is received.

When using "only/except: external_pull_requests" we can detect
if the pipeline has a open pull request on GitHub and create or
not the job based on that.
2019-09-05 15:53:48 +01:00
..
artifacts Add frozen_string_literal to spec/lib (part 1) 2019-07-26 13:25:07 +12:00
credentials Add frozen_string_literal to spec/lib (part 1) 2019-07-26 13:25:07 +12:00
policy CE port for pipelines for external pull requests 2019-09-05 15:53:48 +01:00
prerequisite Move generic k8s services out of GCP namespace 2019-08-28 13:54:32 +10:00
rules Introducing new Syntax for Ci::Build inclusion rules 2019-08-20 20:03:43 +00:00
image_spec.rb Add frozen_string_literal to spec/lib (part 1) 2019-07-26 13:25:07 +12:00
policy_spec.rb Add frozen_string_literal to spec/lib (part 1) 2019-07-26 13:25:07 +12:00
port_spec.rb Add port section to CI Image object 2019-04-03 09:50:54 +00:00
rules_spec.rb Introducing new Syntax for Ci::Build inclusion rules 2019-08-20 20:03:43 +00:00
step_spec.rb Add frozen_string_literal to spec/lib (part 1) 2019-07-26 13:25:07 +12:00