GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — python-gitlab/docs/gl_objects/deployments.rst at master · matejzero/python-gitlab

Expand file tree

/

deployments.rst

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
36 lines (25 loc) · 750 Bytes
/

deployments.rst

Copy path

File metadata and controls

36 lines (25 loc) · 750 Bytes
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

Deployments

Reference

  • v4 API:
    • :class:`gitlab.v4.objects.ProjectDeployment`
    • :class:`gitlab.v4.objects.ProjectDeploymentManager`
    • :attr:`gitlab.v4.objects.Project.deployments`
  • v3 API:
    • :class:`gitlab.v3.objects.ProjectDeployment`
    • :class:`gitlab.v3.objects.ProjectDeploymentManager`
    • :attr:`gitlab.v3.objects.Project.deployments`
    • :attr:`gitlab.Gitlab.project_deployments`
  • GitLab API: https://docs.gitlab.com/ce/api/deployments.html

Examples

List deployments for a project:

.. literalinclude:: deployments.py
   :start-after: # list
   :end-before: # end list

Get a single deployment:

.. literalinclude:: deployments.py
   :start-after: # get
   :end-before: # end get
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.