gitlab-org--gitlab-foss/lib/gitlab/data_builder
Jonathon Reinhart ba781484c7 Add support for Git push options, specifically ci.skip
gitlab-org/gitlab-shell!166 added support for collecting push options
from the environment, and passing them along to the
/internal/post_receive API endpoint.

This change handles the new push_options JSON element in the payload,
and passes them on through to the GitPushService and GitTagPushService
services.

Futhermore, it adds support for the first push option, ci.skip.  With
this change, one can use 'git push -o ci.skip' to skip CI pipe
execution. Note that the pipeline is still created, but in the "skipped"
state, just like with the 'ci skip' commit message text.

Implements #18667
2018-12-31 13:57:53 -05:00
..
build.rb Enable even more frozen string in lib/gitlab 2018-11-06 22:47:32 -08:00
note.rb Enable even more frozen string in lib/gitlab 2018-11-06 22:47:32 -08:00
pipeline.rb Enable even more frozen string in lib/gitlab 2018-11-06 22:47:32 -08:00
push.rb Add support for Git push options, specifically ci.skip 2018-12-31 13:57:53 -05:00
repository.rb Enable even more frozen string in lib/gitlab 2018-11-06 22:47:32 -08:00
wiki_page.rb Enable even more frozen string in lib/gitlab 2018-11-06 22:47:32 -08:00