removed gitlab build status constants
@@ -67,11 +67,6 @@ GITHUB_BUILD_STATE_FAILURE = 'failure'
GITHUB_BUILD_STATE_PENDING = 'pending'
GITHUB_BUILD_STATE_SUCCESS = 'success'
-# GitLab Build Statuses
-GITLAB_BUILD_STATE_FAILURE = 'failed'
-GITLAB_BUILD_STATE_PENDING = 'pending'
-GITLAB_BUILD_STATE_SUCCESS = 'success'
-
# General Build Statuses
BUILD_STATUS_FAILURE = 'failed'
BUILD_STATUS_PENDING = 'pending'
@@ -81,17 +76,14 @@ BUILD_STATUS_SUCCESS = 'success'
SELECT_BUILD_STATUS = {
BUILD_STATUS_FAILURE: {
'github': GITHUB_BUILD_STATE_FAILURE,
- 'gitlab': GITLAB_BUILD_STATE_FAILURE,
'description': 'The build failed!',
},
BUILD_STATUS_PENDING: {
'github': GITHUB_BUILD_STATE_PENDING,
- 'gitlab': GITLAB_BUILD_STATE_PENDING,
'description': 'The build is pending!',
},
BUILD_STATUS_SUCCESS: {
'github': GITHUB_BUILD_STATE_SUCCESS,
- 'gitlab': GITLAB_BUILD_STATE_SUCCESS,
'description': 'The build succeeded!',
},
}
