Skip to content
GitLab
Next
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • GitLab FOSS GitLab FOSS
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1
    • Merge requests 1
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.orgGitLab.org
  • GitLab FOSSGitLab FOSS
  • Merge requests
  • !15643
The source project of this merge request has been removed.

Handle 'git push -o ci.skip'

Merged Jonathon Reinhart requested to merge (removed):18667-handle-push-opts into master Nov 29, 2017
  • Overview 58
  • Pipelines 0
  • Changes 13

Now git push -o ci.skip, just like including [ci-skip] in the commit message of the HEAD commit, the pipeline will be created, but marked as skipped:

image

Also, only ci.skip is supported; no other variants are accepted. Since this is a new feature, and AFAIK no other CI services support this feature, I see no reason to accept anything else.


What does this MR do?

This MR implements git push -o ci.skip, which will skip a CI pipeline via push option, rather than [ci-skip] in the commit message.

Does this MR meet the acceptance criteria?

  • Changelog entry added, if necessary
  • Documentation created/updated
  • API support added
  • Tests added for this feature/bug
  • Review
    • Has been reviewed by UX
    • Has been reviewed by Frontend
    • Has been reviewed by Backend
    • Has been reviewed by Database
  • Conform by the merge request performance guides
  • Conform by the style guides
  • Squashed related commits together
  • Internationalization required/considered

What are the relevant issue numbers?

Requires gitlab-shell!166 (merged) to be functional, although an using older gitlab-shell will have no negative impact.

Closes #18667 (closed)

Edited Dec 31, 2018 by Jonathon Reinhart
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: 18667-handle-push-opts