Skip to content

Commit

Permalink
install package catalog using wsk project deploy (#484)
Browse files Browse the repository at this point in the history
1. install package catalog using `wsk project deploy`

2. include Swift in runtimes-minimal-travis.json
because wskdeploy validates that the runtime is actually supported
by the target system when deploying actions. Therefore to
install the samples package from the wsk catalog, the minimal
runtimes used for TravisCI must include Swift.
  • Loading branch information
dgrove-oss authored Sep 25, 2019
1 parent f33d916 commit 32c71d6
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion helm/openwhisk/configMapFiles/installPackages/myTask.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ pushd openwhisk-catalog
popd

pushd openwhisk-catalog/packages
./installCatalog.sh $WHISK_AUTH $WHISK_API_HOST /usr/local/bin/wsk || exit 1
./installCatalogUsingWskdeploy.sh $WHISK_AUTH $WHISK_API_HOST /usr/local/bin/wsk || exit 1
popd


Expand Down
16 changes: 16 additions & 0 deletions helm/openwhisk/runtimes-minimal-travis.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,22 @@
},
"deprecated": false
}
],
"swift": [
{
"kind": "swift:4.2",
"default": true,
"image": {
"prefix": "openwhisk",
"name": "action-swift-v4.2",
"tag": "1.13.0-incubating"
},
"deprecated": false,
"attached": {
"attachmentName": "codefile",
"attachmentType": "text/plain"
}
}
]
},
"blackboxes": [
Expand Down

0 comments on commit 32c71d6

Please sign in to comment.