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 — feat: add pipeline status as Enum · python-gitlab/python-gitlab@4954bbc

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • gitlab
    • const.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎gitlab/const.py‎

Copy file name to clipboardExpand all lines: gitlab/const.py
+15Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,21 @@ class DetailedMergeStatus(GitlabEnum):
7272
POLICIES_DENIED: str = "policies_denied"
7373

7474

75+
# https://docs.gitlab.com/ee/api/pipelines.html
76+
class PipelineStatus(GitlabEnum):
77+
CREATED: str = "created"
78+
WAITING_FOR_RESOURCE: str = "waiting_for_resource"
79+
PREPARING: str = "preparing"
80+
PENDING: str = "pending"
81+
RUNNING: str = "running"
82+
SUCCESS: str = "success"
83+
FAILED: str = "failed"
84+
CANCELED: str = "canceled"
85+
SKIPPED: str = "skipped"
86+
MANUAL: str = "manual"
87+
SCHEDULED: str = "scheduled"
88+
89+
7590
DEFAULT_URL: str = "https://gitlab.com"
7691

7792
NO_ACCESS = AccessLevel.NO_ACCESS.value

0 commit comments

Comments
0 (0)
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.