GraphQL query for fetching latest deployments and upcoming deployments of environments
TODO
-
Fetch latest deployments of multiple environments -
Fetch latest upcoming deployments of multiple environments
environments.json example
{
"name": "production",
"size": 1,
"latest": {
"id": 2235830,
"global_id": "gid://gitlab/Environment/2235830",
"name": "production",
"state": "available",
"external_url": "https://example.com",
"environment_type": null,
"name_without_type": "production",
"last_deployment": {
"id": 286402047,
"iid": 20992,
"sha": "b528a08ae17d2975741e1fc3dbfec47515ddf3ba",
"ref": {
"name": "release-tag-test-2",
"ref_path": "/shinya.maeda/pipeline-playground/-/tree/release-tag-test-2"
},
"status": "success",
"created_at": "2022-05-10T09:42:23.312Z",
"deployed_at": "2022-05-10T09:42:39.239Z",
"tag": true,
"last?": true,
"is_last": true,
"tier_in_yaml": null,
"user": {
"id": 758045,
"username": "shinya.maeda",
"name": "Shinya Maeda",
"state": "active",
"avatar_url": "https://gitlab.com/uploads/-/system/user/avatar/758045/avatar.png",
"web_url": "https://gitlab.com/shinya.maeda",
"show_status": false,
"path": "/shinya.maeda"
},
"deployable": {
"id": 2435419830,
"name": "deploy",
"started": true,
"started_at": "2022-05-10T09:42:23.736Z",
"complete": true,
"archived": false,
"build_path": "/shinya.maeda/pipeline-playground/-/jobs/2435419830",
"retry_path": "/shinya.maeda/pipeline-playground/-/jobs/2435419830/retry",
"playable": false,
"scheduled": false,
"created_at": "2022-05-10T09:42:23.233Z",
"queued_at": "2022-05-10T09:42:23.504Z",
"queued_duration": 0.232588,
"updated_at": "2022-05-10T09:42:39.203Z",
"status": {
"icon": "status_success",
"text": "passed",
"label": "passed",
"group": "success",
"tooltip": "passed",
"has_details": true,
"details_path": "/shinya.maeda/pipeline-playground/-/jobs/2435419830",
"illustration": {
"image": "/assets/illustrations/skipped-job_empty-29a8a37d8a61d1b6f68cf3484f9024e53cd6eb95e28eae3554f8011a1146bf27.svg",
"size": "svg-430",
"title": "This job does not have a trace."
},
"favicon": "/assets/ci_favicons/favicon_status_success-8451333011eee8ce9f2ab25dc487fe24a8758c694827a582f17f42b0a90446a2.png",
"action": {
"icon": "retry",
"title": "Retry",
"path": "/shinya.maeda/pipeline-playground/-/jobs/2435419830/retry",
"method": "post",
"button_title": "Retry this job"
}
}
},
"commit": {
"id": "b528a08ae17d2975741e1fc3dbfec47515ddf3ba",
"short_id": "b528a08a",
"created_at": "2022-04-22T09:52:30.000+00:00",
"parent_ids": ["4beb8a9bbd676cb4f80b0ccc70b1b3a7789315b0"],
"title": "Update .gitlab-ci.yml",
"message": "Update .gitlab-ci.yml",
"author_name": "Shinya Maeda",
"author_email": "shinya@gitlab.com",
"authored_date": "2022-04-22T09:52:30.000+00:00",
"committer_name": "Shinya Maeda",
"committer_email": "shinya@gitlab.com",
"committed_date": "2022-04-22T09:52:30.000+00:00",
"trailers": {},
"web_url": "https://gitlab.com/shinya.maeda/pipeline-playground/-/commit/b528a08ae17d2975741e1fc3dbfec47515ddf3ba",
"author": {
"id": 758045,
"username": "shinya.maeda",
"name": "Shinya Maeda",
"state": "active",
"avatar_url": "https://gitlab.com/uploads/-/system/user/avatar/758045/avatar.png",
"web_url": "https://gitlab.com/shinya.maeda",
"show_status": false,
"path": "/shinya.maeda"
},
"author_gravatar_url": "https://secure.gravatar.com/avatar/d99019d49e480c8654156065b29eeb6f?s=80\u0026d=identicon",
"commit_url": "https://gitlab.com/shinya.maeda/pipeline-playground/-/commit/b528a08ae17d2975741e1fc3dbfec47515ddf3ba",
"commit_path": "/shinya.maeda/pipeline-playground/-/commit/b528a08ae17d2975741e1fc3dbfec47515ddf3ba"
},
"manual_actions": [],
"scheduled_actions": [],
"cluster": null,
"pending_approval_count": 0,
"approvals": [],
"can_approve_deployment": true
},
"has_stop_action": false,
"rollout_status": null,
"tier": "production",
"upcoming_deployment": {
"id": 260175067,
"iid": 20964,
"sha": "02d5d060e42b483515eaa99d0dea38ad28374ff5",
"ref": {
"name": "master",
"ref_path": "/shinya.maeda/pipeline-playground/-/tree/master"
},
"status": "blocked",
"created_at": "2022-03-14T09:31:46.489Z",
"deployed_at": null,
"tag": false,
"last?": false,
"is_last": false,
"tier_in_yaml": null,
"user": {
"id": 758045,
"username": "shinya.maeda",
"name": "Shinya Maeda",
"state": "active",
"avatar_url": "https://gitlab.com/uploads/-/system/user/avatar/758045/avatar.png",
"web_url": "https://gitlab.com/shinya.maeda",
"show_status": false,
"path": "/shinya.maeda"
},
"deployable": {
"id": 2198800255,
"name": "job",
"started": false,
"complete": false,
"archived": false,
"build_path": "/shinya.maeda/pipeline-playground/-/jobs/2198800255",
"playable": false,
"scheduled": false,
"created_at": "2022-03-14T09:31:46.312Z",
"queued_at": null,
"queued_duration": null,
"updated_at": "2022-03-14T09:31:46.785Z",
"status": {
"icon": "status_manual",
"text": "manual",
"label": "manual action",
"group": "manual",
"tooltip": "manual action",
"has_details": true,
"details_path": "/shinya.maeda/pipeline-playground/-/jobs/2198800255",
"illustration": {
"image": "/assets/illustrations/manual_action-c55aee2c5f9ebe9f72751480af8bb307be1a6f35552f344cc6d1bf979d3422f6.svg",
"size": "svg-394",
"title": "Waiting for approval",
"content": "This job deploys to the protected environment \"production\" which requires approvals."
},
"favicon": "/assets/ci_favicons/favicon_status_manual-829a0804612cef47d9efc1618dba38325483657c847dba0546c3b9f0295bb36c.png",
"action": {
"icon": null,
"title": null,
"path": "/shinya.maeda/pipeline-playground/-/environments",
"method": "get",
"button_title": "Go to environments page to approve or reject"
}
}
},
"commit": {
"id": "02d5d060e42b483515eaa99d0dea38ad28374ff5",
"short_id": "02d5d060",
"created_at": "2022-03-14T09:31:44.000+00:00",
"parent_ids": ["872f2c05da635df9b82e8abd7432877f15a2a3fb"],
"title": "Update .gitlab-ci.yml",
"message": "Update .gitlab-ci.yml",
"author_name": "Shinya Maeda",
"author_email": "shinya@gitlab.com",
"authored_date": "2022-03-14T09:31:44.000+00:00",
"committer_name": "Shinya Maeda",
"committer_email": "shinya@gitlab.com",
"committed_date": "2022-03-14T09:31:44.000+00:00",
"trailers": {},
"web_url": "https://gitlab.com/shinya.maeda/pipeline-playground/-/commit/02d5d060e42b483515eaa99d0dea38ad28374ff5",
"author": {
"id": 758045,
"username": "shinya.maeda",
"name": "Shinya Maeda",
"state": "active",
"avatar_url": "https://gitlab.com/uploads/-/system/user/avatar/758045/avatar.png",
"web_url": "https://gitlab.com/shinya.maeda",
"show_status": false,
"path": "/shinya.maeda"
},
"author_gravatar_url": "https://secure.gravatar.com/avatar/d99019d49e480c8654156065b29eeb6f?s=80\u0026d=identicon",
"commit_url": "https://gitlab.com/shinya.maeda/pipeline-playground/-/commit/02d5d060e42b483515eaa99d0dea38ad28374ff5",
"commit_path": "/shinya.maeda/pipeline-playground/-/commit/02d5d060e42b483515eaa99d0dea38ad28374ff5"
},
"pending_approval_count": 0,
"approvals": [],
"can_approve_deployment": true
},
"environment_path": "/shinya.maeda/pipeline-playground/-/environments/2235830",
"stop_path": "/shinya.maeda/pipeline-playground/-/environments/2235830/stop",
"cancel_auto_stop_path": "/shinya.maeda/pipeline-playground/-/environments/2235830/cancel_auto_stop",
"delete_path": "/api/v4/projects/19827008/environments/2235830",
"folder_path": "/shinya.maeda/pipeline-playground/-/environments/folders/production",
"created_at": "2020-07-10T11:24:32.164Z",
"updated_at": "2021-12-08T05:33:44.031Z",
"can_stop": true,
"can_delete": false,
"has_opened_alert": false,
"required_approval_count": 0
}
},
full
{
"environments": [
{
"name": "MON-B-MTEST",
"size": 1,
"latest": {
"id": 9886538,
"global_id": "gid://gitlab/Environment/9886538",
"name": "MON-B-MTEST",
"state": "available",
"external_url": null,
"environment_type": null,
"name_without_type": "MON-B-MTEST",
"last_deployment": {
"id": 267013192,
"iid": 20968,
"sha": "1bb7df820e99337e711cc6b1afcf93b6ab14e67f",
"ref": {
"name": "master",
"ref_path": "/shinya.maeda/pipeline-playground/-/tree/master"
},
"status": "success",
"created_at": "2022-03-29T02:50:24.650Z",
"deployed_at": "2022-03-29T02:50:37.605Z",
"tag": false,
"last?": true,
"is_last": true,
"tier_in_yaml": "production",
"user": {
"id": 758045,
"username": "shinya.maeda",
"name": "Shinya Maeda",
"state": "active",
"avatar_url": "https://gitlab.com/uploads/-/system/user/avatar/758045/avatar.png",
"web_url": "https://gitlab.com/shinya.maeda",
"show_status": false,
"path": "/shinya.maeda"
},
"deployable": {
"id": 2261915618,
"name": "mon-b-mtest",
"started": true,
"started_at": "2022-03-29T02:50:25.018Z",
"complete": true,
"archived": false,
"build_path": "/shinya.maeda/pipeline-playground/-/jobs/2261915618",
"retry_path": "/shinya.maeda/pipeline-playground/-/jobs/2261915618/retry",
"playable": false,
"scheduled": false,
"created_at": "2022-03-29T02:50:24.494Z",
"queued_at": "2022-03-29T02:50:24.789Z",
"queued_duration": 0.228384,
"updated_at": "2022-03-29T02:50:37.522Z",
"status": {
"icon": "status_success",
"text": "passed",
"label": "passed",
"group": "success",
"tooltip": "passed",
"has_details": true,
"details_path": "/shinya.maeda/pipeline-playground/-/jobs/2261915618",
"illustration": {
"image": "/assets/illustrations/skipped-job_empty-29a8a37d8a61d1b6f68cf3484f9024e53cd6eb95e28eae3554f8011a1146bf27.svg",
"size": "svg-430",
"title": "This job does not have a trace."
},
"favicon": "/assets/ci_favicons/favicon_status_success-8451333011eee8ce9f2ab25dc487fe24a8758c694827a582f17f42b0a90446a2.png",
"action": {
"icon": "retry",
"title": "Retry",
"path": "/shinya.maeda/pipeline-playground/-/jobs/2261915618/retry",
"method": "post",
"button_title": "Retry this job"
}
}
},
"commit": {
"id": "1bb7df820e99337e711cc6b1afcf93b6ab14e67f",
"short_id": "1bb7df82",
"created_at": "2022-03-29T02:50:23.000+00:00",
"parent_ids": ["e0f08477d63c066b9f6a3e4d1d945b73a86dd2cf"],
"title": "Update .gitlab-ci.yml",
"message": "Update .gitlab-ci.yml",
"author_name": "Shinya Maeda",
"author_email": "shinya@gitlab.com",
"authored_date": "2022-03-29T02:50:23.000+00:00",
"committer_name": "Shinya Maeda",
"committer_email": "shinya@gitlab.com",
"committed_date": "2022-03-29T02:50:23.000+00:00",
"trailers": {},
"web_url": "https://gitlab.com/shinya.maeda/pipeline-playground/-/commit/1bb7df820e99337e711cc6b1afcf93b6ab14e67f",
"author": {
"id": 758045,
"username": "shinya.maeda",
"name": "Shinya Maeda",
"state": "active",
"avatar_url": "https://gitlab.com/uploads/-/system/user/avatar/758045/avatar.png",
"web_url": "https://gitlab.com/shinya.maeda",
"show_status": false,
"path": "/shinya.maeda"
},
"author_gravatar_url": "https://secure.gravatar.com/avatar/d99019d49e480c8654156065b29eeb6f?s=80\u0026d=identicon",
"commit_url": "https://gitlab.com/shinya.maeda/pipeline-playground/-/commit/1bb7df820e99337e711cc6b1afcf93b6ab14e67f",
"commit_path": "/shinya.maeda/pipeline-playground/-/commit/1bb7df820e99337e711cc6b1afcf93b6ab14e67f"
},
"manual_actions": [],
"scheduled_actions": [],
"cluster": null,
"pending_approval_count": 0,
"approvals": [],
"can_approve_deployment": true
},
"has_stop_action": false,
"rollout_status": null,
"tier": "production",
"environment_path": "/shinya.maeda/pipeline-playground/-/environments/9886538",
"stop_path": "/shinya.maeda/pipeline-playground/-/environments/9886538/stop",
"cancel_auto_stop_path": "/shinya.maeda/pipeline-playground/-/environments/9886538/cancel_auto_stop",
"delete_path": "/api/v4/projects/19827008/environments/9886538",
"folder_path": "/shinya.maeda/pipeline-playground/-/environments/folders/MON-B-MTEST",
"created_at": "2022-03-29T02:50:24.448Z",
"updated_at": "2022-03-29T02:50:24.448Z",
"can_stop": true,
"can_delete": false,
"has_opened_alert": false,
"required_approval_count": 0
}
},
{
"name": "awesome-app",
"size": 1,
"latest": {
"id": 4547156,
"global_id": "gid://gitlab/Environment/4547156",
"name": "awesome-app",
"state": "available",
"external_url": null,
"environment_type": null,
"name_without_type": "awesome-app",
"last_deployment": {
"id": 139373720,
"iid": 134,
"sha": "10b99ff95171c0eef120ca1b092b4b4f34d4bef4",
"ref": {
"name": "master",
"ref_path": "/shinya.maeda/pipeline-playground/-/tree/master"
},
"status": "success",
"created_at": "2021-03-22T07:10:12.336Z",
"deployed_at": "2021-03-22T07:10:53.076Z",
"tag": false,
"last?": true,
"is_last": true,
"tier_in_yaml": "production",
"user": {
"id": 758045,
"username": "shinya.maeda",
"name": "Shinya Maeda",
"state": "active",
"avatar_url": "https://gitlab.com/uploads/-/system/user/avatar/758045/avatar.png",
"web_url": "https://gitlab.com/shinya.maeda",
"show_status": false,
"path": "/shinya.maeda"
},
"deployable": {
"id": 1116347269,
"name": "deploy",
"started": true,
"started_at": "2021-03-22T07:10:14.578Z",
"complete": true,
"archived": false,
"build_path": "/shinya.maeda/pipeline-playground/-/jobs/1116347269",
"retry_path": "/shinya.maeda/pipeline-playground/-/jobs/1116347269/retry",
"playable": false,
"scheduled": false,
"created_at": "2021-03-22T07:10:12.319Z",
"queued_at": "2021-03-22T07:10:12.382Z",
"queued_duration": 2.196059,
"updated_at": "2021-03-22T07:10:53.065Z",
"status": {
"icon": "status_success",
"text": "passed",
"label": "passed",
"group": "success",
"tooltip": "passed",
"has_details": true,
"details_path": "/shinya.maeda/pipeline-playground/-/jobs/1116347269",
"illustration": {
"image": "/assets/illustrations/skipped-job_empty-29a8a37d8a61d1b6f68cf3484f9024e53cd6eb95e28eae3554f8011a1146bf27.svg",
"size": "svg-430",
"title": "This job does not have a trace."
},
"favicon": "/assets/ci_favicons/favicon_status_success-8451333011eee8ce9f2ab25dc487fe24a8758c694827a582f17f42b0a90446a2.png",
"action": {
"icon": "retry",
"title": "Retry",
"path": "/shinya.maeda/pipeline-playground/-/jobs/1116347269/retry",
"method": "post",
"button_title": "Retry this job"
}
}
},
"commit": {
"id": "10b99ff95171c0eef120ca1b092b4b4f34d4bef4",
"short_id": "10b99ff9",
"created_at": "2021-03-12T08:41:59.000+00:00",
"parent_ids": ["7e7ba0009e30b097e7c9f749856fa051f9735cea"],
"title": "Update .gitlab-ci.yml",
"message": "Update .gitlab-ci.yml",
"author_name": "Shinya Maeda",
"author_email": "shinya@gitlab.com",
"authored_date": "2021-03-12T08:41:59.000+00:00",
"committer_name": "Shinya Maeda",
"committer_email": "shinya@gitlab.com",
"committed_date": "2021-03-12T08:41:59.000+00:00",
"trailers": {},
"web_url": "https://gitlab.com/shinya.maeda/pipeline-playground/-/commit/10b99ff95171c0eef120ca1b092b4b4f34d4bef4",
"author": {
"id": 758045,
"username": "shinya.maeda",
"name": "Shinya Maeda",
"state": "active",
"avatar_url": "https://gitlab.com/uploads/-/system/user/avatar/758045/avatar.png",
"web_url": "https://gitlab.com/shinya.maeda",
"show_status": false,
"path": "/shinya.maeda"
},
"author_gravatar_url": "https://secure.gravatar.com/avatar/d99019d49e480c8654156065b29eeb6f?s=80\u0026d=identicon",
"commit_url": "https://gitlab.com/shinya.maeda/pipeline-playground/-/commit/10b99ff95171c0eef120ca1b092b4b4f34d4bef4",
"commit_path": "/shinya.maeda/pipeline-playground/-/commit/10b99ff95171c0eef120ca1b092b4b4f34d4bef4"
},
"manual_actions": [],
"scheduled_actions": [],
"cluster": null,
"pending_approval_count": 0,
"approvals": [],
"can_approve_deployment": true
},
"has_stop_action": false,
"rollout_status": null,
"tier": "production",
"environment_path": "/shinya.maeda/pipeline-playground/-/environments/4547156",
"stop_path": "/shinya.maeda/pipeline-playground/-/environments/4547156/stop",
"cancel_auto_stop_path": "/shinya.maeda/pipeline-playground/-/environments/4547156/cancel_auto_stop",
"delete_path": "/api/v4/projects/19827008/environments/4547156",
"folder_path": "/shinya.maeda/pipeline-playground/-/environments/folders/awesome-app",
"created_at": "2021-03-12T08:40:42.044Z",
"updated_at": "2021-03-12T08:43:01.254Z",
"can_stop": true,
"can_delete": false,
"has_opened_alert": false,
"required_approval_count": 0
}
},
{
"name": "aws",
"size": 1,
"latest": {
"id": 7682066,
"global_id": "gid://gitlab/Environment/7682066",
"name": "aws/production",
"state": "available",
"external_url": null,
"environment_type": "aws",
"name_without_type": "production",
"last_deployment": {
"id": 207813865,
"iid": 6460,
"sha": "2af23548e8bc73af6437efffc01d0891841e793e",
"ref": {
"name": "master",
"ref_path": "/shinya.maeda/pipeline-playground/-/tree/master"
},
"status": "success",
"created_at": "2021-10-27T02:40:06.779Z",
"deployed_at": "2021-10-27T02:40:22.079Z",
"tag": false,
"last?": true,
"is_last": true,
"tier_in_yaml": null,
"user": {
"id": 758045,
"username": "shinya.maeda",
"name": "Shinya Maeda",
"state": "active",
"avatar_url": "https://gitlab.com/uploads/-/system/user/avatar/758045/avatar.png",
"web_url": "https://gitlab.com/shinya.maeda",
"show_status": false,
"path": "/shinya.maeda"
},
"deployable": {
"id": 1718871456,
"name": "production",
"started": true,
"started_at": "2021-10-27T02:40:09.295Z",
"complete": true,
"archived": false,
"build_path": "/shinya.maeda/pipeline-playground/-/jobs/1718871456",
"retry_path": "/shinya.maeda/pipeline-playground/-/jobs/1718871456/retry",
"playable": false,
"scheduled": false,
"created_at": "2021-10-27T02:40:06.760Z",
"queued_at": "2021-10-27T02:40:06.917Z",
"queued_duration": 2.377813,
"updated_at": "2021-10-27T02:40:22.051Z",
"status": {
"icon": "status_success",
"text": "passed",
"label": "passed",
"group": "success",
"tooltip": "passed",
"has_details": true,
"details_path": "/shinya.maeda/pipeline-playground/-/jobs/1718871456",
"illustration": {
"image": "/assets/illustrations/skipped-job_empty-29a8a37d8a61d1b6f68cf3484f9024e53cd6eb95e28eae3554f8011a1146bf27.svg",
"size": "svg-430",
"title": "This job does not have a trace."
},
"favicon": "/assets/ci_favicons/favicon_status_success-8451333011eee8ce9f2ab25dc487fe24a8758c694827a582f17f42b0a90446a2.png",
"action": {
"icon": "retry",
"title": "Retry",
"path": "/shinya.maeda/pipeline-playground/-/jobs/1718871456/retry",
"method": "post",
"button_title": "Retry this job"
}
}
},
"commit": {
"id": "2af23548e8bc73af6437efffc01d0891841e793e",
"short_id": "2af23548",
"created_at": "2021-10-14T08:04:18.000+00:00",
"parent_ids": ["d0a590065e6b67c32f5b1203eacd7a890d96fbd8"],
"title": "Update .gitlab-ci.yml",
"message": "Update .gitlab-ci.yml",
"author_name": "Shinya Maeda",
"author_email": "shinya@gitlab.com",
"authored_date": "2021-10-14T08:04:18.000+00:00",
"committer_name": "Shinya Maeda",
"committer_email": "shinya@gitlab.com",
"committed_date": "2021-10-14T08:04:18.000+00:00",
"trailers": {},
"web_url": "https://gitlab.com/shinya.maeda/pipeline-playground/-/commit/2af23548e8bc73af6437efffc01d0891841e793e",
"author": {
"id": 758045,
"username": "shinya.maeda",
"name": "Shinya Maeda",
"state": "active",
"avatar_url": "https://gitlab.com/uploads/-/system/user/avatar/758045/avatar.png",
"web_url": "https://gitlab.com/shinya.maeda",
"show_status": false,
"path": "/shinya.maeda"
},
"author_gravatar_url": "https://secure.gravatar.com/avatar/d99019d49e480c8654156065b29eeb6f?s=80\u0026d=identicon",
"commit_url": "https://gitlab.com/shinya.maeda/pipeline-playground/-/commit/2af23548e8bc73af6437efffc01d0891841e793e",
"commit_path": "/shinya.maeda/pipeline-playground/-/commit/2af23548e8bc73af6437efffc01d0891841e793e"
},
"manual_actions": [],
"scheduled_actions": [],
"cluster": null,
"pending_approval_count": 0,
"approvals": [],
"can_approve_deployment": true
},
"has_stop_action": false,
"rollout_status": null,
"tier": "production",
"environment_path": "/shinya.maeda/pipeline-playground/-/environments/7682066",
"stop_path": "/shinya.maeda/pipeline-playground/-/environments/7682066/stop",
"cancel_auto_stop_path": "/shinya.maeda/pipeline-playground/-/environments/7682066/cancel_auto_stop",
"delete_path": "/api/v4/projects/19827008/environments/7682066",
"folder_path": "/shinya.maeda/pipeline-playground/-/environments/folders/aws",
"created_at": "2021-10-14T08:04:20.148Z",
"updated_at": "2021-10-14T08:04:20.148Z",
"can_stop": true,
"can_delete": false,
"has_opened_alert": false,
"required_approval_count": 0
}
},
{
"name": "dast-default",
"size": 1,
"latest": {
"id": 4704468,
"global_id": "gid://gitlab/Environment/4704468",
"name": "dast-default",
"state": "available",
"external_url": null,
"environment_type": null,
"name_without_type": "dast-default",
"last_deployment": null,
"has_stop_action": false,
"rollout_status": null,
"tier": "other",
"environment_path": "/shinya.maeda/pipeline-playground/-/environments/4704468",
"stop_path": "/shinya.maeda/pipeline-playground/-/environments/4704468/stop",
"cancel_auto_stop_path": "/shinya.maeda/pipeline-playground/-/environments/4704468/cancel_auto_stop",
"delete_path": "/api/v4/projects/19827008/environments/4704468",
"folder_path": "/shinya.maeda/pipeline-playground/-/environments/folders/dast-default",
"created_at": "2021-03-24T01:56:23.563Z",
"updated_at": "2021-03-24T01:56:23.563Z",
"can_stop": true,
"can_delete": false,
"has_opened_alert": false,
"required_approval_count": 0
}
},
{
"name": "development",
"size": 1,
"latest": {
"id": 7852740,
"global_id": "gid://gitlab/Environment/7852740",
"name": "development",
"state": "available",
"external_url": null,
"environment_type": null,
"name_without_type": "development",
"last_deployment": {
"id": 207886367,
"iid": 6586,
"sha": "866e49fb8981a1317b2bdab22e5828debbaf4421",
"ref": {
"name": "master",
"ref_path": "/shinya.maeda/pipeline-playground/-/tree/master"
},
"status": "success",
"created_at": "2021-10-27T07:50:10.239Z",
"deployed_at": "2021-10-27T07:50:24.750Z",
"tag": false,
"last?": true,
"is_last": true,
"tier_in_yaml": null,
"user": {
"id": 758045,
"username": "shinya.maeda",
"name": "Shinya Maeda",
"state": "active",
"avatar_url": "https://gitlab.com/uploads/-/system/user/avatar/758045/avatar.png",
"web_url": "https://gitlab.com/shinya.maeda",
"show_status": false,
"path": "/shinya.maeda"
},
"deployable": {
"id": 1719533675,
"name": "deploy-2",
"started": true,
"started_at": "2021-10-27T07:50:11.057Z",
"complete": true,
"archived": false,
"build_path": "/shinya.maeda/pipeline-playground/-/jobs/1719533675",
"retry_path": "/shinya.maeda/pipeline-playground/-/jobs/1719533675/retry",
"playable": false,
"scheduled": false,
"created_at": "2021-10-27T07:50:10.228Z",
"queued_at": "2021-10-27T07:50:10.546Z",
"queued_duration": 0.510991,
"updated_at": "2021-10-27T07:50:24.722Z",
"status": {
"icon": "status_success",
"text": "passed",
"label": "passed",
"group": "success",
"tooltip": "passed",
"has_details": true,
"details_path": "/shinya.maeda/pipeline-playground/-/jobs/1719533675",
"illustration": {
"image": "/assets/illustrations/skipped-job_empty-29a8a37d8a61d1b6f68cf3484f9024e53cd6eb95e28eae3554f8011a1146bf27.svg",
"size": "svg-430",
"title": "This job does not have a trace."
},
"favicon": "/assets/ci_favicons/favicon_status_success-8451333011eee8ce9f2ab25dc487fe24a8758c694827a582f17f42b0a90446a2.png",
"action": {
"icon": "retry",
"title": "Retry",
"path": "/shinya.maeda/pipeline-playground/-/jobs/1719533675/retry",
"method": "post",
"button_title": "Retry this job"
}
}
},
"commit": {
"id": "866e49fb8981a1317b2bdab22e5828debbaf4421",
"short_id": "866e49fb",
"created_at": "2021-10-27T02:43:26.000+00:00",
"parent_ids": ["2af23548e8bc73af6437efffc01d0891841e793e"],
"title": "Update .gitlab-ci.yml",
"message": "Update .gitlab-ci.yml",
"author_name": "Shinya Maeda",
"author_email": "shinya@gitlab.com",
"authored_date": "2021-10-27T02:43:26.000+00:00",
"committer_name": "Shinya Maeda",
"committer_email": "shinya@gitlab.com",
"committed_date": "2021-10-27T02:43:26.000+00:00",
"trailers": {},
"web_url": "https://gitlab.com/shinya.maeda/pipeline-playground/-/commit/866e49fb8981a1317b2bdab22e5828debbaf4421",
"author": {
"id": 758045,
"username": "shinya.maeda",
"name": "Shinya Maeda",
"state": "active",
"avatar_url": "https://gitlab.com/uploads/-/system/user/avatar/758045/avatar.png",
"web_url": "https://gitlab.com/shinya.maeda",
"show_status": false,
"path": "/shinya.maeda"
},
"author_gravatar_url": "https://secure.gravatar.com/avatar/d99019d49e480c8654156065b29eeb6f?s=80\u0026d=identicon",
"commit_url": "https://gitlab.com/shinya.maeda/pipeline-playground/-/commit/866e49fb8981a1317b2bdab22e5828debbaf4421",
"commit_path": "/shinya.maeda/pipeline-playground/-/commit/866e49fb8981a1317b2bdab22e5828debbaf4421"
},
"manual_actions": [],
"scheduled_actions": [],
"cluster": null,
"pending_approval_count": 0,
"approvals": [],
"can_approve_deployment": true
},
"has_stop_action": false,
"rollout_status": null,
"tier": "development",
"environment_path": "/shinya.maeda/pipeline-playground/-/environments/7852740",
"stop_path": "/shinya.maeda/pipeline-playground/-/environments/7852740/stop",
"cancel_auto_stop_path": "/shinya.maeda/pipeline-playground/-/environments/7852740/cancel_auto_stop",
"delete_path": "/api/v4/projects/19827008/environments/7852740",
"folder_path": "/shinya.maeda/pipeline-playground/-/environments/folders/development",
"created_at": "2021-10-27T02:43:28.071Z",
"updated_at": "2021-10-27T02:43:28.071Z",
"can_stop": true,
"can_delete": false,
"has_opened_alert": false,
"required_approval_count": 0
}
},
{
"name": "my_env-1",
"size": 1,
"latest": {
"id": 10454954,
"global_id": "gid://gitlab/Environment/10454954",
"name": "my_env-1",
"state": "available",
"external_url": null,
"environment_type": null,
"name_without_type": "my_env-1",
"last_deployment": null,
"has_stop_action": false,
"rollout_status": null,
"tier": "other",
"environment_path": "/shinya.maeda/pipeline-playground/-/environments/10454954",
"stop_path": "/shinya.maeda/pipeline-playground/-/environments/10454954/stop",
"cancel_auto_stop_path": "/shinya.maeda/pipeline-playground/-/environments/10454954/cancel_auto_stop",
"delete_path": "/api/v4/projects/19827008/environments/10454954",
"folder_path": "/shinya.maeda/pipeline-playground/-/environments/folders/my_env-1",
"created_at": "2022-05-11T02:35:30.639Z",
"updated_at": "2022-05-11T02:35:30.639Z",
"can_stop": true,
"can_delete": false,
"has_opened_alert": false,
"required_approval_count": 0
}
},
{
"name": "my_env-2",
"size": 1,
"latest": {
"id": 10454955,
"global_id": "gid://gitlab/Environment/10454955",
"name": "my_env-2",
"state": "available",
"external_url": null,
"environment_type": null,
"name_without_type": "my_env-2",
"last_deployment": null,
"has_stop_action": false,
"rollout_status": null,
"tier": "other",
"environment_path": "/shinya.maeda/pipeline-playground/-/environments/10454955",
"stop_path": "/shinya.maeda/pipeline-playground/-/environments/10454955/stop",
"cancel_auto_stop_path": "/shinya.maeda/pipeline-playground/-/environments/10454955/cancel_auto_stop",
"delete_path": "/api/v4/projects/19827008/environments/10454955",
"folder_path": "/shinya.maeda/pipeline-playground/-/environments/folders/my_env-2",
"created_at": "2022-05-11T02:35:30.660Z",
"updated_at": "2022-05-11T02:35:30.660Z",
"can_stop": true,
"can_delete": false,
"has_opened_alert": false,
"required_approval_count": 0
}
},
{
"name": "my_env-3",
"size": 1,
"latest": {
"id": 10454956,
"global_id": "gid://gitlab/Environment/10454956",
"name": "my_env-3",
"state": "available",
"external_url": null,
"environment_type": null,
"name_without_type": "my_env-3",
"last_deployment": null,
"has_stop_action": false,
"rollout_status": null,
"tier": "other",
"environment_path": "/shinya.maeda/pipeline-playground/-/environments/10454956",
"stop_path": "/shinya.maeda/pipeline-playground/-/environments/10454956/stop",
"cancel_auto_stop_path": "/shinya.maeda/pipeline-playground/-/environments/10454956/cancel_auto_stop",
"delete_path": "/api/v4/projects/19827008/environments/10454956",
"folder_path": "/shinya.maeda/pipeline-playground/-/environments/folders/my_env-3",
"created_at": "2022-05-11T02:35:30.680Z",
"updated_at": "2022-05-11T02:35:30.680Z",
"can_stop": true,
"can_delete": false,
"has_opened_alert": false,
"required_approval_count": 0
}
},
{
"name": "new-env",
"size": 1,
"latest": {
"id": 8192613,
"global_id": "gid://gitlab/Environment/8192613",
"name": "new-env",
"state": "available",
"external_url": null,
"environment_type": null,
"name_without_type": "new-env",
"last_deployment": null,
"has_stop_action": false,
"rollout_status": null,
"tier": "other",
"environment_path": "/shinya.maeda/pipeline-playground/-/environments/8192613",
"stop_path": "/shinya.maeda/pipeline-playground/-/environments/8192613/stop",
"cancel_auto_stop_path": "/shinya.maeda/pipeline-playground/-/environments/8192613/cancel_auto_stop",
"delete_path": "/api/v4/projects/19827008/environments/8192613",
"folder_path": "/shinya.maeda/pipeline-playground/-/environments/folders/new-env",
"created_at": "2021-11-22T06:12:54.499Z",
"updated_at": "2021-11-22T06:12:54.499Z",
"can_stop": true,
"can_delete": false,
"has_opened_alert": false,
"required_approval_count": 0
}
},
{
"name": "prd",
"size": 1,
"latest": {
"id": 3971999,
"global_id": "gid://gitlab/Environment/3971999",
"name": "prd",
"state": "available",
"external_url": null,
"environment_type": null,
"name_without_type": "prd",
"last_deployment": {
"id": 260177164,
"iid": 20966,
"sha": "e0f08477d63c066b9f6a3e4d1d945b73a86dd2cf",
"ref": {
"name": "master",
"ref_path": "/shinya.maeda/pipeline-playground/-/tree/master"
},
"status": "success",
"created_at": "2022-03-14T09:36:09.892Z",
"deployed_at": "2022-03-14T09:38:05.243Z",
"tag": false,
"last?": true,
"is_last": true,
"tier_in_yaml": null,
"user": {
"id": 758045,
"username": "shinya.maeda",
"name": "Shinya Maeda",
"state": "active",
"avatar_url": "https://gitlab.com/uploads/-/system/user/avatar/758045/avatar.png",
"web_url": "https://gitlab.com/shinya.maeda",
"show_status": false,
"path": "/shinya.maeda"
},
"deployable": {
"id": 2198820400,
"name": "job",
"started": true,
"started_at": "2022-03-14T09:37:51.620Z",
"complete": true,
"archived": false,
"build_path": "/shinya.maeda/pipeline-playground/-/jobs/2198820400",
"retry_path": "/shinya.maeda/pipeline-playground/-/jobs/2198820400/retry",
"playable": false,
"scheduled": false,
"created_at": "2022-03-14T09:36:09.810Z",
"queued_at": "2022-03-14T09:37:51.522Z",
"queued_duration": 0.09822,
"updated_at": "2022-03-14T09:38:05.207Z",
"status": {
"icon": "status_success",
"text": "passed",
"label": "passed",
"group": "success",
"tooltip": "passed",
"has_details": true,
"details_path": "/shinya.maeda/pipeline-playground/-/jobs/2198820400",
"illustration": {
"image": "/assets/illustrations/skipped-job_empty-29a8a37d8a61d1b6f68cf3484f9024e53cd6eb95e28eae3554f8011a1146bf27.svg",
"size": "svg-430",
"title": "This job does not have a trace."
},
"favicon": "/assets/ci_favicons/favicon_status_success-8451333011eee8ce9f2ab25dc487fe24a8758c694827a582f17f42b0a90446a2.png",
"action": {
"icon": "retry",
"title": "Retry",
"path": "/shinya.maeda/pipeline-playground/-/jobs/2198820400/retry",
"method": "post",
"button_title": "Retry this job"
}
}
},
"commit": {
"id": "e0f08477d63c066b9f6a3e4d1d945b73a86dd2cf",
"short_id": "e0f08477",
"created_at": "2022-03-14T09:35:23.000+00:00",
"parent_ids": ["02d5d060e42b483515eaa99d0dea38ad28374ff5"],
"title": "Update .gitlab-ci.yml",
"message": "Update .gitlab-ci.yml",
"author_name": "Shinya Maeda",
"author_email": "shinya@gitlab.com",
"authored_date": "2022-03-14T09:35:23.000+00:00",
"committer_name": "Shinya Maeda",
"committer_email": "shinya@gitlab.com",
"committed_date": "2022-03-14T09:35:23.000+00:00",
"trailers": {},
"web_url": "https://gitlab.com/shinya.maeda/pipeline-playground/-/commit/e0f08477d63c066b9f6a3e4d1d945b73a86dd2cf",
"author": {
"id": 758045,
"username": "shinya.maeda",
"name": "Shinya Maeda",
"state": "active",
"avatar_url": "https://gitlab.com/uploads/-/system/user/avatar/758045/avatar.png",
"web_url": "https://gitlab.com/shinya.maeda",
"show_status": false,
"path": "/shinya.maeda"
},
"author_gravatar_url": "https://secure.gravatar.com/avatar/d99019d49e480c8654156065b29eeb6f?s=80\u0026d=identicon",
"commit_url": "https://gitlab.com/shinya.maeda/pipeline-playground/-/commit/e0f08477d63c066b9f6a3e4d1d945b73a86dd2cf",
"commit_path": "/shinya.maeda/pipeline-playground/-/commit/e0f08477d63c066b9f6a3e4d1d945b73a86dd2cf"
},
"manual_actions": [],
"scheduled_actions": [],
"cluster": null,
"pending_approval_count": 0,
"approvals": [
{
"user": {
"id": 951875,
"username": "TakashiYoshida",
"name": "Takashi Yoshida",
"state": "active",
"avatar_url": "https://gitlab.com/uploads/-/system/user/avatar/951875/avatar.png",
"web_url": "https://gitlab.com/TakashiYoshida"
},
"status": "approved",
"created_at": "2022-03-14T09:37:51.481Z",
"comment": null
}
],
"can_approve_deployment": true
},
"has_stop_action": false,
"rollout_status": null,
"tier": "production",
"upcoming_deployment": {
"id": 260178209,
"iid": 20967,
"sha": "e0f08477d63c066b9f6a3e4d1d945b73a86dd2cf",
"ref": {
"name": "master",
"ref_path": "/shinya.maeda/pipeline-playground/-/tree/master"
},
"status": "blocked",
"created_at": "2022-03-14T09:38:58.996Z",
"deployed_at": null,
"tag": false,
"last?": false,
"is_last": false,
"tier_in_yaml": null,
"user": {
"id": 758045,
"username": "shinya.maeda",
"name": "Shinya Maeda",
"state": "active",
"avatar_url": "https://gitlab.com/uploads/-/system/user/avatar/758045/avatar.png",
"web_url": "https://gitlab.com/shinya.maeda",
"show_status": false,
"path": "/shinya.maeda"
},
"deployable": {
"id": 2198832584,
"name": "job",
"started": false,
"complete": false,
"archived": false,
"build_path": "/shinya.maeda/pipeline-playground/-/jobs/2198832584",
"playable": false,
"scheduled": false,
"created_at": "2022-03-14T09:38:58.901Z",
"queued_at": null,
"queued_duration": null,
"updated_at": "2022-03-14T09:38:59.231Z",
"status": {
"icon": "status_manual",
"text": "manual",
"label": "manual action",
"group": "manual",
"tooltip": "manual action",
"has_details": true,
"details_path": "/shinya.maeda/pipeline-playground/-/jobs/2198832584",
"illustration": {
"image": "/assets/illustrations/manual_action-c55aee2c5f9ebe9f72751480af8bb307be1a6f35552f344cc6d1bf979d3422f6.svg",
"size": "svg-394",
"title": "Waiting for approval",
"content": "This job deploys to the protected environment \"prd\" which requires approvals."
},
"favicon": "/assets/ci_favicons/favicon_status_manual-829a0804612cef47d9efc1618dba38325483657c847dba0546c3b9f0295bb36c.png",
"action": {
"icon": null,
"title": null,
"path": "/shinya.maeda/pipeline-playground/-/environments",
"method": "get",
"button_title": "Go to environments page to approve or reject"
}
}
},
"commit": {
"id": "e0f08477d63c066b9f6a3e4d1d945b73a86dd2cf",
"short_id": "e0f08477",
"created_at": "2022-03-14T09:35:23.000+00:00",
"parent_ids": ["02d5d060e42b483515eaa99d0dea38ad28374ff5"],
"title": "Update .gitlab-ci.yml",
"message": "Update .gitlab-ci.yml",
"author_name": "Shinya Maeda",
"author_email": "shinya@gitlab.com",
"authored_date": "2022-03-14T09:35:23.000+00:00",
"committer_name": "Shinya Maeda",
"committer_email": "shinya@gitlab.com",
"committed_date": "2022-03-14T09:35:23.000+00:00",
"trailers": {},
"web_url": "https://gitlab.com/shinya.maeda/pipeline-playground/-/commit/e0f08477d63c066b9f6a3e4d1d945b73a86dd2cf",
"author": {
"id": 758045,
"username": "shinya.maeda",
"name": "Shinya Maeda",
"state": "active",
"avatar_url": "https://gitlab.com/uploads/-/system/user/avatar/758045/avatar.png",
"web_url": "https://gitlab.com/shinya.maeda",
"show_status": false,
"path": "/shinya.maeda"
},
"author_gravatar_url": "https://secure.gravatar.com/avatar/d99019d49e480c8654156065b29eeb6f?s=80\u0026d=identicon",
"commit_url": "https://gitlab.com/shinya.maeda/pipeline-playground/-/commit/e0f08477d63c066b9f6a3e4d1d945b73a86dd2cf",
"commit_path": "/shinya.maeda/pipeline-playground/-/commit/e0f08477d63c066b9f6a3e4d1d945b73a86dd2cf"
},
"pending_approval_count": 0,
"approvals": [],
"can_approve_deployment": true
},
"environment_path": "/shinya.maeda/pipeline-playground/-/environments/3971999",
"stop_path": "/shinya.maeda/pipeline-playground/-/environments/3971999/stop",
"cancel_auto_stop_path": "/shinya.maeda/pipeline-playground/-/environments/3971999/cancel_auto_stop",
"delete_path": "/api/v4/projects/19827008/environments/3971999",
"folder_path": "/shinya.maeda/pipeline-playground/-/environments/folders/prd",
"created_at": "2021-01-25T03:10:05.257Z",
"updated_at": "2022-03-14T09:35:41.106Z",
"can_stop": true,
"can_delete": false,
"has_opened_alert": false,
"required_approval_count": 0
}
},
{
"name": "preprod",
"size": 1,
"latest": {
"id": 11214077,
"global_id": "gid://gitlab/Environment/11214077",
"name": "preprod",
"state": "available",
"external_url": null,
"environment_type": null,
"name_without_type": "preprod",
"last_deployment": {
"id": 323606721,
"iid": 21011,
"sha": "8eac3216d4b81db041fc125418c6f7327ae0693e",
"ref": {
"name": "master",
"ref_path": "/shinya.maeda/pipeline-playground/-/tree/master"
},
"status": "success",
"created_at": "2022-07-28T09:15:32.848Z",
"deployed_at": "2022-07-28T09:15:56.405Z",
"tag": false,
"last?": true,
"is_last": true,
"tier_in_yaml": null,
"user": {
"id": 758045,
"username": "shinya.maeda",
"name": "Shinya Maeda",
"state": "active",
"avatar_url": "https://gitlab.com/uploads/-/system/user/avatar/758045/avatar.png",
"web_url": "https://gitlab.com/shinya.maeda",
"show_status": false,
"path": "/shinya.maeda"
},
"deployable": {
"id": 2782687680,
"name": "deploy_swarm_preprod",
"started": true,
"started_at": "2022-07-28T09:15:44.993Z",
"complete": true,
"archived": false,
"build_path": "/shinya.maeda/pipeline-playground/-/jobs/2782687680",
"retry_path": "/shinya.maeda/pipeline-playground/-/jobs/2782687680/retry",
"play_path": "/shinya.maeda/pipeline-playground/-/jobs/2782687680/play",
"playable": true,
"scheduled": false,
"created_at": "2022-07-28T09:15:32.614Z",
"queued_at": "2022-07-28T09:15:44.846Z",
"queued_duration": 0.146329,
"updated_at": "2022-07-28T09:15:56.361Z",
"status": {
"icon": "status_success",
"text": "passed",
"label": "manual play action",
"group": "success",
"tooltip": "passed",
"has_details": true,
"details_path": "/shinya.maeda/pipeline-playground/-/jobs/2782687680",
"illustration": {
"image": "/assets/illustrations/manual_action-c55aee2c5f9ebe9f72751480af8bb307be1a6f35552f344cc6d1bf979d3422f6.svg",
"size": "svg-394",
"title": "This job requires a manual action",
"content": "This job requires manual intervention to start. Before starting this job, you can add variables below for last-minute configuration changes."
},
"favicon": "/assets/ci_favicons/favicon_status_success-8451333011eee8ce9f2ab25dc487fe24a8758c694827a582f17f42b0a90446a2.png",
"action": {
"icon": "play",
"title": "Play",
"path": "/shinya.maeda/pipeline-playground/-/jobs/2782687680/play",
"method": "post",
"button_title": "Trigger this manual action"
}
}
},
"commit": {
"id": "8eac3216d4b81db041fc125418c6f7327ae0693e",
"short_id": "8eac3216",
"created_at": "2022-07-28T09:15:31.000+00:00",
"parent_ids": ["b83db20e7174a27323a94928c78b83e2a556116f"],
"title": "Update .gitlab-ci.yml",
"message": "Update .gitlab-ci.yml",
"author_name": "Shinya Maeda",
"author_email": "shinya@gitlab.com",
"authored_date": "2022-07-28T09:15:31.000+00:00",
"committer_name": "Shinya Maeda",
"committer_email": "shinya@gitlab.com",
"committed_date": "2022-07-28T09:15:31.000+00:00",
"trailers": {},
"web_url": "https://gitlab.com/shinya.maeda/pipeline-playground/-/commit/8eac3216d4b81db041fc125418c6f7327ae0693e",
"author": {
"id": 758045,
"username": "shinya.maeda",
"name": "Shinya Maeda",
"state": "active",
"avatar_url": "https://gitlab.com/uploads/-/system/user/avatar/758045/avatar.png",
"web_url": "https://gitlab.com/shinya.maeda",
"show_status": false,
"path": "/shinya.maeda"
},
"author_gravatar_url": "https://secure.gravatar.com/avatar/d99019d49e480c8654156065b29eeb6f?s=80\u0026d=identicon",
"commit_url": "https://gitlab.com/shinya.maeda/pipeline-playground/-/commit/8eac3216d4b81db041fc125418c6f7327ae0693e",
"commit_path": "/shinya.maeda/pipeline-playground/-/commit/8eac3216d4b81db041fc125418c6f7327ae0693e"
},
"manual_actions": [
{
"id": 2782687680,
"name": "deploy_swarm_preprod",
"started": true,
"started_at": "2022-07-28T09:15:44.993Z",
"complete": true,
"archived": false,
"build_path": "/shinya.maeda/pipeline-playground/-/jobs/2782687680",
"retry_path": "/shinya.maeda/pipeline-playground/-/jobs/2782687680/retry",
"play_path": "/shinya.maeda/pipeline-playground/-/jobs/2782687680/play",
"playable": true,
"scheduled": false,
"created_at": "2022-07-28T09:15:32.614Z",
"queued_at": "2022-07-28T09:15:44.846Z",
"queued_duration": 0.146329,
"updated_at": "2022-07-28T09:15:56.361Z",
"status": {
"icon": "status_success",
"text": "passed",
"label": "manual play action",
"group": "success",
"tooltip": "passed",
"has_details": true,
"details_path": "/shinya.maeda/pipeline-playground/-/jobs/2782687680",
"illustration": {
"image": "/assets/illustrations/manual_action-c55aee2c5f9ebe9f72751480af8bb307be1a6f35552f344cc6d1bf979d3422f6.svg",
"size": "svg-394",
"title": "This job requires a manual action",
"content": "This job requires manual intervention to start. Before starting this job, you can add variables below for last-minute configuration changes."
},
"favicon": "/assets/ci_favicons/favicon_status_success-8451333011eee8ce9f2ab25dc487fe24a8758c694827a582f17f42b0a90446a2.png",
"action": {
"icon": "play",
"title": "Play",
"path": "/shinya.maeda/pipeline-playground/-/jobs/2782687680/play",
"method": "post",
"button_title": "Trigger this manual action"
}
}
}
],
"scheduled_actions": [],
"playable_build": {
"retry_path": "/shinya.maeda/pipeline-playground/-/jobs/2782687680/retry",
"play_path": "/shinya.maeda/pipeline-playground/-/jobs/2782687680/play"
},
"cluster": null,
"pending_approval_count": 0,
"approvals": [],
"can_approve_deployment": true
},
"has_stop_action": false,
"rollout_status": null,
"tier": "staging",
"environment_path": "/shinya.maeda/pipeline-playground/-/environments/11214077",
"stop_path": "/shinya.maeda/pipeline-playground/-/environments/11214077/stop",
"cancel_auto_stop_path": "/shinya.maeda/pipeline-playground/-/environments/11214077/cancel_auto_stop",
"delete_path": "/api/v4/projects/19827008/environments/11214077",
"folder_path": "/shinya.maeda/pipeline-playground/-/environments/folders/preprod",
"created_at": "2022-07-28T09:15:32.569Z",
"updated_at": "2022-07-28T09:15:32.569Z",
"can_stop": true,
"can_delete": false,
"has_opened_alert": false,
"required_approval_count": 0
}
},
{
"name": "prod",
"size": 1,
"latest": {
"id": 11158699,
"global_id": "gid://gitlab/Environment/11158699",
"name": "prod",
"state": "available",
"external_url": "example.com",
"environment_type": null,
"name_without_type": "prod",
"last_deployment": {
"id": 330848311,
"iid": 21016,
"sha": "46b6888eefcf589844366034b3195db5e24d85ff",
"ref": {
"name": "fe-13513452",
"ref_path": "/shinya.maeda/pipeline-playground/-/tree/fe-13513452"
},
"status": "success",
"created_at": "2022-08-12T05:12:48.071Z",
"deployed_at": "2022-08-12T05:13:00.693Z",
"tag": false,
"last?": true,
"is_last": true,
"tier_in_yaml": null,
"user": {
"id": 951875,
"username": "TakashiYoshida",
"name": "Takashi Yoshida",
"state": "active",
"avatar_url": "https://gitlab.com/uploads/-/system/user/avatar/951875/avatar.png",
"web_url": "https://gitlab.com/TakashiYoshida",
"show_status": false,
"path": "/TakashiYoshida"
},
"deployable": {
"id": 2848023914,
"name": "deploy",
"started": true,
"started_at": "2022-08-12T05:12:48.521Z",
"complete": true,
"archived": false,
"build_path": "/shinya.maeda/pipeline-playground/-/jobs/2848023914",
"retry_path": "/shinya.maeda/pipeline-playground/-/jobs/2848023914/retry",
"playable": false,
"scheduled": false,
"created_at": "2022-08-12T05:12:47.921Z",
"queued_at": "2022-08-12T05:12:48.326Z",
"queued_duration": 0.194265,
"updated_at": "2022-08-12T05:13:00.644Z",
"status": {
"icon": "status_success",
"text": "passed",
"label": "passed",
"group": "success",
"tooltip": "passed",
"has_details": true,
"details_path": "/shinya.maeda/pipeline-playground/-/jobs/2848023914",
"illustration": {
"image": "/assets/illustrations/skipped-job_empty-29a8a37d8a61d1b6f68cf3484f9024e53cd6eb95e28eae3554f8011a1146bf27.svg",
"size": "svg-430",
"title": "This job does not have a trace."
},
"favicon": "/assets/ci_favicons/favicon_status_success-8451333011eee8ce9f2ab25dc487fe24a8758c694827a582f17f42b0a90446a2.png",
"action": {
"icon": "retry",
"title": "Retry",
"path": "/shinya.maeda/pipeline-playground/-/jobs/2848023914/retry",
"method": "post",
"button_title": "Retry this job"
}
}
},
"commit": {
"id": "46b6888eefcf589844366034b3195db5e24d85ff",
"short_id": "46b6888e",
"created_at": "2022-08-12T05:12:47.000+00:00",
"parent_ids": ["6cbe6573d14509ad2689c4b5395aa3df37737810"],
"title": "Update README.md",
"message": "Update README.md",
"author_name": "Takashi Yoshida",
"author_email": "dosuken123debug1@gmail.com",
"authored_date": "2022-08-12T05:12:47.000+00:00",
"committer_name": "Takashi Yoshida",
"committer_email": "dosuken123debug1@gmail.com",
"committed_date": "2022-08-12T05:12:47.000+00:00",
"trailers": {},
"web_url": "https://gitlab.com/shinya.maeda/pipeline-playground/-/commit/46b6888eefcf589844366034b3195db5e24d85ff",
"author": {
"id": 951875,
"username": "TakashiYoshida",
"name": "Takashi Yoshida",
"state": "active",
"avatar_url": "https://gitlab.com/uploads/-/system/user/avatar/951875/avatar.png",
"web_url": "https://gitlab.com/TakashiYoshida",
"show_status": false,
"path": "/TakashiYoshida"
},
"author_gravatar_url": "https://secure.gravatar.com/avatar/affb20b6961b3f98dae3e862f97dc057?s=80\u0026d=identicon",
"commit_url": "https://gitlab.com/shinya.maeda/pipeline-playground/-/commit/46b6888eefcf589844366034b3195db5e24d85ff",
"commit_path": "/shinya.maeda/pipeline-playground/-/commit/46b6888eefcf589844366034b3195db5e24d85ff"
},
"manual_actions": [],
"scheduled_actions": [],
"cluster": null,
"pending_approval_count": 0,
"approvals": [],
"can_approve_deployment": true
},
"has_stop_action": false,
"rollout_status": null,
"tier": "production",
"environment_path": "/shinya.maeda/pipeline-playground/-/environments/11158699",
"stop_path": "/shinya.maeda/pipeline-playground/-/environments/11158699/stop",
"cancel_auto_stop_path": "/shinya.maeda/pipeline-playground/-/environments/11158699/cancel_auto_stop",
"delete_path": "/api/v4/projects/19827008/environments/11158699",
"folder_path": "/shinya.maeda/pipeline-playground/-/environments/folders/prod",
"created_at": "2022-07-22T04:42:02.094Z",
"updated_at": "2022-07-22T04:42:15.774Z",
"can_stop": true,
"can_delete": false,
"has_opened_alert": false,
"required_approval_count": 0
}
},
{
"name": "production",
"size": 1,
"latest": {
"id": 2235830,
"global_id": "gid://gitlab/Environment/2235830",
"name": "production",
"state": "available",
"external_url": "https://example.com",
"environment_type": null,
"name_without_type": "production",
"last_deployment": {
"id": 286402047,
"iid": 20992,
"sha": "b528a08ae17d2975741e1fc3dbfec47515ddf3ba",
"ref": {
"name": "release-tag-test-2",
"ref_path": "/shinya.maeda/pipeline-playground/-/tree/release-tag-test-2"
},
"status": "success",
"created_at": "2022-05-10T09:42:23.312Z",
"deployed_at": "2022-05-10T09:42:39.239Z",
"tag": true,
"last?": true,
"is_last": true,
"tier_in_yaml": null,
"user": {
"id": 758045,
"username": "shinya.maeda",
"name": "Shinya Maeda",
"state": "active",
"avatar_url": "https://gitlab.com/uploads/-/system/user/avatar/758045/avatar.png",
"web_url": "https://gitlab.com/shinya.maeda",
"show_status": false,
"path": "/shinya.maeda"
},
"deployable": {
"id": 2435419830,
"name": "deploy",
"started": true,
"started_at": "2022-05-10T09:42:23.736Z",
"complete": true,
"archived": false,
"build_path": "/shinya.maeda/pipeline-playground/-/jobs/2435419830",
"retry_path": "/shinya.maeda/pipeline-playground/-/jobs/2435419830/retry",
"playable": false,
"scheduled": false,
"created_at": "2022-05-10T09:42:23.233Z",
"queued_at": "2022-05-10T09:42:23.504Z",
"queued_duration": 0.232588,
"updated_at": "2022-05-10T09:42:39.203Z",
"status": {
"icon": "status_success",
"text": "passed",
"label": "passed",
"group": "success",
"tooltip": "passed",
"has_details": true,
"details_path": "/shinya.maeda/pipeline-playground/-/jobs/2435419830",
"illustration": {
"image": "/assets/illustrations/skipped-job_empty-29a8a37d8a61d1b6f68cf3484f9024e53cd6eb95e28eae3554f8011a1146bf27.svg",
"size": "svg-430",
"title": "This job does not have a trace."
},
"favicon": "/assets/ci_favicons/favicon_status_success-8451333011eee8ce9f2ab25dc487fe24a8758c694827a582f17f42b0a90446a2.png",
"action": {
"icon": "retry",
"title": "Retry",
"path": "/shinya.maeda/pipeline-playground/-/jobs/2435419830/retry",
"method": "post",
"button_title": "Retry this job"
}
}
},
"commit": {
"id": "b528a08ae17d2975741e1fc3dbfec47515ddf3ba",
"short_id": "b528a08a",
"created_at": "2022-04-22T09:52:30.000+00:00",
"parent_ids": ["4beb8a9bbd676cb4f80b0ccc70b1b3a7789315b0"],
"title": "Update .gitlab-ci.yml",
"message": "Update .gitlab-ci.yml",
"author_name": "Shinya Maeda",
"author_email": "shinya@gitlab.com",
"authored_date": "2022-04-22T09:52:30.000+00:00",
"committer_name": "Shinya Maeda",
"committer_email": "shinya@gitlab.com",
"committed_date": "2022-04-22T09:52:30.000+00:00",
"trailers": {},
"web_url": "https://gitlab.com/shinya.maeda/pipeline-playground/-/commit/b528a08ae17d2975741e1fc3dbfec47515ddf3ba",
"author": {
"id": 758045,
"username": "shinya.maeda",
"name": "Shinya Maeda",
"state": "active",
"avatar_url": "https://gitlab.com/uploads/-/system/user/avatar/758045/avatar.png",
"web_url": "https://gitlab.com/shinya.maeda",
"show_status": false,
"path": "/shinya.maeda"
},
"author_gravatar_url": "https://secure.gravatar.com/avatar/d99019d49e480c8654156065b29eeb6f?s=80\u0026d=identicon",
"commit_url": "https://gitlab.com/shinya.maeda/pipeline-playground/-/commit/b528a08ae17d2975741e1fc3dbfec47515ddf3ba",
"commit_path": "/shinya.maeda/pipeline-playground/-/commit/b528a08ae17d2975741e1fc3dbfec47515ddf3ba"
},
"manual_actions": [],
"scheduled_actions": [],
"cluster": null,
"pending_approval_count": 0,
"approvals": [],
"can_approve_deployment": true
},
"has_stop_action": false,
"rollout_status": null,
"tier": "production",
"upcoming_deployment": {
"id": 260175067,
"iid": 20964,
"sha": "02d5d060e42b483515eaa99d0dea38ad28374ff5",
"ref": {
"name": "master",
"ref_path": "/shinya.maeda/pipeline-playground/-/tree/master"
},
"status": "blocked",
"created_at": "2022-03-14T09:31:46.489Z",
"deployed_at": null,
"tag": false,
"last?": false,
"is_last": false,
"tier_in_yaml": null,
"user": {
"id": 758045,
"username": "shinya.maeda",
"name": "Shinya Maeda",
"state": "active",
"avatar_url": "https://gitlab.com/uploads/-/system/user/avatar/758045/avatar.png",
"web_url": "https://gitlab.com/shinya.maeda",
"show_status": false,
"path": "/shinya.maeda"
},
"deployable": {
"id": 2198800255,
"name": "job",
"started": false,
"complete": false,
"archived": false,
"build_path": "/shinya.maeda/pipeline-playground/-/jobs/2198800255",
"playable": false,
"scheduled": false,
"created_at": "2022-03-14T09:31:46.312Z",
"queued_at": null,
"queued_duration": null,
"updated_at": "2022-03-14T09:31:46.785Z",
"status": {
"icon": "status_manual",
"text": "manual",
"label": "manual action",
"group": "manual",
"tooltip": "manual action",
"has_details": true,
"details_path": "/shinya.maeda/pipeline-playground/-/jobs/2198800255",
"illustration": {
"image": "/assets/illustrations/manual_action-c55aee2c5f9ebe9f72751480af8bb307be1a6f35552f344cc6d1bf979d3422f6.svg",
"size": "svg-394",
"title": "Waiting for approval",
"content": "This job deploys to the protected environment \"production\" which requires approvals."
},
"favicon": "/assets/ci_favicons/favicon_status_manual-829a0804612cef47d9efc1618dba38325483657c847dba0546c3b9f0295bb36c.png",
"action": {
"icon": null,
"title": null,
"path": "/shinya.maeda/pipeline-playground/-/environments",
"method": "get",
"button_title": "Go to environments page to approve or reject"
}
}
},
"commit": {
"id": "02d5d060e42b483515eaa99d0dea38ad28374ff5",
"short_id": "02d5d060",
"created_at": "2022-03-14T09:31:44.000+00:00",
"parent_ids": ["872f2c05da635df9b82e8abd7432877f15a2a3fb"],
"title": "Update .gitlab-ci.yml",
"message": "Update .gitlab-ci.yml",
"author_name": "Shinya Maeda",
"author_email": "shinya@gitlab.com",
"authored_date": "2022-03-14T09:31:44.000+00:00",
"committer_name": "Shinya Maeda",
"committer_email": "shinya@gitlab.com",
"committed_date": "2022-03-14T09:31:44.000+00:00",
"trailers": {},
"web_url": "https://gitlab.com/shinya.maeda/pipeline-playground/-/commit/02d5d060e42b483515eaa99d0dea38ad28374ff5",
"author": {
"id": 758045,
"username": "shinya.maeda",
"name": "Shinya Maeda",
"state": "active",
"avatar_url": "https://gitlab.com/uploads/-/system/user/avatar/758045/avatar.png",
"web_url": "https://gitlab.com/shinya.maeda",
"show_status": false,
"path": "/shinya.maeda"
},
"author_gravatar_url": "https://secure.gravatar.com/avatar/d99019d49e480c8654156065b29eeb6f?s=80\u0026d=identicon",
"commit_url": "https://gitlab.com/shinya.maeda/pipeline-playground/-/commit/02d5d060e42b483515eaa99d0dea38ad28374ff5",
"commit_path": "/shinya.maeda/pipeline-playground/-/commit/02d5d060e42b483515eaa99d0dea38ad28374ff5"
},
"pending_approval_count": 0,
"approvals": [],
"can_approve_deployment": true
},
"environment_path": "/shinya.maeda/pipeline-playground/-/environments/2235830",
"stop_path": "/shinya.maeda/pipeline-playground/-/environments/2235830/stop",
"cancel_auto_stop_path": "/shinya.maeda/pipeline-playground/-/environments/2235830/cancel_auto_stop",
"delete_path": "/api/v4/projects/19827008/environments/2235830",
"folder_path": "/shinya.maeda/pipeline-playground/-/environments/folders/production",
"created_at": "2020-07-10T11:24:32.164Z",
"updated_at": "2021-12-08T05:33:44.031Z",
"can_stop": true,
"can_delete": false,
"has_opened_alert": false,
"required_approval_count": 0
}
},
{
"name": "production",
"size": 1,
"latest": {
"id": 7662947,
"global_id": "gid://gitlab/Environment/7662947",
"name": "production/aws",
"state": "available",
"external_url": null,
"environment_type": "production",
"name_without_type": "aws",
"last_deployment": {
"id": 207886366,
"iid": 6585,
"sha": "866e49fb8981a1317b2bdab22e5828debbaf4421",
"ref": {
"name": "master",
"ref_path": "/shinya.maeda/pipeline-playground/-/tree/master"
},
"status": "success",
"created_at": "2021-10-27T07:50:10.215Z",
"deployed_at": "2021-10-27T07:50:24.624Z",
"tag": false,
"last?": true,
"is_last": true,
"tier_in_yaml": null,
"user": {
"id": 758045,
"username": "shinya.maeda",
"name": "Shinya Maeda",
"state": "active",
"avatar_url": "https://gitlab.com/uploads/-/system/user/avatar/758045/avatar.png",
"web_url": "https://gitlab.com/shinya.maeda",
"show_status": false,
"path": "/shinya.maeda"
},
"deployable": {
"id": 1719533668,
"name": "deploy",
"started": true,
"started_at": "2021-10-27T07:50:11.073Z",
"complete": true,
"archived": false,
"build_path": "/shinya.maeda/pipeline-playground/-/jobs/1719533668",
"retry_path": "/shinya.maeda/pipeline-playground/-/jobs/1719533668/retry",
"playable": false,
"scheduled": false,
"created_at": "2021-10-27T07:50:10.205Z",
"queued_at": "2021-10-27T07:50:10.464Z",
"queued_duration": 0.608949,
"updated_at": "2021-10-27T07:50:24.562Z",
"status": {
"icon": "status_success",
"text": "passed",
"label": "passed",
"group": "success",
"tooltip": "passed",
"has_details": true,
"details_path": "/shinya.maeda/pipeline-playground/-/jobs/1719533668",
"illustration": {
"image": "/assets/illustrations/skipped-job_empty-29a8a37d8a61d1b6f68cf3484f9024e53cd6eb95e28eae3554f8011a1146bf27.svg",
"size": "svg-430",
"title": "This job does not have a trace."
},
"favicon": "/assets/ci_favicons/favicon_status_success-8451333011eee8ce9f2ab25dc487fe24a8758c694827a582f17f42b0a90446a2.png",
"action": {
"icon": "retry",
"title": "Retry",
"path": "/shinya.maeda/pipeline-playground/-/jobs/1719533668/retry",
"method": "post",
"button_title": "Retry this job"
}
}
},
"commit": {
"id": "866e49fb8981a1317b2bdab22e5828debbaf4421",
"short_id": "866e49fb",
"created_at": "2021-10-27T02:43:26.000+00:00",
"parent_ids": ["2af23548e8bc73af6437efffc01d0891841e793e"],
"title": "Update .gitlab-ci.yml",
"message": "Update .gitlab-ci.yml",
"author_name": "Shinya Maeda",
"author_email": "shinya@gitlab.com",
"authored_date": "2021-10-27T02:43:26.000+00:00",
"committer_name": "Shinya Maeda",
"committer_email": "shinya@gitlab.com",
"committed_date": "2021-10-27T02:43:26.000+00:00",
"trailers": {},
"web_url": "https://gitlab.com/shinya.maeda/pipeline-playground/-/commit/866e49fb8981a1317b2bdab22e5828debbaf4421",
"author": {
"id": 758045,
"username": "shinya.maeda",
"name": "Shinya Maeda",
"state": "active",
"avatar_url": "https://gitlab.com/uploads/-/system/user/avatar/758045/avatar.png",
"web_url": "https://gitlab.com/shinya.maeda",
"show_status": false,
"path": "/shinya.maeda"
},
"author_gravatar_url": "https://secure.gravatar.com/avatar/d99019d49e480c8654156065b29eeb6f?s=80\u0026d=identicon",
"commit_url": "https://gitlab.com/shinya.maeda/pipeline-playground/-/commit/866e49fb8981a1317b2bdab22e5828debbaf4421",
"commit_path": "/shinya.maeda/pipeline-playground/-/commit/866e49fb8981a1317b2bdab22e5828debbaf4421"
},
"manual_actions": [],
"scheduled_actions": [],
"cluster": null,
"pending_approval_count": 0,
"approvals": [],
"can_approve_deployment": true
},
"has_stop_action": false,
"rollout_status": null,
"tier": "production",
"environment_path": "/shinya.maeda/pipeline-playground/-/environments/7662947",
"stop_path": "/shinya.maeda/pipeline-playground/-/environments/7662947/stop",
"cancel_auto_stop_path": "/shinya.maeda/pipeline-playground/-/environments/7662947/cancel_auto_stop",
"delete_path": "/api/v4/projects/19827008/environments/7662947",
"folder_path": "/shinya.maeda/pipeline-playground/-/environments/folders/production",
"created_at": "2021-10-13T03:28:31.682Z",
"updated_at": "2021-10-13T03:28:31.682Z",
"can_stop": true,
"can_delete": false,
"has_opened_alert": false,
"required_approval_count": 0
}
},
{
"name": "production-test",
"size": 1,
"latest": {
"id": 6249763,
"global_id": "gid://gitlab/Environment/6249763",
"name": "production-test",
"state": "available",
"external_url": "http://XSS?x=\u003cscript\u003ealert(1)\u003c/script\u003e",
"environment_type": null,
"name_without_type": "production-test",
"last_deployment": {
"id": 174963465,
"iid": 180,
"sha": "e1abaf373fdce6709a4f0844c7fb2566c716e70f",
"ref": {
"name": "master",
"ref_path": "/shinya.maeda/pipeline-playground/-/tree/master"
},
"status": "success",
"created_at": "2021-07-21T08:36:40.332Z",
"deployed_at": "2021-07-21T08:37:21.884Z",
"tag": false,
"last?": true,
"is_last": true,
"tier_in_yaml": null,
"user": {
"id": 758045,
"username": "shinya.maeda",
"name": "Shinya Maeda",
"state": "active",
"avatar_url": "https://gitlab.com/uploads/-/system/user/avatar/758045/avatar.png",
"web_url": "https://gitlab.com/shinya.maeda",
"show_status": false,
"path": "/shinya.maeda"
},
"deployable": {
"id": 1440549460,
"name": "production-test",
"started": true,
"started_at": "2021-07-21T08:36:40.607Z",
"complete": true,
"archived": false,
"build_path": "/shinya.maeda/pipeline-playground/-/jobs/1440549460",
"retry_path": "/shinya.maeda/pipeline-playground/-/jobs/1440549460/retry",
"playable": false,
"scheduled": false,
"created_at": "2021-07-21T08:36:40.323Z",
"queued_at": "2021-07-21T08:36:40.459Z",
"queued_duration": 0.147727,
"updated_at": "2021-07-21T08:37:21.844Z",
"status": {
"icon": "status_success",
"text": "passed",
"label": "passed",
"group": "success",
"tooltip": "passed",
"has_details": true,
"details_path": "/shinya.maeda/pipeline-playground/-/jobs/1440549460",
"illustration": {
"image": "/assets/illustrations/skipped-job_empty-29a8a37d8a61d1b6f68cf3484f9024e53cd6eb95e28eae3554f8011a1146bf27.svg",
"size": "svg-430",
"title": "This job does not have a trace."
},
"favicon": "/assets/ci_favicons/favicon_status_success-8451333011eee8ce9f2ab25dc487fe24a8758c694827a582f17f42b0a90446a2.png",
"action": {
"icon": "retry",
"title": "Retry",
"path": "/shinya.maeda/pipeline-playground/-/jobs/1440549460/retry",
"method": "post",
"button_title": "Retry this job"
}
}
},
"commit": {
"id": "e1abaf373fdce6709a4f0844c7fb2566c716e70f",
"short_id": "e1abaf37",
"created_at": "2021-07-21T08:36:32.000+00:00",
"parent_ids": ["d402f814fad435af774f3fe14f411fc3dd3ec485"],
"title": "Update .gitlab-ci.yml",
"message": "Update .gitlab-ci.yml",
"author_name": "Shinya Maeda",
"author_email": "shinya@gitlab.com",
"authored_date": "2021-07-21T08:36:32.000+00:00",
"committer_name": "Shinya Maeda",
"committer_email": "shinya@gitlab.com",
"committed_date": "2021-07-21T08:36:32.000+00:00",
"trailers": {},
"web_url": "https://gitlab.com/shinya.maeda/pipeline-playground/-/commit/e1abaf373fdce6709a4f0844c7fb2566c716e70f",
"author": {
"id": 758045,
"username": "shinya.maeda",
"name": "Shinya Maeda",
"state": "active",
"avatar_url": "https://gitlab.com/uploads/-/system/user/avatar/758045/avatar.png",
"web_url": "https://gitlab.com/shinya.maeda",
"show_status": false,
"path": "/shinya.maeda"
},
"author_gravatar_url": "https://secure.gravatar.com/avatar/d99019d49e480c8654156065b29eeb6f?s=80\u0026d=identicon",
"commit_url": "https://gitlab.com/shinya.maeda/pipeline-playground/-/commit/e1abaf373fdce6709a4f0844c7fb2566c716e70f",
"commit_path": "/shinya.maeda/pipeline-playground/-/commit/e1abaf373fdce6709a4f0844c7fb2566c716e70f"
},
"manual_actions": [],
"scheduled_actions": [],
"cluster": null,
"pending_approval_count": 0,
"approvals": [],
"can_approve_deployment": true
},
"has_stop_action": false,
"rollout_status": null,
"tier": "testing",
"environment_path": "/shinya.maeda/pipeline-playground/-/environments/6249763",
"stop_path": "/shinya.maeda/pipeline-playground/-/environments/6249763/stop",
"cancel_auto_stop_path": "/shinya.maeda/pipeline-playground/-/environments/6249763/cancel_auto_stop",
"delete_path": "/api/v4/projects/19827008/environments/6249763",
"folder_path": "/shinya.maeda/pipeline-playground/-/environments/folders/production-test",
"created_at": "2021-07-08T03:21:46.303Z",
"updated_at": "2022-07-14T05:58:45.532Z",
"can_stop": true,
"can_delete": false,
"has_opened_alert": false,
"required_approval_count": 0
}
},
{
"name": "review",
"size": 5,
"latest": {
"id": 11145553,
"global_id": "gid://gitlab/Environment/11145553",
"name": "review/fe-asdfsdfas",
"state": "available",
"external_url": "https://review-fe-asdfsdf-0o9vdk.example.com",
"environment_type": "review",
"name_without_type": "fe-asdfsdfas",
"last_deployment": {
"id": 320081218,
"iid": 21007,
"sha": "6f449645bca18711855244fdb806aaf7725267e9",
"ref": {
"name": "fe-asdfsdfas",
"ref_path": "/shinya.maeda/pipeline-playground/-/tree/fe-asdfsdfas"
},
"status": "success",
"created_at": "2022-07-21T02:07:56.661Z",
"deployed_at": "2022-07-21T02:08:12.601Z",
"tag": false,
"last?": true,
"is_last": true,
"tier_in_yaml": null,
"user": {
"id": 758045,
"username": "shinya.maeda",
"name": "Shinya Maeda",
"state": "active",
"avatar_url": "https://gitlab.com/uploads/-/system/user/avatar/758045/avatar.png",
"web_url": "https://gitlab.com/shinya.maeda",
"show_status": false,
"path": "/shinya.maeda"
},
"deployable": {
"id": 2749901049,
"name": "deploy_review",
"started": true,
"started_at": "2022-07-21T02:07:57.396Z",
"complete": true,
"archived": false,
"build_path": "/shinya.maeda/pipeline-playground/-/jobs/2749901049",
"retry_path": "/shinya.maeda/pipeline-playground/-/jobs/2749901049/retry",
"playable": false,
"scheduled": false,
"created_at": "2022-07-21T02:07:56.527Z",
"queued_at": "2022-07-21T02:07:56.858Z",
"queued_duration": 0.53874,
"updated_at": "2022-07-21T02:08:12.563Z",
"status": {
"icon": "status_success",
"text": "passed",
"label": "passed",
"group": "success",
"tooltip": "passed",
"has_details": true,
"details_path": "/shinya.maeda/pipeline-playground/-/jobs/2749901049",
"illustration": {
"image": "/assets/illustrations/skipped-job_empty-29a8a37d8a61d1b6f68cf3484f9024e53cd6eb95e28eae3554f8011a1146bf27.svg",
"size": "svg-430",
"title": "This job does not have a trace."
},
"favicon": "/assets/ci_favicons/favicon_status_success-8451333011eee8ce9f2ab25dc487fe24a8758c694827a582f17f42b0a90446a2.png",
"action": {
"icon": "retry",
"title": "Retry",
"path": "/shinya.maeda/pipeline-playground/-/jobs/2749901049/retry",
"method": "post",
"button_title": "Retry this job"
}
}
},
"commit": {
"id": "6f449645bca18711855244fdb806aaf7725267e9",
"short_id": "6f449645",
"created_at": "2022-07-21T02:07:55.000+00:00",
"parent_ids": ["b83db20e7174a27323a94928c78b83e2a556116f"],
"title": "Update .gitlab-ci.yml",
"message": "Update .gitlab-ci.yml",
"author_name": "Shinya Maeda",
"author_email": "shinya@gitlab.com",
"authored_date": "2022-07-21T02:07:55.000+00:00",
"committer_name": "Shinya Maeda",
"committer_email": "shinya@gitlab.com",
"committed_date": "2022-07-21T02:07:55.000+00:00",
"trailers": {},
"web_url": "https://gitlab.com/shinya.maeda/pipeline-playground/-/commit/6f449645bca18711855244fdb806aaf7725267e9",
"author": {
"id": 758045,
"username": "shinya.maeda",
"name": "Shinya Maeda",
"state": "active",
"avatar_url": "https://gitlab.com/uploads/-/system/user/avatar/758045/avatar.png",
"web_url": "https://gitlab.com/shinya.maeda",
"show_status": false,
"path": "/shinya.maeda"
},
"author_gravatar_url": "https://secure.gravatar.com/avatar/d99019d49e480c8654156065b29eeb6f?s=80\u0026d=identicon",
"commit_url": "https://gitlab.com/shinya.maeda/pipeline-playground/-/commit/6f449645bca18711855244fdb806aaf7725267e9",
"commit_path": "/shinya.maeda/pipeline-playground/-/commit/6f449645bca18711855244fdb806aaf7725267e9"
},
"manual_actions": [
{
"id": 2749901050,
"name": "stop_review",
"started": false,
"complete": false,
"archived": false,
"build_path": "/shinya.maeda/pipeline-playground/-/jobs/2749901050",
"play_path": "/shinya.maeda/pipeline-playground/-/jobs/2749901050/play",
"playable": true,
"scheduled": false,
"created_at": "2022-07-21T02:07:56.539Z",
"queued_at": null,
"queued_duration": null,
"updated_at": "2022-07-21T02:07:56.899Z",
"status": {
"icon": "status_manual",
"text": "manual",
"label": "manual stop action",
"group": "manual",
"tooltip": "manual action",
"has_details": true,
"details_path": "/shinya.maeda/pipeline-playground/-/jobs/2749901050",
"illustration": {
"image": "/assets/illustrations/manual_action-c55aee2c5f9ebe9f72751480af8bb307be1a6f35552f344cc6d1bf979d3422f6.svg",
"size": "svg-394",
"title": "This job requires a manual action",
"content": "This job requires manual intervention to start. Before starting this job, you can add variables below for last-minute configuration changes."
},
"favicon": "/assets/ci_favicons/favicon_status_manual-829a0804612cef47d9efc1618dba38325483657c847dba0546c3b9f0295bb36c.png",
"action": {
"icon": "stop",
"title": "Stop",
"path": "/shinya.maeda/pipeline-playground/-/jobs/2749901050/play",
"method": "post",
"button_title": "Stop this environment"
}
}
}
],
"scheduled_actions": [],
"cluster": null,
"pending_approval_count": 0,
"approvals": [],
"can_approve_deployment": true
},
"has_stop_action": true,
"rollout_status": null,
"tier": "development",
"environment_path": "/shinya.maeda/pipeline-playground/-/environments/11145553",
"stop_path": "/shinya.maeda/pipeline-playground/-/environments/11145553/stop",
"cancel_auto_stop_path": "/shinya.maeda/pipeline-playground/-/environments/11145553/cancel_auto_stop",
"delete_path": "/api/v4/projects/19827008/environments/11145553",
"folder_path": "/shinya.maeda/pipeline-playground/-/environments/folders/review",
"created_at": "2022-07-21T02:07:56.491Z",
"updated_at": "2022-07-21T02:08:12.444Z",
"can_stop": true,
"can_delete": false,
"has_opened_alert": false,
"required_approval_count": 0
}
},
{
"name": "review-doc",
"size": 1,
"latest": {
"id": 3200514,
"global_id": "gid://gitlab/Environment/3200514",
"name": "review-doc/feature-2",
"state": "available",
"external_url": null,
"environment_type": "review-doc",
"name_without_type": "feature-2",
"last_deployment": null,
"has_stop_action": false,
"rollout_status": null,
"tier": null,
"environment_path": "/shinya.maeda/pipeline-playground/-/environments/3200514",
"stop_path": "/shinya.maeda/pipeline-playground/-/environments/3200514/stop",
"cancel_auto_stop_path": "/shinya.maeda/pipeline-playground/-/environments/3200514/cancel_auto_stop",
"delete_path": "/api/v4/projects/19827008/environments/3200514",
"folder_path": "/shinya.maeda/pipeline-playground/-/environments/folders/review-doc",
"created_at": "2020-10-28T10:20:36.542Z",
"updated_at": "2020-10-28T10:20:36.542Z",
"can_stop": true,
"can_delete": false,
"has_opened_alert": false,
"required_approval_count": 0
}
},
{
"name": "review-test",
"size": 1,
"latest": {
"id": 11251875,
"global_id": "gid://gitlab/Environment/11251875",
"name": "review-test",
"state": "available",
"external_url": null,
"environment_type": null,
"name_without_type": "review-test",
"last_deployment": null,
"has_stop_action": false,
"rollout_status": null,
"tier": "development",
"environment_path": "/shinya.maeda/pipeline-playground/-/environments/11251875",
"stop_path": "/shinya.maeda/pipeline-playground/-/environments/11251875/stop",
"cancel_auto_stop_path": "/shinya.maeda/pipeline-playground/-/environments/11251875/cancel_auto_stop",
"delete_path": "/api/v4/projects/19827008/environments/11251875",
"folder_path": "/shinya.maeda/pipeline-playground/-/environments/folders/review-test",
"created_at": "2022-08-02T08:50:11.290Z",
"updated_at": "2022-08-02T08:50:11.290Z",
"can_stop": true,
"can_delete": false,
"has_opened_alert": false,
"required_approval_count": 0
}
},
{
"name": "review-test",
"size": 1,
"latest": {
"id": 11251880,
"global_id": "gid://gitlab/Environment/11251880",
"name": "review-test/prd",
"state": "available",
"external_url": null,
"environment_type": "review-test",
"name_without_type": "prd",
"last_deployment": null,
"has_stop_action": false,
"rollout_status": null,
"tier": "development",
"environment_path": "/shinya.maeda/pipeline-playground/-/environments/11251880",
"stop_path": "/shinya.maeda/pipeline-playground/-/environments/11251880/stop",
"cancel_auto_stop_path": "/shinya.maeda/pipeline-playground/-/environments/11251880/cancel_auto_stop",
"delete_path": "/api/v4/projects/19827008/environments/11251880",
"folder_path": "/shinya.maeda/pipeline-playground/-/environments/folders/review-test",
"created_at": "2022-08-02T08:50:32.236Z",
"updated_at": "2022-08-02T08:50:32.236Z",
"can_stop": true,
"can_delete": false,
"has_opened_alert": false,
"required_approval_count": 0
}
},
{
"name": "top-folder",
"size": 1,
"latest": {
"id": 7305314,
"global_id": "gid://gitlab/Environment/7305314",
"name": "top-folder/sub-folder/awesome-app",
"state": "available",
"external_url": null,
"environment_type": "top-folder",
"name_without_type": "sub-folder/awesome-app",
"last_deployment": null,
"has_stop_action": false,
"rollout_status": null,
"tier": "other",
"environment_path": "/shinya.maeda/pipeline-playground/-/environments/7305314",
"stop_path": "/shinya.maeda/pipeline-playground/-/environments/7305314/stop",
"cancel_auto_stop_path": "/shinya.maeda/pipeline-playground/-/environments/7305314/cancel_auto_stop",
"delete_path": "/api/v4/projects/19827008/environments/7305314",
"folder_path": "/shinya.maeda/pipeline-playground/-/environments/folders/top-folder",
"created_at": "2021-09-16T10:40:59.915Z",
"updated_at": "2021-09-16T10:40:59.915Z",
"can_stop": true,
"can_delete": false,
"has_opened_alert": false,
"required_approval_count": 0
}
}
],
"review_app": {
"can_setup_review_app": true,
"all_clusters_empty": true,
"review_snippet": "{\"deploy_review\"=\u003e{\"stage\"=\u003e\"deploy\", \"script\"=\u003e[\"echo \\\"Deploy a review app\\\"\"], \"environment\"=\u003e{\"name\"=\u003e\"review/$CI_COMMIT_REF_NAME\", \"url\"=\u003e\"https://$CI_ENVIRONMENT_SLUG.example.com\"}, \"only\"=\u003e[\"branches\"]}}"
},
"available_count": 25,
"stopped_count": 10
}
Edited by Shinya Maeda