-
-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* sanitize snapshots * [autofix.ci] apply automated fixes * check for empty repo root * normalize slashes * normalize slashes * try to fix windows snapshots with windows paths * handle multiple slashes * handle multiple slashes * changed strategy for removing double slashes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
71f849c
commit 5a06a42
Showing
9 changed files
with
60 additions
and
36 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
2 changes: 1 addition & 1 deletion
2
tests/fixtures/scenarios/mock-terraform/components/terraform/mock/backend.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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
terraform { | ||
backend "local" { | ||
workspace_dir = "terraform.tfstate.d" | ||
path = "terraform.tfstate" | ||
} | ||
} |
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
2 changes: 1 addition & 1 deletion
2
tests/fixtures/scenarios/mock-terraform/components/terraform/mock/mock.json
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 |
---|---|---|
@@ -1 +1 @@ | ||
{"bar":"dev-bar","baz":"dev-baz","foo":"dev-foo"} | ||
{"bar":"dev-bar","baz":"dev-baz","environment":"dev","foo":"dev-foo","stage":"dev","tenant":"test"} |
3 changes: 2 additions & 1 deletion
3
tests/fixtures/scenarios/mock-terraform/components/terraform/mock/versions.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 |
---|---|---|
@@ -1,5 +1,6 @@ | ||
terraform { | ||
required_version = ">= 1.0.0" | ||
|
||
|
||
required_providers { | ||
local = { | ||
source = "hashicorp/local" | ||
|
17 changes: 0 additions & 17 deletions
17
tests/fixtures/scenarios/mock-terraform/stacks/catalog/mock.yaml
This file was deleted.
Oops, something went wrong.
13 changes: 13 additions & 0 deletions
13
tests/fixtures/scenarios/mock-terraform/stacks/catalog/terraform/mock.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,13 @@ | ||
components: | ||
terraform: | ||
mock: | ||
metadata: | ||
component: mock | ||
backend: | ||
type: local | ||
settings: | ||
component: mock | ||
vars: | ||
foo: "catalog-foo" | ||
bar: "catalog-bar" | ||
baz: "catalog-baz" |
15 changes: 7 additions & 8 deletions
15
...ios/mock-terraform/stacks/deploy/dev.yaml → ...arios/mock-terraform/stacks/dev/mock.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 |
---|---|---|
@@ -1,19 +1,18 @@ | ||
import: | ||
- catalog/mock | ||
|
||
vars: | ||
environment: dev | ||
component: mock | ||
- ../catalog/terraform/mock | ||
|
||
components: | ||
terraform: | ||
mock: | ||
metadata: | ||
component: mock | ||
environment: dev | ||
settings: | ||
component: mock | ||
backend: | ||
type: local | ||
vars: | ||
stage: dev | ||
environment: dev | ||
tenant: test | ||
foo: "dev-foo" | ||
bar: "dev-bar" | ||
baz: "dev-baz" | ||
baz: "dev-baz" |
15 changes: 7 additions & 8 deletions
15
...os/mock-terraform/stacks/deploy/prod.yaml → ...rios/mock-terraform/stacks/prod/mock.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 |
---|---|---|
@@ -1,19 +1,18 @@ | ||
import: | ||
- catalog/mock | ||
|
||
vars: | ||
environment: prod | ||
component: mock | ||
- ../catalog/terraform/mock | ||
|
||
components: | ||
terraform: | ||
mock: | ||
metadata: | ||
component: mock | ||
environment: prod | ||
settings: | ||
component: mock | ||
backend: | ||
type: local | ||
vars: | ||
stage: prod | ||
environment: prod | ||
tenant: test | ||
foo: "prod-foo" | ||
bar: "prod-bar" | ||
baz: "prod-baz" | ||
baz: "prod-baz" |