-
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.
test: refactor tests for remote sources and add some more
- Loading branch information
Showing
40 changed files
with
409 additions
and
303 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
2 changes: 0 additions & 2 deletions
2
garden-service/test/unit/data/test-project-ext-module-sources/.gardenignore
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
garden-service/test/unit/data/test-project-ext-module-sources/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 |
---|---|---|
@@ -1,11 +1,6 @@ | ||
project: | ||
name: test-project-ext-project-sources | ||
environmentDefaults: | ||
variables: | ||
some: variable | ||
environments: | ||
- name: local | ||
providers: | ||
- name: test-plugin | ||
- name: test-plugin-b | ||
- name: other |
3 changes: 0 additions & 3 deletions
3
...a/test-project-ext-module-sources/mock-dot-garden/sources/module/module-a/.garden-version
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
...a/test-project-ext-module-sources/mock-dot-garden/sources/module/module-c/.garden-version
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
...e/test/unit/data/test-project-ext-module-sources/mock-local-path/module-a/.garden-version
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
...e/test/unit/data/test-project-ext-module-sources/mock-local-path/module-c/.garden-version
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
...ervice/test/unit/data/test-project-ext-module-sources/mock-local-path/module-c/garden.yml
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
garden-service/test/unit/data/test-project-ext-module-sources/module-a/.garden-version
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
garden-service/test/unit/data/test-project-ext-module-sources/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
3 changes: 0 additions & 3 deletions
3
garden-service/test/unit/data/test-project-ext-module-sources/module-b/.garden-version
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
garden-service/test/unit/data/test-project-ext-module-sources/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
3 changes: 0 additions & 3 deletions
3
garden-service/test/unit/data/test-project-ext-module-sources/module-c/.garden-version
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
garden-service/test/unit/data/test-project-ext-module-sources/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
1 change: 0 additions & 1 deletion
1
garden-service/test/unit/data/test-project-ext-project-sources/.gardenignore
This file was deleted.
Oops, something went wrong.
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
Empty file.
3 changes: 0 additions & 3 deletions
3
...ect-ext-project-sources/mock-dot-garden/sources/project/source-a/module-a/.garden-version
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
...t/data/test-project-ext-project-sources/mock-local-path/source-a/module-a/.garden-version
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
...t/unit/data/test-project-ext-project-sources/mock-local-path/source-a/module-a/garden.yml
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
...t/unit/data/test-project-ext-project-sources/mock-local-path/source-b/module-b/garden.yml
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
...t/unit/data/test-project-ext-project-sources/mock-local-path/source-c/module-c/garden.yml
This file was deleted.
Oops, something went wrong.
8 changes: 8 additions & 0 deletions
8
garden-service/test/unit/data/test-project-local-module-sources/README.md
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,8 @@ | ||
This is a dummy local version of a remote module source. That is, a remote module that a user has a copy of on their local machine and wants to link to. | ||
|
||
Used by the `test-project-ext-module-sources` project for linking its modules to a local path. Equivalent to the following: | ||
|
||
```sh | ||
# In test-project-ext-module-sources dir | ||
garden link module module-a ../test-project-local-module-sources/module-a | ||
``` |
1 change: 1 addition & 0 deletions
1
garden-service/test/unit/data/test-project-local-module-sources/module-a/foo.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 @@ | ||
bar |
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 8 additions & 0 deletions
8
garden-service/test/unit/data/test-project-local-project-sources/README.md
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,8 @@ | ||
This is a dummy local version of a remote project source. That is, a remote source that a user has a copy of on their local machine and wants to link to. | ||
|
||
Used by the `test-project-ext-project-sources` project for linking its sources to a local path. Equivalent to the following: | ||
|
||
```sh | ||
# In test-project-ext-project-sources dir | ||
garden link source source-a ../test-project-local-project-sources/source-a | ||
``` |
1 change: 1 addition & 0 deletions
1
garden-service/test/unit/data/test-project-local-project-sources/source-a/module-a/foo.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 @@ | ||
bar |
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.