Files
atlantis/server/events/testdata/gitlab-merge-request-comment-event-subgroup.json
nitrocode d85662cdf1 Rename default branch to main (#2662)
* Rename default branch to main

* Bump git, curl, and openssl packages
2022-11-14 11:28:29 -06:00

141 lines
6.6 KiB
JSON

{
"object_kind": "note",
"event_type": "note",
"user": {
"name": "Luke Kysow",
"username": "lkysow",
"avatar_url": "https://secure.gravatar.com/avatar/25fd57e71590fe28736624ff24d41c5f?s=80&d=identicon"
},
"project_id": 7804027,
"project": {
"id": 7804027,
"name": "atlantis-example",
"description": "",
"web_url": "https://gitlab.com/lkysow-test/subgroup/sub-subgroup/atlantis-example",
"avatar_url": null,
"git_ssh_url": "git@gitlab.com:lkysow-test/subgroup/sub-subgroup/atlantis-example.git",
"git_http_url": "https://gitlab.com/lkysow-test/subgroup/sub-subgroup/atlantis-example.git",
"namespace": "sub-subgroup",
"visibility_level": 20,
"path_with_namespace": "lkysow-test/subgroup/sub-subgroup/atlantis-example",
"default_branch": "main",
"ci_config_path": null,
"homepage": "https://gitlab.com/lkysow-test/subgroup/sub-subgroup/atlantis-example",
"url": "git@gitlab.com:lkysow-test/subgroup/sub-subgroup/atlantis-example.git",
"ssh_url": "git@gitlab.com:lkysow-test/subgroup/sub-subgroup/atlantis-example.git",
"http_url": "https://gitlab.com/lkysow-test/subgroup/sub-subgroup/atlantis-example.git"
},
"object_attributes": {
"attachment": null,
"author_id": 1755902,
"change_position": null,
"commit_id": null,
"created_at": "2018-08-22 06:14:24 UTC",
"discussion_id": "cb2e85b8972c533d83457fc2851c17969c6417d0",
"id": 96056916,
"line_code": null,
"note": "atlantis plan",
"noteable_id": 15372654,
"noteable_type": "MergeRequest",
"original_position": null,
"position": null,
"project_id": 7804027,
"resolved_at": null,
"resolved_by_id": null,
"resolved_by_push": null,
"st_diff": null,
"system": false,
"type": null,
"updated_at": "2018-08-22 06:14:24 UTC",
"updated_by_id": null,
"description": "Ran Plan in dir: `.` workspace: `default`\n\n```diff\nRefreshing Terraform state in-memory prior to plan...\nThe refreshed state will be used to calculate this plan, but will not be\npersisted to local or remote state storage.\n\n\n------------------------------------------------------------------------\n\nAn execution plan has been generated and is shown below.\nResource actions are indicated with the following symbols:\n + create\n\nTerraform will perform the following actions:\n\n+ null_resource.test\n id: <computed>\nPlan: 1 to add, 0 to change, 0 to destroy.\n\n```\n\n* :arrow_forward: To **apply** this plan, comment:\n * `atlantis apply -d .`\n* :put_litter_in_its_place: To **delete** this plan click [here](http://Lukes-Macbook-Pro.local:4141/lock?id=lkysow-test%252Fsubgroup%252Fsub-subgroup%252Fatlantis-example%252F.%252Fdefault) or comment:\n * `atlantis discard -d .`\n* :repeat: To **plan** this project again, comment:\n * `atlantis plan -d .`\n\n---\n* :fast_forward: To **apply** all unapplied plans from this pull request, comment:\n * `atlantis apply`",
"url": "https://gitlab.com/lkysow-test/subgroup/sub-subgroup/atlantis-example/merge_requests/2#note_96056916"
},
"repository": {
"name": "atlantis-example",
"url": "git@gitlab.com:lkysow-test/subgroup/sub-subgroup/atlantis-example.git",
"description": "",
"homepage": "https://gitlab.com/lkysow-test/subgroup/sub-subgroup/atlantis-example"
},
"merge_request": {
"assignee_id": null,
"author_id": 1755902,
"created_at": "2018-08-22 06:14:20 UTC",
"description": "",
"head_pipeline_id": 28408568,
"id": 15372654,
"iid": 2,
"last_edited_at": null,
"last_edited_by_id": null,
"merge_commit_sha": null,
"merge_error": null,
"merge_params": {
"force_remove_source_branch": false
},
"merge_status": "can_be_merged",
"merge_user_id": null,
"merge_when_pipeline_succeeds": false,
"milestone_id": null,
"source_branch": "patch",
"source_project_id": 7804027,
"state": "opened",
"target_branch": "main",
"target_project_id": 7804027,
"time_estimate": 0,
"title": "Update main.tf",
"updated_at": "2018-08-22 06:14:20 UTC",
"updated_by_id": null,
"url": "https://gitlab.com/lkysow-test/subgroup/sub-subgroup/atlantis-example/merge_requests/2",
"source": {
"id": 7804027,
"name": "atlantis-example",
"description": "",
"web_url": "https://gitlab.com/lkysow-test/subgroup/sub-subgroup/atlantis-example",
"avatar_url": null,
"git_ssh_url": "git@gitlab.com:lkysow-test/subgroup/sub-subgroup/atlantis-example.git",
"git_http_url": "https://gitlab.com/lkysow-test/subgroup/sub-subgroup/atlantis-example.git",
"namespace": "sub-subgroup",
"visibility_level": 20,
"path_with_namespace": "lkysow-test/subgroup/sub-subgroup/atlantis-example",
"default_branch": "main",
"ci_config_path": null,
"homepage": "https://gitlab.com/lkysow-test/subgroup/sub-subgroup/atlantis-example",
"url": "git@gitlab.com:lkysow-test/subgroup/sub-subgroup/atlantis-example.git",
"ssh_url": "git@gitlab.com:lkysow-test/subgroup/sub-subgroup/atlantis-example.git",
"http_url": "https://gitlab.com/lkysow-test/subgroup/sub-subgroup/atlantis-example.git"
},
"target": {
"id": 7804027,
"name": "atlantis-example",
"description": "",
"web_url": "https://gitlab.com/lkysow-test/subgroup/sub-subgroup/atlantis-example",
"avatar_url": null,
"git_ssh_url": "git@gitlab.com:lkysow-test/subgroup/sub-subgroup/atlantis-example.git",
"git_http_url": "https://gitlab.com/lkysow-test/subgroup/sub-subgroup/atlantis-example.git",
"namespace": "sub-subgroup",
"visibility_level": 20,
"path_with_namespace": "lkysow-test/subgroup/sub-subgroup/atlantis-example",
"default_branch": "main",
"ci_config_path": null,
"homepage": "https://gitlab.com/lkysow-test/subgroup/sub-subgroup/atlantis-example",
"url": "git@gitlab.com:lkysow-test/subgroup/sub-subgroup/atlantis-example.git",
"ssh_url": "git@gitlab.com:lkysow-test/subgroup/sub-subgroup/atlantis-example.git",
"http_url": "https://gitlab.com/lkysow-test/subgroup/sub-subgroup/atlantis-example.git"
},
"last_commit": {
"id": "901d9770ef1a6862e2a73ec1bacc73590abb9aff",
"message": "Update main.tf",
"timestamp": "2018-08-22T06:14:12Z",
"url": "https://gitlab.com/lkysow-test/subgroup/sub-subgroup/atlantis-example/commit/901d9770ef1a6862e2a73ec1bacc73590abb9aff",
"author": {
"name": "Luke Kysow",
"email": "lkysow@gmail.com"
}
},
"work_in_progress": false,
"total_time_spent": 0,
"human_total_time_spent": null,
"human_time_estimate": null
}
}