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 #855 from dexhorthy/specific-render
Add ability for render steps to specify specific assets
- Loading branch information
Showing
37 changed files
with
860 additions
and
79 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
Large diffs are not rendered by default.
Oops, something went wrong.
23 changes: 23 additions & 0 deletions
23
integration/base/direct-render-with-root-2/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,23 @@ | ||
--- | ||
assets: | ||
v1: | ||
- inline: | ||
dest: ./install.sh | ||
contents: | | ||
#!/bin/sh | ||
echo installing... | ||
config: {} | ||
lifecycle: | ||
v1: | ||
- render: | ||
root: do | ||
- render: | ||
root: undo | ||
assets: | ||
v1: | ||
- inline: | ||
dest: ./uninstall.sh | ||
contents: | | ||
#!/bin/sh | ||
echo uninstalling... | ||
13 changes: 13 additions & 0 deletions
13
integration/base/direct-render-with-root-2/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,13 @@ | ||
{ | ||
"v1": { | ||
"config": {}, | ||
"contentSHA": "8ce189bc6b0c8992933394cc4a15b17aa51e6a3bc70e2238785ae84581c86699", | ||
"metadata": { | ||
"applicationType": "replicated.app", | ||
"releaseNotes": "", | ||
"version": "" | ||
}, | ||
"releaseName": "ship", | ||
"upstream": "__upstream__" | ||
} | ||
} |
2 changes: 2 additions & 0 deletions
2
integration/base/direct-render-with-root-2/expected/do/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,2 @@ | ||
#!/bin/sh | ||
echo installing... |
2 changes: 2 additions & 0 deletions
2
integration/base/direct-render-with-root-2/expected/undo/uninstall.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/sh | ||
echo uninstalling... |
23 changes: 23 additions & 0 deletions
23
integration/base/direct-render-with-root-2/input/.ship/ship.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,23 @@ | ||
--- | ||
assets: | ||
v1: | ||
- inline: | ||
dest: ./install.sh | ||
contents: | | ||
#!/bin/sh | ||
echo installing... | ||
config: {} | ||
lifecycle: | ||
v1: | ||
- render: | ||
root: do | ||
- render: | ||
root: undo | ||
assets: | ||
v1: | ||
- inline: | ||
dest: ./uninstall.sh | ||
contents: | | ||
#!/bin/sh | ||
echo uninstalling... | ||
2 changes: 2 additions & 0 deletions
2
integration/base/direct-render-with-root-2/input/.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,2 @@ | ||
{ | ||
} |
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 @@ | ||
skip_cleanup: false | ||
disable_online: true |
22 changes: 22 additions & 0 deletions
22
integration/base/direct-render-with-root/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,22 @@ | ||
--- | ||
assets: | ||
v1: | ||
- inline: | ||
dest: ./install.sh | ||
contents: | | ||
#!/bin/sh | ||
echo installing... | ||
config: {} | ||
lifecycle: | ||
v1: | ||
- render: {} | ||
- render: | ||
root: ./ | ||
assets: | ||
v1: | ||
- inline: | ||
dest: ./uninstall.sh | ||
contents: | | ||
#!/bin/sh | ||
echo uninstalling... | ||
13 changes: 13 additions & 0 deletions
13
integration/base/direct-render-with-root/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,13 @@ | ||
{ | ||
"v1": { | ||
"config": {}, | ||
"contentSHA": "3a28dfd4ef900b7fc0ba9ce90626d3acc8b52d25afb6cf3a9464788343feb0c7", | ||
"metadata": { | ||
"applicationType": "replicated.app", | ||
"releaseNotes": "", | ||
"version": "" | ||
}, | ||
"releaseName": "ship", | ||
"upstream": "__upstream__" | ||
} | ||
} |
2 changes: 2 additions & 0 deletions
2
integration/base/direct-render-with-root/expected/installer/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,2 @@ | ||
#!/bin/sh | ||
echo installing... |
2 changes: 2 additions & 0 deletions
2
integration/base/direct-render-with-root/expected/uninstall.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/sh | ||
echo uninstalling... |
22 changes: 22 additions & 0 deletions
22
integration/base/direct-render-with-root/input/.ship/ship.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,22 @@ | ||
--- | ||
assets: | ||
v1: | ||
- inline: | ||
dest: ./install.sh | ||
contents: | | ||
#!/bin/sh | ||
echo installing... | ||
config: {} | ||
lifecycle: | ||
v1: | ||
- render: {} | ||
- render: | ||
root: ./ | ||
assets: | ||
v1: | ||
- inline: | ||
dest: ./uninstall.sh | ||
contents: | | ||
#!/bin/sh | ||
echo uninstalling... | ||
2 changes: 2 additions & 0 deletions
2
integration/base/direct-render-with-root/input/.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,2 @@ | ||
{ | ||
} |
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 @@ | ||
skip_cleanup: false | ||
disable_online: true |
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,23 @@ | ||
--- | ||
assets: | ||
v1: | ||
- inline: | ||
dest: ./install.sh | ||
contents: | | ||
#!/bin/sh | ||
echo installing... | ||
config: {} | ||
lifecycle: | ||
v1: | ||
- render: | ||
root: ./ | ||
- render: | ||
root: ./ | ||
assets: | ||
v1: | ||
- inline: | ||
dest: ./uninstall.sh | ||
contents: | | ||
#!/bin/sh | ||
echo uninstalling... | ||
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 @@ | ||
{ | ||
"v1": { | ||
"config": {}, | ||
"contentSHA": "d04ecc9031dc7f8670e54f5881c77fa3623910abdca3d54344939e6e3d4a3167", | ||
"metadata": { | ||
"applicationType": "replicated.app", | ||
"releaseNotes": "", | ||
"version": "" | ||
}, | ||
"releaseName": "ship", | ||
"upstream": "__upstream__" | ||
} | ||
} |
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/sh | ||
echo installing... |
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/sh | ||
echo uninstalling... |
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,23 @@ | ||
--- | ||
assets: | ||
v1: | ||
- inline: | ||
dest: ./install.sh | ||
contents: | | ||
#!/bin/sh | ||
echo installing... | ||
config: {} | ||
lifecycle: | ||
v1: | ||
- render: | ||
root: ./ | ||
- render: | ||
root: ./ | ||
assets: | ||
v1: | ||
- inline: | ||
dest: ./uninstall.sh | ||
contents: | | ||
#!/bin/sh | ||
echo uninstalling... | ||
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 @@ | ||
{ | ||
} |
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 @@ | ||
skip_cleanup: false | ||
disable_online: true |
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
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
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
Oops, something went wrong.