airbyte-source-gitlab 4.0.1__py3-none-any.whl → 4.0.3__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- {airbyte_source_gitlab-4.0.1.dist-info → airbyte_source_gitlab-4.0.3.dist-info}/METADATA +26 -12
- airbyte_source_gitlab-4.0.3.dist-info/RECORD +35 -0
- source_gitlab/schemas/branches.json +11 -0
- source_gitlab/schemas/commits.json +21 -0
- source_gitlab/schemas/deployments.json +61 -0
- source_gitlab/schemas/epic_issues.json +51 -0
- source_gitlab/schemas/epics.json +39 -0
- source_gitlab/schemas/group_issue_boards.json +21 -0
- source_gitlab/schemas/group_labels.json +11 -0
- source_gitlab/schemas/group_milestones.json +12 -0
- source_gitlab/schemas/groups.json +51 -0
- source_gitlab/schemas/issues.json +87 -0
- source_gitlab/schemas/jobs.json +31 -0
- source_gitlab/schemas/merge_request_commits.json +22 -0
- source_gitlab/schemas/merge_requests.json +60 -0
- source_gitlab/schemas/pipelines.json +11 -0
- source_gitlab/schemas/pipelines_extended.json +29 -0
- source_gitlab/schemas/project_labels.json +13 -0
- source_gitlab/schemas/project_milestones.json +12 -0
- source_gitlab/schemas/projects.json +163 -0
- source_gitlab/schemas/releases.json +22 -0
- source_gitlab/schemas/tags.json +10 -0
- source_gitlab/schemas/users.json +7 -0
- airbyte_source_gitlab-4.0.1.dist-info/RECORD +0 -35
- {airbyte_source_gitlab-4.0.1.dist-info → airbyte_source_gitlab-4.0.3.dist-info}/WHEEL +0 -0
- {airbyte_source_gitlab-4.0.1.dist-info → airbyte_source_gitlab-4.0.3.dist-info}/entry_points.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: airbyte-source-gitlab
|
3
|
-
Version: 4.0.
|
3
|
+
Version: 4.0.3
|
4
4
|
Summary: Source implementation for GitLab.
|
5
5
|
Home-page: https://airbyte.com
|
6
6
|
License: MIT
|
@@ -12,7 +12,7 @@ Classifier: Programming Language :: Python :: 3
|
|
12
12
|
Classifier: Programming Language :: Python :: 3.9
|
13
13
|
Classifier: Programming Language :: Python :: 3.10
|
14
14
|
Classifier: Programming Language :: Python :: 3.11
|
15
|
-
Requires-Dist: airbyte-cdk (
|
15
|
+
Requires-Dist: airbyte-cdk (==0.80.0)
|
16
16
|
Requires-Dist: vcrpy (==4.1.1)
|
17
17
|
Project-URL: Documentation, https://docs.airbyte.com/integrations/sources/gitlab
|
18
18
|
Project-URL: Repository, https://github.com/airbytehq/airbyte
|
@@ -20,32 +20,33 @@ Description-Content-Type: text/markdown
|
|
20
20
|
|
21
21
|
# Gitlab source connector
|
22
22
|
|
23
|
-
|
24
23
|
This is the repository for the Gitlab source connector, written in Python.
|
25
24
|
For information about how to use this connector within Airbyte, see [the documentation](https://docs.airbyte.com/integrations/sources/gitlab).
|
26
25
|
|
27
26
|
## Local development
|
28
27
|
|
29
28
|
### Prerequisites
|
30
|
-
* Python (~=3.9)
|
31
|
-
* Poetry (~=1.7) - installation instructions [here](https://python-poetry.org/docs/#installation)
|
32
29
|
|
30
|
+
- Python (~=3.9)
|
31
|
+
- Poetry (~=1.7) - installation instructions [here](https://python-poetry.org/docs/#installation)
|
33
32
|
|
34
33
|
### Installing the connector
|
34
|
+
|
35
35
|
From this connector directory, run:
|
36
|
+
|
36
37
|
```bash
|
37
38
|
poetry install --with dev
|
38
39
|
```
|
39
40
|
|
40
|
-
|
41
41
|
### Create credentials
|
42
|
+
|
42
43
|
**If you are a community contributor**, follow the instructions in the [documentation](https://docs.airbyte.com/integrations/sources/gitlab)
|
43
44
|
to generate the necessary credentials. Then create a file `secrets/config.json` conforming to the `source_gitlab/spec.yaml` file.
|
44
45
|
Note that any directory named `secrets` is gitignored across the entire Airbyte repo, so there is no danger of accidentally checking in sensitive information.
|
45
46
|
See `sample_files/sample_config.json` for a sample config file.
|
46
47
|
|
47
|
-
|
48
48
|
### Locally running the connector
|
49
|
+
|
49
50
|
```
|
50
51
|
poetry run source-gitlab spec
|
51
52
|
poetry run source-gitlab check --config secrets/config.json
|
@@ -54,23 +55,28 @@ poetry run source-gitlab read --config secrets/config.json --catalog integration
|
|
54
55
|
```
|
55
56
|
|
56
57
|
### Running unit tests
|
58
|
+
|
57
59
|
To run unit tests locally, from the connector directory run:
|
60
|
+
|
58
61
|
```
|
59
62
|
poetry run pytest unit_tests
|
60
63
|
```
|
61
64
|
|
62
65
|
### Building the docker image
|
66
|
+
|
63
67
|
1. Install [`airbyte-ci`](https://github.com/airbytehq/airbyte/blob/master/airbyte-ci/connectors/pipelines/README.md)
|
64
68
|
2. Run the following command to build the docker image:
|
69
|
+
|
65
70
|
```bash
|
66
71
|
airbyte-ci connectors --name=source-gitlab build
|
67
72
|
```
|
68
73
|
|
69
74
|
An image will be available on your host with the tag `airbyte/source-gitlab:dev`.
|
70
75
|
|
71
|
-
|
72
76
|
### Running as a docker container
|
77
|
+
|
73
78
|
Then run any of the connector commands as follows:
|
79
|
+
|
74
80
|
```
|
75
81
|
docker run --rm airbyte/source-gitlab:dev spec
|
76
82
|
docker run --rm -v $(pwd)/secrets:/secrets airbyte/source-gitlab:dev check --config /secrets/config.json
|
@@ -79,18 +85,23 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat
|
|
79
85
|
```
|
80
86
|
|
81
87
|
### Running our CI test suite
|
88
|
+
|
82
89
|
You can run our full test suite locally using [`airbyte-ci`](https://github.com/airbytehq/airbyte/blob/master/airbyte-ci/connectors/pipelines/README.md):
|
90
|
+
|
83
91
|
```bash
|
84
92
|
airbyte-ci connectors --name=source-gitlab test
|
85
93
|
```
|
86
94
|
|
87
95
|
### Customizing acceptance Tests
|
96
|
+
|
88
97
|
Customize `acceptance-test-config.yml` file to configure acceptance tests. See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information.
|
89
98
|
If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py.
|
90
99
|
|
91
100
|
### Dependency Management
|
92
|
-
|
101
|
+
|
102
|
+
All of your dependencies should be managed via Poetry.
|
93
103
|
To add a new dependency, run:
|
104
|
+
|
94
105
|
```bash
|
95
106
|
poetry add <package-name>
|
96
107
|
```
|
@@ -98,14 +109,17 @@ poetry add <package-name>
|
|
98
109
|
Please commit the changes to `pyproject.toml` and `poetry.lock` files.
|
99
110
|
|
100
111
|
## Publishing a new version of the connector
|
112
|
+
|
101
113
|
You've checked out the repo, implemented a million dollar feature, and you're ready to share your changes with the world. Now what?
|
114
|
+
|
102
115
|
1. Make sure your changes are passing our test suite: `airbyte-ci connectors --name=source-gitlab test`
|
103
|
-
2. Bump the connector version (please follow [semantic versioning for connectors](https://docs.airbyte.com/contributing-to-airbyte/resources/pull-requests-handbook/#semantic-versioning-for-connectors)):
|
104
|
-
|
105
|
-
|
116
|
+
2. Bump the connector version (please follow [semantic versioning for connectors](https://docs.airbyte.com/contributing-to-airbyte/resources/pull-requests-handbook/#semantic-versioning-for-connectors)):
|
117
|
+
- bump the `dockerImageTag` value in in `metadata.yaml`
|
118
|
+
- bump the `version` value in `pyproject.toml`
|
106
119
|
3. Make sure the `metadata.yaml` content is up to date.
|
107
120
|
4. Make sure the connector documentation and its changelog is up to date (`docs/integrations/sources/gitlab.md`).
|
108
121
|
5. Create a Pull Request: use [our PR naming conventions](https://docs.airbyte.com/contributing-to-airbyte/resources/pull-requests-handbook/#pull-request-title-convention).
|
109
122
|
6. Pat yourself on the back for being an awesome contributor.
|
110
123
|
7. Someone from Airbyte will take a look at your PR and iterate with you to merge it into master.
|
111
124
|
8. Once your PR is merged, the new version of the connector will be automatically published to Docker Hub and our connector registry.
|
125
|
+
|
@@ -0,0 +1,35 @@
|
|
1
|
+
source_gitlab/__init__.py,sha256=Bip0P3F1yGxbb0nNwdTE8i98KtkuTT_MzZbMeSxziBM,1134
|
2
|
+
source_gitlab/components/partition_routers.py,sha256=tu8gl2FoBCic6xohSbZr1YTdOAEyczQyZqMSBomhEG8,2054
|
3
|
+
source_gitlab/config_migrations.py,sha256=K6Bg8zh4Zz1U9QlilRyAC1oy8RQJOOsVhh62jVIPTrY,3816
|
4
|
+
source_gitlab/manifest.yaml,sha256=n0a-CfKB9OmsKD9fCYYGW8S8tt5nfg2VfebMPQbw9fM,20615
|
5
|
+
source_gitlab/run.py,sha256=opjAlKxINNpsekbyOYAAxh25DxI7gTKg5ohJmDwe0q0,403
|
6
|
+
source_gitlab/schemas/branches.json,sha256=FmpYj-ulEwBsvYLe5RUm_vGfT-llg1iektjtNAy-s7g,1654
|
7
|
+
source_gitlab/schemas/commits.json,sha256=RYDp-gGeeDLOik-de1E6yvQnw-vfD7gqoxM1FDReZNg,3310
|
8
|
+
source_gitlab/schemas/deployments.json,sha256=VceratsOib7S8w4q644dGWCEl8bIl9M9ICm5Cnu1G4U,9049
|
9
|
+
source_gitlab/schemas/epic_issues.json,sha256=iW4cTAlcxBvRd12GSaMdwot-lczdY3YlJ-Hc9qt3678,8831
|
10
|
+
source_gitlab/schemas/epics.json,sha256=bfVMO91CMGhYzRkrtG1OSh1rnIv-OPMvfWn7crmGcSM,5040
|
11
|
+
source_gitlab/schemas/group_issue_boards.json,sha256=DLCeJoRdHJGO-m4zcqKMXYAv44reDbtOZq2y-OhKo-8,3173
|
12
|
+
source_gitlab/schemas/group_labels.json,sha256=bVuzcFTpnQHzc22x805CXxPysxZf2HUi4JklguBNuiI,1627
|
13
|
+
source_gitlab/schemas/group_members.json,sha256=5NbL5GzDrEWyM3RGsQ1Yk30FHaT8N9w99-mUYkVyVXY,1261
|
14
|
+
source_gitlab/schemas/group_milestones.json,sha256=1MjDIX3Ai9JcKfAZgda6HebYz_-RQysKk2CYcwqVx6s,1765
|
15
|
+
source_gitlab/schemas/groups.json,sha256=2zYW4G752SlKmDnbjEAhaXjlY-PTFJRU9yGIFtInf8Q,7472
|
16
|
+
source_gitlab/schemas/issues.json,sha256=50ObSiHZh2buVn-ckyTtE_e8Yf3kgSZSVlbhQVtufJU,11629
|
17
|
+
source_gitlab/schemas/jobs.json,sha256=Ra2XIjtULSL_EVEPtQ0OoGY4XyUNwKWDhOHH8qK5goo,4326
|
18
|
+
source_gitlab/schemas/merge_request_commits.json,sha256=u29ZX2W9TOZ-ny3mFJ6L30Vr4AOUdxD91of5g843wtg,3256
|
19
|
+
source_gitlab/schemas/merge_requests.json,sha256=S2f6doFPT_JXn19kZZlru2jf0SyoF2meTJvIX6ofaKo,8440
|
20
|
+
source_gitlab/schemas/pipelines.json,sha256=1sOSJ5d5cGqSssEQ7WR2l2pveSiv43rgSsSB7wxo3gk,1590
|
21
|
+
source_gitlab/schemas/pipelines_extended.json,sha256=1H3H3m9pChUi6IIpcN4z9VQcK46CTudHNX4G9U2bL9Q,4119
|
22
|
+
source_gitlab/schemas/project_labels.json,sha256=4Kc-6Rs2VZssT3FcWOkjkn2veXAJSGgL_qKALTCgsJQ,2089
|
23
|
+
source_gitlab/schemas/project_members.json,sha256=TACxu3MWiteGh2oy1-MGlGmjPhsN3vHqrdmACT2Bzwo,1263
|
24
|
+
source_gitlab/schemas/project_milestones.json,sha256=E_rnHBOXWEyDcCVUdsUDtb4Uxjyms9Zd3Ijv5-wA-aI,1761
|
25
|
+
source_gitlab/schemas/projects.json,sha256=IlOe7MJVnMlpSpECMVtusYaMtbn0B_mpleit-5pr4QM,21255
|
26
|
+
source_gitlab/schemas/releases.json,sha256=6Y_v6OUiai4otKfbkVjPXRj8IlhmPv9Kcvr9Jg4JGG0,3144
|
27
|
+
source_gitlab/schemas/tags.json,sha256=YasyIr8Vjs6VpKCgeHX_cDPR5K_E3AoF9-ZfPTeibz4,1439
|
28
|
+
source_gitlab/schemas/users.json,sha256=u-HDhMqyFHAH53_ekgW0ulAQPIJ57jEP7FjHYILd9Po,964
|
29
|
+
source_gitlab/source.py,sha256=Gc17C7D_cazqOdnVEIUNwRYYucDzNXrsGXqXnZy8CN8,1093
|
30
|
+
source_gitlab/spec.json,sha256=0eit0zD-6kdcaNhJ1sAf0ABgIUwnlPV87Sbu3A4JvG0,6132
|
31
|
+
source_gitlab/utils.py,sha256=idtKZiT-ILRRtpO0rxPJ1wim-mWN6ewzN_KgLCmogBs,456
|
32
|
+
airbyte_source_gitlab-4.0.3.dist-info/METADATA,sha256=CFp63UOE97TIhtEpMNoGpKXe03c-LKJMpPBW3mzJdUs,5246
|
33
|
+
airbyte_source_gitlab-4.0.3.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
34
|
+
airbyte_source_gitlab-4.0.3.dist-info/entry_points.txt,sha256=sbp4881P3oluHtnFDy4ZCVHDfL5fIkVQhJ7vka_qzTc,55
|
35
|
+
airbyte_source_gitlab-4.0.3.dist-info/RECORD,,
|
@@ -3,36 +3,47 @@
|
|
3
3
|
"type": "object",
|
4
4
|
"properties": {
|
5
5
|
"project_id": {
|
6
|
+
"description": "ID of the project to which this branch belongs.",
|
6
7
|
"type": ["null", "integer"]
|
7
8
|
},
|
8
9
|
"name": {
|
10
|
+
"description": "Name of the branch.",
|
9
11
|
"type": ["null", "string"]
|
10
12
|
},
|
11
13
|
"merged": {
|
14
|
+
"description": "Indicates if the changes in this branch have been merged into another branch.",
|
12
15
|
"type": ["null", "boolean"]
|
13
16
|
},
|
14
17
|
"protected": {
|
18
|
+
"description": "Indicates if the branch is protected to prevent direct pushes.",
|
15
19
|
"type": ["null", "boolean"]
|
16
20
|
},
|
17
21
|
"developers_can_push": {
|
22
|
+
"description": "Indicates if developers can push changes to this branch.",
|
18
23
|
"type": ["null", "boolean"]
|
19
24
|
},
|
20
25
|
"developers_can_merge": {
|
26
|
+
"description": "Indicates if developers can merge changes to this branch.",
|
21
27
|
"type": ["null", "boolean"]
|
22
28
|
},
|
23
29
|
"can_push": {
|
30
|
+
"description": "Indicates if the user has permission to push changes to this branch.",
|
24
31
|
"type": ["null", "boolean"]
|
25
32
|
},
|
26
33
|
"default": {
|
34
|
+
"description": "Indicates if this is the default branch of the project.",
|
27
35
|
"type": ["null", "boolean"]
|
28
36
|
},
|
29
37
|
"web_url": {
|
38
|
+
"description": "URL to view the branch in a web browser.",
|
30
39
|
"type": ["null", "string"]
|
31
40
|
},
|
32
41
|
"commit_id": {
|
42
|
+
"description": "ID of the commit associated with this branch.",
|
33
43
|
"type": ["null", "string"]
|
34
44
|
},
|
35
45
|
"commit": {
|
46
|
+
"description": "Details about the commit associated with this branch.",
|
36
47
|
"type": ["null", "object"],
|
37
48
|
"additionalProperties": true
|
38
49
|
}
|
@@ -3,44 +3,56 @@
|
|
3
3
|
"type": "object",
|
4
4
|
"properties": {
|
5
5
|
"project_id": {
|
6
|
+
"description": "ID of the project to which the commit belongs.",
|
6
7
|
"type": ["null", "integer"]
|
7
8
|
},
|
8
9
|
"id": {
|
10
|
+
"description": "Unique identifier of the commit.",
|
9
11
|
"type": ["null", "string"]
|
10
12
|
},
|
11
13
|
"short_id": {
|
14
|
+
"description": "Shortened version of the commit's unique identifier.",
|
12
15
|
"type": ["null", "string"]
|
13
16
|
},
|
14
17
|
"created_at": {
|
18
|
+
"description": "Date and time when the commit record was created.",
|
15
19
|
"type": ["null", "string"],
|
16
20
|
"format": "date-time"
|
17
21
|
},
|
18
22
|
"parent_ids": {
|
23
|
+
"description": "Array of unique identifiers of parent commits if the commit has multiple parents.",
|
19
24
|
"type": ["null", "array"],
|
20
25
|
"items": {
|
21
26
|
"type": ["null", "string"]
|
22
27
|
}
|
23
28
|
},
|
24
29
|
"title": {
|
30
|
+
"description": "Title or summary of the commit message.",
|
25
31
|
"type": ["null", "string"]
|
26
32
|
},
|
27
33
|
"message": {
|
34
|
+
"description": "Description or text message associated with the commit.",
|
28
35
|
"type": ["null", "string"]
|
29
36
|
},
|
30
37
|
"author_name": {
|
38
|
+
"description": "Name of the author who created the commit.",
|
31
39
|
"type": ["null", "string"]
|
32
40
|
},
|
33
41
|
"author_email": {
|
42
|
+
"description": "Email of the author who created the commit.",
|
34
43
|
"type": ["null", "string"]
|
35
44
|
},
|
36
45
|
"authored_date": {
|
46
|
+
"description": "Date and time when the commit was authored.",
|
37
47
|
"type": ["null", "string"],
|
38
48
|
"format": "date-time"
|
39
49
|
},
|
40
50
|
"extended_trailers": {
|
51
|
+
"description": "Additional information or metadata added to the commit. Eg: 'Cc' field for carbon copy email addresses.",
|
41
52
|
"type": ["null", "object"],
|
42
53
|
"properties": {
|
43
54
|
"Cc": {
|
55
|
+
"description": "Carbon copy email addresses associated with the commit.",
|
44
56
|
"type": ["null", "array"],
|
45
57
|
"items": {
|
46
58
|
"type": ["null", "string"]
|
@@ -49,31 +61,40 @@
|
|
49
61
|
}
|
50
62
|
},
|
51
63
|
"committer_name": {
|
64
|
+
"description": "Name of the committer who committed the changes.",
|
52
65
|
"type": ["null", "string"]
|
53
66
|
},
|
54
67
|
"committer_email": {
|
68
|
+
"description": "Email of the committer who committed the changes.",
|
55
69
|
"type": ["null", "string"]
|
56
70
|
},
|
57
71
|
"committed_date": {
|
72
|
+
"description": "Date and time when the commit was committed.",
|
58
73
|
"type": ["null", "string"],
|
59
74
|
"format": "date-time"
|
60
75
|
},
|
61
76
|
"trailers": {
|
77
|
+
"description": "Metadata information provided below the commit message.",
|
62
78
|
"type": ["null", "object"]
|
63
79
|
},
|
64
80
|
"web_url": {
|
81
|
+
"description": "URL link to view the commit details in a web browser.",
|
65
82
|
"type": ["null", "string"]
|
66
83
|
},
|
67
84
|
"stats": {
|
85
|
+
"description": "Statistics related to the commit changes like additions, deletions, and total changes.",
|
68
86
|
"type": ["null", "object"],
|
69
87
|
"properties": {
|
70
88
|
"additions": {
|
89
|
+
"description": "Number of lines added in the commit.",
|
71
90
|
"type": ["null", "integer"]
|
72
91
|
},
|
73
92
|
"deletions": {
|
93
|
+
"description": "Number of lines deleted in the commit.",
|
74
94
|
"type": ["null", "integer"]
|
75
95
|
},
|
76
96
|
"total": {
|
97
|
+
"description": "Total number of lines changed in the commit.",
|
77
98
|
"type": ["null", "integer"]
|
78
99
|
}
|
79
100
|
}
|
@@ -3,203 +3,264 @@
|
|
3
3
|
"type": "object",
|
4
4
|
"properties": {
|
5
5
|
"id": {
|
6
|
+
"description": "Unique identifier of the deployment",
|
6
7
|
"type": ["null", "integer"]
|
7
8
|
},
|
8
9
|
"iid": {
|
10
|
+
"description": "Identification number of the deployment",
|
9
11
|
"type": ["null", "integer"]
|
10
12
|
},
|
11
13
|
"status": {
|
14
|
+
"description": "Status of the deployment",
|
12
15
|
"type": ["null", "string"]
|
13
16
|
},
|
14
17
|
"ref": {
|
18
|
+
"description": "Reference of the deployment",
|
15
19
|
"type": ["null", "string"]
|
16
20
|
},
|
17
21
|
"sha": {
|
22
|
+
"description": "SHA of the deployment",
|
18
23
|
"type": ["null", "string"]
|
19
24
|
},
|
20
25
|
"environment_name": {
|
26
|
+
"description": "Name of the environment",
|
21
27
|
"type": ["null", "string"]
|
22
28
|
},
|
23
29
|
"created_at": {
|
30
|
+
"description": "The timestamp when the deployment was created",
|
24
31
|
"type": ["null", "string"],
|
25
32
|
"format": "date-time"
|
26
33
|
},
|
27
34
|
"updated_at": {
|
35
|
+
"description": "Timestamp when the deployment was last updated",
|
28
36
|
"type": ["null", "string"],
|
29
37
|
"format": "date-time"
|
30
38
|
},
|
31
39
|
"user": {
|
40
|
+
"description": "User associated with the deployment",
|
32
41
|
"type": ["null", "object"],
|
33
42
|
"additionalProperties": true
|
34
43
|
},
|
35
44
|
"user_full_name": {
|
45
|
+
"description": "Full name of the user associated with the deployment",
|
36
46
|
"type": ["null", "string"]
|
37
47
|
},
|
38
48
|
"user_username": {
|
49
|
+
"description": "Username of the user associated with the deployment",
|
39
50
|
"type": ["null", "string"]
|
40
51
|
},
|
41
52
|
"user_id": {
|
53
|
+
"description": "Unique identifier of the user associated with the deployment",
|
42
54
|
"type": ["null", "integer"]
|
43
55
|
},
|
44
56
|
"environment": {
|
57
|
+
"description": "Environment information of the deployment",
|
45
58
|
"type": ["null", "object"],
|
46
59
|
"additionalProperties": true
|
47
60
|
},
|
48
61
|
"environment_id": {
|
62
|
+
"description": "Unique identifier of the environment",
|
49
63
|
"type": ["null", "integer"]
|
50
64
|
},
|
51
65
|
"project_id": {
|
66
|
+
"description": "Unique identifier of the project",
|
52
67
|
"type": ["null", "integer"]
|
53
68
|
},
|
54
69
|
"deployable": {
|
70
|
+
"description": "Details of the deployment job",
|
55
71
|
"type": ["null", "object"],
|
56
72
|
"properties": {
|
57
73
|
"commit": {
|
74
|
+
"description": "Information about the commit associated with the deployment",
|
58
75
|
"type": ["null", "object"],
|
59
76
|
"properties": {
|
60
77
|
"author_email": {
|
78
|
+
"description": "Email of the author of the commit",
|
61
79
|
"type": ["null", "string"]
|
62
80
|
},
|
63
81
|
"author_name": {
|
82
|
+
"description": "Name of the author of the commit",
|
64
83
|
"type": ["null", "string"]
|
65
84
|
},
|
66
85
|
"created_at": {
|
86
|
+
"description": "Timestamp when the commit was created",
|
67
87
|
"type": ["null", "string"],
|
68
88
|
"format": "date-time"
|
69
89
|
},
|
70
90
|
"id": {
|
91
|
+
"description": "Unique identifier of the commit",
|
71
92
|
"type": ["null", "string"]
|
72
93
|
},
|
73
94
|
"message": {
|
95
|
+
"description": "Message associated with the commit",
|
74
96
|
"type": ["null", "string"]
|
75
97
|
},
|
76
98
|
"short_id": {
|
99
|
+
"description": "Short identifier of the commit",
|
77
100
|
"type": ["null", "string"]
|
78
101
|
},
|
79
102
|
"title": {
|
103
|
+
"description": "Title of the commit",
|
80
104
|
"type": ["null", "string"]
|
81
105
|
}
|
82
106
|
}
|
83
107
|
},
|
84
108
|
"coverage": {
|
109
|
+
"description": "Coverage information of the deployment",
|
85
110
|
"type": ["null", "string"]
|
86
111
|
},
|
87
112
|
"created_at": {
|
113
|
+
"description": "Timestamp when the deployment was created",
|
88
114
|
"type": ["null", "string"],
|
89
115
|
"format": "date-time"
|
90
116
|
},
|
91
117
|
"finished_at": {
|
118
|
+
"description": "Timestamp when the deployment was finished",
|
92
119
|
"type": ["null", "string"],
|
93
120
|
"format": "date-time"
|
94
121
|
},
|
95
122
|
"id": {
|
123
|
+
"description": "Unique identifier of the deployment",
|
96
124
|
"type": ["null", "integer"]
|
97
125
|
},
|
98
126
|
"name": {
|
127
|
+
"description": "Name of the deployment",
|
99
128
|
"type": ["null", "string"]
|
100
129
|
},
|
101
130
|
"ref": {
|
131
|
+
"description": "Reference of the deployment",
|
102
132
|
"type": ["null", "string"]
|
103
133
|
},
|
104
134
|
"runner": {
|
135
|
+
"description": "Runner information for the deployment",
|
105
136
|
"type": ["null", "string"]
|
106
137
|
},
|
107
138
|
"stage": {
|
139
|
+
"description": "Stage of the deployment",
|
108
140
|
"type": ["null", "string"]
|
109
141
|
},
|
110
142
|
"started_at": {
|
143
|
+
"description": "Timestamp when the deployment was started",
|
111
144
|
"type": ["null", "string"],
|
112
145
|
"format": "date-time"
|
113
146
|
},
|
114
147
|
"status": {
|
148
|
+
"description": "Status of the deployment",
|
115
149
|
"type": ["null", "string"]
|
116
150
|
},
|
117
151
|
"tag": {
|
152
|
+
"description": "Tag information for the deployment",
|
118
153
|
"type": ["null", "boolean"]
|
119
154
|
},
|
120
155
|
"project": {
|
156
|
+
"description": "Details of the project where the deployment occurred",
|
121
157
|
"type": ["null", "object"],
|
122
158
|
"properties": {
|
123
159
|
"ci_job_token_scope_enabled": {
|
160
|
+
"description": "Flag indicating if the CI job token scope is enabled for the project",
|
124
161
|
"type": ["null", "boolean"]
|
125
162
|
}
|
126
163
|
}
|
127
164
|
},
|
128
165
|
"user": {
|
166
|
+
"description": "User associated with the deployment",
|
129
167
|
"type": ["null", "object"],
|
130
168
|
"properties": {
|
131
169
|
"id": {
|
170
|
+
"description": "Unique identifier of the user",
|
132
171
|
"type": ["null", "integer"]
|
133
172
|
},
|
134
173
|
"name": {
|
174
|
+
"description": "Name of the user",
|
135
175
|
"type": ["null", "string"]
|
136
176
|
},
|
137
177
|
"username": {
|
178
|
+
"description": "Username of the user",
|
138
179
|
"type": ["null", "string"]
|
139
180
|
},
|
140
181
|
"state": {
|
182
|
+
"description": "State information of the user",
|
141
183
|
"type": ["null", "string"]
|
142
184
|
},
|
143
185
|
"avatar_url": {
|
186
|
+
"description": "URL of the user's avatar",
|
144
187
|
"type": ["null", "string"]
|
145
188
|
},
|
146
189
|
"web_url": {
|
190
|
+
"description": "URL for accessing the user's information",
|
147
191
|
"type": ["null", "string"]
|
148
192
|
},
|
149
193
|
"created_at": {
|
194
|
+
"description": "Timestamp when the user was created",
|
150
195
|
"type": ["null", "string"],
|
151
196
|
"format": "date-time"
|
152
197
|
},
|
153
198
|
"bio": {
|
199
|
+
"description": "Bio information of the user",
|
154
200
|
"type": ["null", "string"]
|
155
201
|
},
|
156
202
|
"location": {
|
203
|
+
"description": "Location information of the user",
|
157
204
|
"type": ["null", "string"]
|
158
205
|
},
|
159
206
|
"public_email": {
|
207
|
+
"description": "Public email of the user",
|
160
208
|
"type": ["null", "string"]
|
161
209
|
},
|
162
210
|
"skype": {
|
211
|
+
"description": "Skype ID of the user",
|
163
212
|
"type": ["null", "string"]
|
164
213
|
},
|
165
214
|
"linkedin": {
|
215
|
+
"description": "Linkedin profile of the user",
|
166
216
|
"type": ["null", "string"]
|
167
217
|
},
|
168
218
|
"twitter": {
|
219
|
+
"description": "Twitter handle of the user",
|
169
220
|
"type": ["null", "string"]
|
170
221
|
},
|
171
222
|
"website_url": {
|
223
|
+
"description": "URL for the user's website",
|
172
224
|
"type": ["null", "string"]
|
173
225
|
},
|
174
226
|
"organization": {
|
227
|
+
"description": "Organization information of the user",
|
175
228
|
"type": ["null", "string"]
|
176
229
|
}
|
177
230
|
}
|
178
231
|
},
|
179
232
|
"pipeline": {
|
233
|
+
"description": "Details of the pipeline used for the deployment",
|
180
234
|
"type": ["null", "object"],
|
181
235
|
"properties": {
|
182
236
|
"created_at": {
|
237
|
+
"description": "Timestamp when the pipeline associated with the deployment was created",
|
183
238
|
"type": ["null", "string"],
|
184
239
|
"format": "date-time"
|
185
240
|
},
|
186
241
|
"id": {
|
242
|
+
"description": "Unique identifier of the pipeline",
|
187
243
|
"type": ["null", "integer"]
|
188
244
|
},
|
189
245
|
"ref": {
|
246
|
+
"description": "Reference of the pipeline",
|
190
247
|
"type": ["null", "string"]
|
191
248
|
},
|
192
249
|
"sha": {
|
250
|
+
"description": "SHA of the pipeline",
|
193
251
|
"type": ["null", "string"]
|
194
252
|
},
|
195
253
|
"status": {
|
254
|
+
"description": "Status of the pipeline",
|
196
255
|
"type": ["null", "string"]
|
197
256
|
},
|
198
257
|
"updated_at": {
|
258
|
+
"description": "Timestamp when the pipeline associated with the deployment was last updated",
|
199
259
|
"type": ["null", "string"],
|
200
260
|
"format": "date-time"
|
201
261
|
},
|
202
262
|
"web_url": {
|
263
|
+
"description": "URL for accessing the pipeline in a web browser",
|
203
264
|
"type": ["null", "string"]
|
204
265
|
}
|
205
266
|
}
|