/
step.yml
71 lines (68 loc) · 2.18 KB
/
step.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
title: |-
GitLab status
summary: |
Update commit status for GitLab repositories
description: |
Update commit status for GitLab repositories
website: https://github.com/bitrise-steplib/steps-gitlab-status
source_code_url: https://github.com/bitrise-steplib/steps-gitlab-status
support_url: https://github.com/bitrise-steplib/steps-gitlab-status/issues
type_tags:
- utility
is_requires_admin_user: false
is_always_run: true
is_skippable: true
toolkit:
go:
package_name: github.com/bitrise-steplib/steps-gitlab-status
inputs:
- api_base_url: ""
opts:
title: "GitLab API base url"
summary: ""
description: |-
API URL for GitLab or GitLab Enterprise
Example: "https://gitlab.example.com/api/v4"
is_required: true
- private_token: ""
opts:
title: "GitLab private token"
summary: ""
description: |-
Authorization token for GitLab applications
Generating a personal access token:
1. Log in to your GitLab instance
2. Go to User Settings > Access Tokens
3. Pick a _name_ and set a _scope_ for the token
4. Click on **Create personal access token** and save your new token
is_required: true
- repository_url: "$GIT_REPOSITORY_URL"
opts:
title: "Repository URL"
summary: ""
description: |-
The URL for the repository we are working with
is_required: true
- commit_hash: "$BITRISE_GIT_COMMIT"
opts:
title: "Commit hash"
summary: ""
description: |-
The commit hash for the commit we are working with
is_required: true
- preset_status: "auto"
opts:
title: "Set Specific Status"
summary: ""
description: |-
If set, this step will set a specific status instead of reporting the current build status.
Can be one of auto, pending, running, success, failed or canceled.
If you select `auto` the step will send `success` status if the current build status is success (no step failed previously)
and `failed` status if the build previously failed.
value_options:
- "auto"
- "pending"
- "running"
- "success"
- "failed"
- "canceled"