-
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.
- Loading branch information
1 parent
ddb96f6
commit 8582afc
Showing
3 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
core/test/data/test-projects/disabled-action-with-duplicate-name/project.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 @@ | ||
apiVersion: garden.io/v1 | ||
kind: Project | ||
name: disabled-action-with-duplicate-name | ||
defaultEnvironment: local | ||
environments: | ||
- name: local | ||
- name: remote | ||
providers: | ||
- name: exec | ||
environments: [ local, remote ] |
15 changes: 15 additions & 0 deletions
15
core/test/data/test-projects/disabled-action-with-duplicate-name/runs.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,15 @@ | ||
kind: Run | ||
name: run-script | ||
type: exec | ||
disabled: "${environment.name != 'local'}" | ||
spec: | ||
command: ["sh", "-c", "echo 'Hello from local'"] | ||
|
||
--- | ||
|
||
kind: Run | ||
name: run-script | ||
type: exec | ||
disabled: "${environment.name != 'remote'}" | ||
spec: | ||
command: ["sh", "-c", "echo 'Hello from remote'"] |
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