-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
62 changed files
with
1,634 additions
and
201 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
server/controllers/events/testfixtures/test-repos/state-rm-multiple-project/atlantis.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
version: 3 | ||
projects: | ||
- dir: dir1 | ||
- dir: dir2 |
4 changes: 4 additions & 0 deletions
4
server/controllers/events/testfixtures/test-repos/state-rm-multiple-project/dir1/main.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
resource "random_id" "dummy1" { | ||
keepers = {} | ||
byte_length = 1 | ||
} |
4 changes: 4 additions & 0 deletions
4
server/controllers/events/testfixtures/test-repos/state-rm-multiple-project/dir2/main.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
resource "random_id" "dummy2" { | ||
keepers = {} | ||
byte_length = 1 | ||
} |
81 changes: 81 additions & 0 deletions
81
...trollers/events/testfixtures/test-repos/state-rm-multiple-project/exp-output-autoplan.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
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> | ||
|
||
```diff | ||
|
||
Terraform used the selected providers to generate the following execution | ||
plan. Resource actions are indicated with the following symbols: | ||
+ create | ||
|
||
Terraform will perform the following actions: | ||
|
||
# random_id.dummy1 will be created | ||
+ resource "random_id" "dummy1" { | ||
+ b64_std = (known after apply) | ||
+ b64_url = (known after apply) | ||
+ byte_length = 1 | ||
+ dec = (known after apply) | ||
+ hex = (known after apply) | ||
+ id = (known after apply) | ||
+ keepers = {} | ||
} | ||
|
||
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) | ||
* :repeat: To **plan** this project again, comment: | ||
* `atlantis plan -d dir1` | ||
</details> | ||
Plan: 1 to add, 0 to change, 0 to destroy. | ||
|
||
--- | ||
### 2. dir: `dir2` workspace: `default` | ||
<details><summary>Show Output</summary> | ||
|
||
```diff | ||
|
||
Terraform used the selected providers to generate the following execution | ||
plan. Resource actions are indicated with the following symbols: | ||
+ create | ||
|
||
Terraform will perform the following actions: | ||
|
||
# random_id.dummy2 will be created | ||
+ resource "random_id" "dummy2" { | ||
+ b64_std = (known after apply) | ||
+ b64_url = (known after apply) | ||
+ byte_length = 1 | ||
+ dec = (known after apply) | ||
+ hex = (known after apply) | ||
+ id = (known after apply) | ||
+ keepers = {} | ||
} | ||
|
||
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) | ||
* :repeat: To **plan** this project again, comment: | ||
* `atlantis plan -d dir2` | ||
</details> | ||
Plan: 1 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` |
20 changes: 20 additions & 0 deletions
20
...ers/events/testfixtures/test-repos/state-rm-multiple-project/exp-output-import-dummy1.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
Ran Import for dir: `dir1` workspace: `default` | ||
|
||
```diff | ||
random_id.dummy1: Importing from ID "AA"... | ||
random_id.dummy1: Import prepared! | ||
Prepared random_id for import | ||
random_id.dummy1: Refreshing state... [id=AA] | ||
|
||
Import successful! | ||
|
||
The resources that were imported are shown above. These resources are now in | ||
your Terraform state and will henceforth be managed by Terraform. | ||
|
||
|
||
``` | ||
|
||
* :repeat: To **plan** this project again, comment: | ||
* `atlantis plan -d dir1` | ||
|
||
|
20 changes: 20 additions & 0 deletions
20
...ers/events/testfixtures/test-repos/state-rm-multiple-project/exp-output-import-dummy2.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
Ran Import for dir: `dir2` workspace: `default` | ||
|
||
```diff | ||
random_id.dummy2: Importing from ID "BB"... | ||
random_id.dummy2: Import prepared! | ||
Prepared random_id for import | ||
random_id.dummy2: Refreshing state... [id=BB] | ||
|
||
Import successful! | ||
|
||
The resources that were imported are shown above. These resources are now in | ||
your Terraform state and will henceforth be managed by Terraform. | ||
|
||
|
||
``` | ||
|
||
* :repeat: To **plan** this project again, comment: | ||
* `atlantis plan -d dir2` | ||
|
||
|
4 changes: 4 additions & 0 deletions
4
...ontrollers/events/testfixtures/test-repos/state-rm-multiple-project/exp-output-merged.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Locks and plans deleted for the projects and workspaces modified in this pull request: | ||
|
||
- dir: `dir1` workspace: `default` | ||
- dir: `dir2` workspace: `default` |
Oops, something went wrong.