-
Notifications
You must be signed in to change notification settings - Fork 273
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(vcs): ensure module versions are stable between runtimes
- Loading branch information
Showing
18 changed files
with
215 additions
and
2 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
10 changes: 10 additions & 0 deletions
10
garden-service/test/data/test-projects/fixed-version-hashes-1/garden.yml
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,10 @@ | ||
kind: Project | ||
name: test-project-fixed-version-hashes-1 | ||
environments: | ||
- name: local | ||
providers: | ||
- name: test-plugin | ||
- name: test-plugin-b | ||
- name: other | ||
variables: | ||
some: variable |
24 changes: 24 additions & 0 deletions
24
garden-service/test/data/test-projects/fixed-version-hashes-1/module-a/garden.yml
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,24 @@ | ||
kind: Module | ||
name: module-a | ||
type: test | ||
services: | ||
- name: service-a | ||
env: | ||
TEST_LOCAL_ENV: ${local.env.MODULE_A_TEST_ENV_VAR} | ||
TEST_ENV: ${var.some} | ||
build: | ||
command: [echo, A] | ||
tests: | ||
- name: unit | ||
command: [echo, OK] | ||
- name: integration | ||
command: [echo, OK] | ||
tasks: | ||
- name: task-a-1 | ||
command: [echo, task-a-1] | ||
- name: task-a-2 | ||
command: [echo, task-a-2] | ||
dependencies: | ||
- task-a-1 | ||
env: | ||
TASK_OUTPUT: ${runtime.tasks.task-a-1.outputs.log} |
1 change: 1 addition & 0 deletions
1
garden-service/test/data/test-projects/fixed-version-hashes-1/module-a/hello.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 @@ | ||
hello module-a |
17 changes: 17 additions & 0 deletions
17
garden-service/test/data/test-projects/fixed-version-hashes-1/module-b/garden.yml
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,17 @@ | ||
kind: Module | ||
name: module-b | ||
type: test | ||
services: | ||
- name: service-b | ||
dependencies: | ||
- service-a | ||
build: | ||
command: [echo, B] | ||
dependencies: | ||
- module-a | ||
tests: | ||
- name: unit | ||
command: [echo, OK] | ||
tasks: | ||
- name: task-b | ||
command: [echo, OK] |
1 change: 1 addition & 0 deletions
1
garden-service/test/data/test-projects/fixed-version-hashes-1/module-b/hello.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 @@ | ||
hello module-b |
16 changes: 16 additions & 0 deletions
16
garden-service/test/data/test-projects/fixed-version-hashes-1/module-c/garden.yml
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,16 @@ | ||
kind: Module | ||
name: module-c | ||
type: test | ||
services: | ||
- name: service-c | ||
build: | ||
dependencies: | ||
- module-b | ||
tests: | ||
- name: unit | ||
command: [echo, OK] | ||
- name: integ | ||
command: [echo, OK] | ||
tasks: | ||
- name: task-c | ||
command: [echo, OK] |
1 change: 1 addition & 0 deletions
1
garden-service/test/data/test-projects/fixed-version-hashes-1/module-c/hello.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 @@ | ||
hello module-c |
10 changes: 10 additions & 0 deletions
10
garden-service/test/data/test-projects/fixed-version-hashes-2/garden.yml
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,10 @@ | ||
kind: Project | ||
name: test-project-fixed-version-hashes-2 | ||
environments: | ||
- name: env-name-that-is-different-from-fixed-version-hashes-1 | ||
providers: | ||
- name: test-plugin | ||
- name: test-plugin-b | ||
- name: other | ||
variables: | ||
some: variable |
24 changes: 24 additions & 0 deletions
24
garden-service/test/data/test-projects/fixed-version-hashes-2/module-a/garden.yml
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,24 @@ | ||
kind: Module | ||
name: module-a | ||
type: test | ||
services: | ||
- name: service-a | ||
env: | ||
TEST_LOCAL_ENV: ${local.env.MODULE_A_TEST_ENV_VAR} | ||
TEST_ENV: ${var.some} | ||
build: | ||
command: [echo, A] | ||
tests: | ||
- name: unit | ||
command: [echo, OK] | ||
- name: integration | ||
command: [echo, OK] | ||
tasks: | ||
- name: task-a-1 | ||
command: [echo, task-a-1] | ||
- name: task-a-2 | ||
command: [echo, task-a-2] | ||
dependencies: | ||
- task-a-1 | ||
env: | ||
TASK_OUTPUT: ${runtime.tasks.task-a-1.outputs.log} |
1 change: 1 addition & 0 deletions
1
garden-service/test/data/test-projects/fixed-version-hashes-2/module-a/hello.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 @@ | ||
hello module-a |
17 changes: 17 additions & 0 deletions
17
garden-service/test/data/test-projects/fixed-version-hashes-2/module-b/garden.yml
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,17 @@ | ||
kind: Module | ||
name: module-b | ||
type: test | ||
services: | ||
- name: service-b | ||
dependencies: | ||
- service-a | ||
build: | ||
command: [echo, B] | ||
dependencies: | ||
- module-a | ||
tests: | ||
- name: unit | ||
command: [echo, OK] | ||
tasks: | ||
- name: task-b | ||
command: [echo, OK] |
1 change: 1 addition & 0 deletions
1
garden-service/test/data/test-projects/fixed-version-hashes-2/module-b/hello.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 @@ | ||
hello module-b |
16 changes: 16 additions & 0 deletions
16
garden-service/test/data/test-projects/fixed-version-hashes-2/module-c/garden.yml
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,16 @@ | ||
kind: Module | ||
name: module-c | ||
type: test | ||
services: | ||
- name: service-c | ||
build: | ||
dependencies: | ||
- module-b | ||
tests: | ||
- name: unit | ||
command: [echo, OK] | ||
- name: integ | ||
command: [echo, OK] | ||
tasks: | ||
- name: task-c | ||
command: [echo, OK] |
1 change: 1 addition & 0 deletions
1
garden-service/test/data/test-projects/fixed-version-hashes-2/module-c/hello.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 @@ | ||
hello module-c |
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