gitlab-org--gitlab-foss/spec/lib
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
..
api Autocorrect with RSpec/ExampleWording cop 2019-04-05 08:43:27 +00:00
backup Replaced config access 2019-03-18 17:26:18 +00:00
banzai Merge branch '58717-checkbox-cannot-be-checked-if-a-blockquote-is-above' into 'master' 2019-04-05 09:24:36 +00:00
bitbucket
bitbucket_server Fix BitbucketServer::Client failing with Webmock 3.5.1 2019-02-16 15:30:02 -08:00
constraints Fix git clone revealing private repo's presence 2019-02-19 13:59:24 +08:00
container_registry
gitaly
gitlab Use Gitlab::PushOptions for ci.skip push option 2019-04-09 10:03:26 +12:00
google_api Explicitly set master_auth for new GKE clusters 2019-03-13 16:28:04 +13:00
json_web_token
mattermost
microsoft_teams
object_storage Fix misspellings in app/spec executable lines 2019-02-27 22:41:34 +09:00
omni_auth/strategies
quality
rspec_flaky
safe_zip
sentry Handle possible HTTP exception for Sentry client 2019-04-07 07:51:36 +00:00
serializers
system_check
after_commit_queue_spec.rb
event_filter_spec.rb Update event filter spec to included removed event types 2019-03-07 12:19:06 +02:00
expand_variables_spec.rb
extracts_path_spec.rb
feature_spec.rb Allow setting feature flags per GitLab group 2019-02-19 14:57:03 +08:00
file_size_validator_spec.rb
forever_spec.rb Autocorrect with RSpec/ExampleWording cop 2019-04-05 08:43:27 +00:00
gitlab_spec.rb Use a fixed git abbrev parameter when we fetch a git revision 2019-03-28 15:24:56 +02:00
milestone_array_spec.rb
system_check_spec.rb
uploaded_file_spec.rb