Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Refine the Atlantis VCS Pull Request Comments #4254

Merged
merged 3 commits into from
Mar 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ Ran Plan for 2 projects:

1. dir: `dir1` workspace: `default`
1. dir: `dir2` workspace: `default`
---

### 1. dir: `dir1` workspace: `default`
```diff
Expand All @@ -20,10 +21,14 @@ Plan: 1 to add, 0 to change, 0 to destroy.
```

* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -d dir1`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -d dir1
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d dir1`
```shell
atlantis plan -d dir1
```

---
### 2. dir: `dir2` workspace: `default`
Expand All @@ -43,17 +48,25 @@ Plan: 1 to add, 0 to change, 0 to destroy.
```

* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -d dir2`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -d dir2
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d dir2`
```shell
atlantis plan -d dir2
```

---
### Plan Summary

2 projects, 2 with changes, 0 with no changes, 0 failed

* :fast_forward: To **apply** all unapplied plans from this pull request, comment:
* `atlantis apply`
* :put_litter_in_its_place: To **delete** all plans and locks for the PR, comment:
* `atlantis unlock`
* :fast_forward: To **apply** all unapplied plans from this Pull Request, comment:
```shell
atlantis apply
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ Ran Plan for 2 projects:

1. dir: `dir1` workspace: `default`
1. dir: `dir2` workspace: `default`
---

### 1. dir: `dir1` workspace: `default`
<details><summary>Show Output</summary>
Expand All @@ -26,13 +27,17 @@ Terraform will perform the following actions:

Plan: 1 to add, 0 to change, 0 to destroy.
```
</details>

* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -d dir1`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -d dir1
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d dir1`
</details>
```shell
atlantis plan -d dir1
```
Plan: 1 to add, 0 to change, 0 to destroy.

---
Expand All @@ -59,21 +64,29 @@ Terraform will perform the following actions:

Plan: 1 to add, 0 to change, 0 to destroy.
```
</details>

* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -d dir2`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -d dir2
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d dir2`
</details>
```shell
atlantis plan -d dir2
```
Plan: 1 to add, 0 to change, 0 to destroy.

---
### Plan Summary

2 projects, 2 with changes, 0 with no changes, 0 failed

* :fast_forward: To **apply** all unapplied plans from this pull request, comment:
* `atlantis apply`
* :put_litter_in_its_place: To **delete** all plans and locks for the PR, comment:
* `atlantis unlock`
* :fast_forward: To **apply** all unapplied plans from this Pull Request, comment:
```shell
atlantis apply
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,6 @@ your Terraform state and will henceforth be managed by Terraform.
:put_litter_in_its_place: A plan file was discarded. Re-plan would be required before applying.

* :repeat: To **plan** this project again, comment:
* `atlantis plan -d dir1`
```shell
atlantis plan -d dir1
```
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ Ran Plan for 2 projects:

1. dir: `dir1` workspace: `default`
1. dir: `dir2` workspace: `default`
---

### 1. dir: `dir1` workspace: `default`
```diff
Expand All @@ -14,10 +15,14 @@ and found no differences, so no changes are needed.
```

* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -d dir1`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -d dir1
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d dir1`
```shell
atlantis plan -d dir1
```

---
### 2. dir: `dir2` workspace: `default`
Expand All @@ -43,21 +48,29 @@ Terraform will perform the following actions:

Plan: 1 to add, 0 to change, 0 to destroy.
```
</details>

* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -d dir2`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -d dir2
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d dir2`
</details>
```shell
atlantis plan -d dir2
```
Plan: 1 to add, 0 to change, 0 to destroy.

---
### Plan Summary

2 projects, 1 with changes, 1 with no changes, 0 failed

* :fast_forward: To **apply** all unapplied plans from this pull request, comment:
* `atlantis apply`
* :put_litter_in_its_place: To **delete** all plans and locks for the PR, comment:
* `atlantis unlock`
* :fast_forward: To **apply** all unapplied plans from this Pull Request, comment:
```shell
atlantis apply
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,25 @@ Terraform will perform the following actions:

Plan: 2 to add, 0 to change, 0 to destroy.
```
</details>

* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -d .`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -d .
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d .`
</details>
```shell
atlantis plan -d .
```
Plan: 2 to add, 0 to change, 0 to destroy.

---
* :fast_forward: To **apply** all unapplied plans from this pull request, comment:
* `atlantis apply`
* :put_litter_in_its_place: To **delete** all plans and locks for the PR, comment:
* `atlantis unlock`
* :fast_forward: To **apply** all unapplied plans from this Pull Request, comment:
```shell
atlantis apply
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,6 @@ your Terraform state and will henceforth be managed by Terraform.
:put_litter_in_its_place: A plan file was discarded. Re-plan would be required before applying.

* :repeat: To **plan** this project again, comment:
* `atlantis plan -d .`
```shell
atlantis plan -d .
```
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,6 @@ your Terraform state and will henceforth be managed by Terraform.
:put_litter_in_its_place: A plan file was discarded. Re-plan would be required before applying.

* :repeat: To **plan** this project again, comment:
* `atlantis plan -d .`
```shell
atlantis plan -d .
```
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,21 @@ and found no differences, so no changes are needed.
```

* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -d .`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -d .
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d . -- -var var=overridden`
```shell
atlantis plan -d . -- -var var=overridden
```

---
* :fast_forward: To **apply** all unapplied plans from this pull request, comment:
* `atlantis apply`
* :put_litter_in_its_place: To **delete** all plans and locks for the PR, comment:
* `atlantis unlock`
* :fast_forward: To **apply** all unapplied plans from this Pull Request, comment:
```shell
atlantis apply
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,25 @@ Terraform will perform the following actions:

Plan: 2 to add, 0 to change, 0 to destroy.
```
</details>

* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -d .`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -d .
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d .`
</details>
```shell
atlantis plan -d .
```
Plan: 2 to add, 0 to change, 0 to destroy.

---
* :fast_forward: To **apply** all unapplied plans from this pull request, comment:
* `atlantis apply`
* :put_litter_in_its_place: To **delete** all plans and locks for the PR, comment:
* `atlantis unlock`
* :fast_forward: To **apply** all unapplied plans from this Pull Request, comment:
```shell
atlantis apply
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,6 @@ your Terraform state and will henceforth be managed by Terraform.
:put_litter_in_its_place: A plan file was discarded. Re-plan would be required before applying.

* :repeat: To **plan** this project again, comment:
* `atlantis plan -d .`
```shell
atlantis plan -d .
```
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,6 @@ your Terraform state and will henceforth be managed by Terraform.
:put_litter_in_its_place: A plan file was discarded. Re-plan would be required before applying.

* :repeat: To **plan** this project again, comment:
* `atlantis plan -d .`
```shell
atlantis plan -d .
```
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,21 @@ and found no differences, so no changes are needed.
```

* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -d .`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -d .
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d .`
```shell
atlantis plan -d .
```

---
* :fast_forward: To **apply** all unapplied plans from this pull request, comment:
* `atlantis apply`
* :put_litter_in_its_place: To **delete** all plans and locks for the PR, comment:
* `atlantis unlock`
* :fast_forward: To **apply** all unapplied plans from this Pull Request, comment:
```shell
atlantis apply
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,6 @@ your Terraform state and will henceforth be managed by Terraform.
:put_litter_in_its_place: A plan file was discarded. Re-plan would be required before applying.

* :repeat: To **plan** this project again, comment:
* `atlantis plan -p dir1-ops`
```shell
atlantis plan -p dir1-ops
```
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,6 @@ your Terraform state and will henceforth be managed by Terraform.
:put_litter_in_its_place: A plan file was discarded. Re-plan would be required before applying.

* :repeat: To **plan** this project again, comment:
* `atlantis plan -p dir1-ops`
```shell
atlantis plan -p dir1-ops
```
Loading
Loading