gitlab-org--gitlab-foss/spec
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
..
bin
config
controllers
db
dependencies
factories
features Extract create merge request quick action spec 2019-04-08 11:30:54 +03:00
finders
fixtures Increase GraphQL complexity 2019-04-08 12:33:33 -05:00
frontend Enable ESLint rule jest/no-focused-tests 2019-04-08 19:51:24 +00:00
graphql
helpers
initializers
javascripts
lib Use Gitlab::PushOptions for `ci.skip` push option 2019-04-09 10:03:26 +12:00
mailers
migrations
models Merge branch 'instance-configuration-artifact-size' into 'master' 2019-04-08 12:55:27 +00:00
policies
presenters
rack_servers
requests Use Gitlab::PushOptions for `ci.skip` push option 2019-04-09 10:03:26 +12:00
routing
rubocop
serializers
services Use Gitlab::PushOptions for `ci.skip` push option 2019-04-09 10:03:26 +12:00
sidekiq/cron
support Extract create merge request quick action spec 2019-04-08 11:30:54 +03:00
tasks
uploaders
validators
views
workers
factories_spec.rb
fast_spec_helper.rb
rails_helper.rb
rake_helper.rb
simplecov_env.rb
spec_helper.rb