This repository has been archived by the owner on Jun 13, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 177
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 #518 from silvin-lubecki/status-display-bundle-infos
Status display bundle infos
- Loading branch information
Showing
10 changed files
with
184 additions
and
9 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
4 changes: 2 additions & 2 deletions
4
e2e/testdata/cnab-with-status/bundle.json → ...tdata/cnab-with-docker-status/bundle.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
File renamed without changes.
File renamed without changes.
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 @@ | ||
{ | ||
"name": "cnab-with-standard-status", | ||
"version": "0.1.0", | ||
"invocationImages": [ | ||
{ | ||
"imageType": "docker", | ||
"image": "e2e/cnab-with-standard-status:v0.1.0" | ||
} | ||
], | ||
"actions": { | ||
"io.cnab.status": { | ||
"modifies": false | ||
} | ||
} | ||
} |
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 @@ | ||
#!/bin/sh | ||
|
||
action=$CNAB_ACTION | ||
name=$CNAB_INSTALLATION_NAME | ||
|
||
case $action in | ||
install) | ||
echo "Install action" | ||
;; | ||
uninstall) | ||
echo "uninstall action" | ||
;; | ||
upgrade) | ||
echo "Upgrade action" | ||
;; | ||
io.cnab.status) | ||
echo "Status action" | ||
;; | ||
*) | ||
echo "No action for $action" | ||
;; | ||
esac | ||
echo "Action $action complete for $name" |
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,7 @@ | ||
ARG ALPINE_VERSION=3.9.2 | ||
|
||
FROM alpine:${ALPINE_VERSION} | ||
|
||
COPY cnab/app/run /cnab/app/run | ||
|
||
CMD /cnab/app/run |
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