This repository has been archived by the owner on Mar 24, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #443 from laverya/add-installation-template-func-i…
…ntegration-test add an integration test for the Installation template funcs
- Loading branch information
Showing
6 changed files
with
66 additions
and
0 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
integration/init_app/installation-template-func/expected/.ship/release.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,29 @@ | ||
--- | ||
assets: | ||
v1: | ||
- inline: | ||
contents: | | ||
#!/bin/bash | ||
echo "installing nothing" | ||
echo "semver: {{repl Installation "semver" }}" | ||
dest: ./scripts/install.sh | ||
mode: 0777 | ||
- inline: | ||
contents: | | ||
#!/bin/bash | ||
echo "tested nothing" | ||
dest: ./scripts/test.sh | ||
mode: 0777 | ||
config: | ||
v1: | ||
- name: test_options | ||
title: Test Options | ||
description: testing testing 123 | ||
items: | ||
- name: test_option | ||
title: Test Option | ||
default: abc123_test-option-value | ||
type: text | ||
lifecycle: | ||
v1: | ||
- render: {} |
1 change: 1 addition & 0 deletions
1
integration/init_app/installation-template-func/expected/.ship/state.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 |
---|---|---|
@@ -0,0 +1 @@ | ||
{"v1":{"config":{}}} |
3 changes: 3 additions & 0 deletions
3
integration/init_app/installation-template-func/expected/installer/scripts/install.sh
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,3 @@ | ||
#!/bin/bash | ||
echo "installing nothing" | ||
echo "semver: 1.0.1-SNAPSHOT" |
2 changes: 2 additions & 0 deletions
2
integration/init_app/installation-template-func/expected/installer/scripts/test.sh
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,2 @@ | ||
#!/bin/bash | ||
echo "tested nothing" |
29 changes: 29 additions & 0 deletions
29
integration/init_app/installation-template-func/input/.ship/release.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,29 @@ | ||
--- | ||
assets: | ||
v1: | ||
- inline: | ||
contents: | | ||
#!/bin/bash | ||
echo "installing nothing" | ||
echo "semver: {{repl Installation "semver" }}" | ||
dest: ./scripts/install.sh | ||
mode: 0777 | ||
- inline: | ||
contents: | | ||
#!/bin/bash | ||
echo "tested nothing" | ||
dest: ./scripts/test.sh | ||
mode: 0777 | ||
config: | ||
v1: | ||
- name: test_options | ||
title: Test Options | ||
description: testing testing 123 | ||
items: | ||
- name: test_option | ||
title: Test Option | ||
default: abc123_test-option-value | ||
type: text | ||
lifecycle: | ||
v1: | ||
- render: {} |
2 changes: 2 additions & 0 deletions
2
integration/init_app/installation-template-func/metadata.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,2 @@ | ||
customer_id: "-Am-_6i5pw0u4AbspOwKN4lZUCn49u_G" | ||
release_version: "1.0.1-SNAPSHOT" |