gitlab-org--gitlab-foss/spec/services/ci
Luke Duncalfe 1883e320ea Use Gitlab::PushOptions for ci.skip push option
Previously the raw push option Array was sent to Pipeline::Chain::Skip.

This commit updates this class (and the chain of classes that pass the
push option parameters from the API internal `post_receive` endpoint to
that class) to treat push options as a Hash of options parsed by
GitLab::PushOptions.

The GitLab::PushOptions class takes options like this:

    -o ci.skip -o merge_request.create -o merge_request.target=branch

and turns them into a Hash like this:

    {
      ci: {
        skip: true
      },
      merge_request: {
        create: true,
        target: 'branch'
      }
    }

This now how Pipeline::Chain::Skip is determining if the `ci.skip` push
option was used.
2019-04-09 10:03:26 +12:00
..
archive_trace_service_spec.rb Fix coding offence 2018-11-29 16:16:04 +09:00
compare_test_reports_service_spec.rb Squashed commit of the following: 2018-08-07 23:03:48 +09:00
create_pipeline_service_spec.rb Use Gitlab::PushOptions for ci.skip push option 2019-04-09 10:03:26 +12:00
destroy_expired_job_artifacts_service_spec.rb Remove expired artifacts periodically 2019-01-24 20:50:42 +09:00
destroy_pipeline_service_spec.rb Clear pipeline status cache after destruction of pipeline 2019-03-26 01:04:06 -05:00
ensure_stage_service_spec.rb
extract_sections_from_build_trace_service_spec.rb
pipeline_trigger_service_spec.rb
play_build_service_spec.rb
prepare_build_service_spec.rb Create framework for build prerequisites 2019-03-20 12:04:40 +11:00
process_build_service_spec.rb Remove ci_enable_scheduled_build feature flag 2018-11-02 11:32:45 +00:00
process_pipeline_service_spec.rb Fix deprecation: Passing an argument to force an association to reload is now deprecated 2019-01-11 19:28:38 +01:00
register_job_service_spec.rb Add config_options|variables to BuildMetadata 2019-01-04 16:38:17 +01:00
retry_build_service_spec.rb Encrypt CI/CD builds tokens 2018-12-07 10:42:47 +01:00
retry_pipeline_service_spec.rb Consider all matching MRs to determine if user can push 2019-01-02 15:31:34 +01:00
run_scheduled_build_service_spec.rb Remove ci_enable_scheduled_build feature flag 2018-11-02 11:32:45 +00:00
stop_environments_service_spec.rb Resolve "Rename the Master role to Maintainer" Backend 2018-07-11 14:36:08 +00:00
update_build_queue_service_spec.rb Fix specs api/runners_spec.rb, api/v3/runners_spec.rb update_build_queue_service_spec.rb 2018-05-31 10:56:41 +02:00
update_runner_service_spec.rb