Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install package catalog using wsk project deploy #484

Merged
merged 2 commits into from
Sep 25, 2019

Conversation

dgrove-oss
Copy link
Member

No description provided.

@dgrove-oss
Copy link
Member Author

dgrove-oss commented Jun 25, 2019

Installing the catalog using wsk deploy as per this PR results in crashes from the cli. Need to investigate further...

/openwhisk-catalog/packages /
Installing OpenWhisk packages
Deploying /openwhisk-catalog/packages/combinators/ with pid 113
Deploying /openwhisk-catalog/packages/github/ with pid 114
Deploying /openwhisk-catalog/packages/slack/ with pid 115
Deploying /openwhisk-catalog/packages/utils/ with pid 116
Deploying /openwhisk-catalog/packages/watson-speechToText/ with pid 117
Deploying /openwhisk-catalog/packages/watson-textToSpeech/ with pid 119
Deploying /openwhisk-catalog/packages/weather/ with pid 124
Deploying /openwhisk-catalog/packages/websocket/ with pid 125
Deploying /openwhisk-catalog/packages/samples/ with pid 129
runtime error: invalid memory address or nil pointer dereference
Application exited unexpectedly
runtime error: invalid memory address or nil pointer dereference
Application exited unexpectedly
runtime error: invalid memory address or nil pointer dereference
Application exited unexpectedly
113 finished with status 0
runtime error: invalid memory address or nil pointer dereference
Application exited unexpectedly
runtime error: invalid memory address or nil pointer dereference
Application exited unexpectedly
runtime error: invalid memory address or nil pointer dereference
Application exited unexpectedly
114 finished with status 0
115 finished with status 0
116 finished with status 0
117 finished with status 0
119 finished with status 0
runtime error: invalid memory address or nil pointer dereference
Application exited unexpectedly
runtime error: invalid memory address or nil pointer dereference
Application exited unexpectedly
runtime error: invalid memory address or nil pointer dereference
Application exited unexpectedly
124 finished with status 0
125 finished with status 0
129 finished with status 0
open catalog ERRORS = 0

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.

installing catalog/samples with wskdeploy require
@dgrove-oss
Copy link
Member Author

Finally can make this change. Bug fix included in wsk 1.0.0 allows us to use wsk project to deploy catalog.

@chetanmeh
Copy link
Member

Would be good to link the wsk issue which was fixed

@dgrove-oss
Copy link
Member Author

dgrove-oss commented Sep 25, 2019

Good point. For the record, the issue in wskdeploy was apache/openwhisk-wskdeploy#1050, which was fixed in apache/openwhisk-wskdeploy#1059 by picking up a new version of client-go which included a bug fix (apache/openwhisk-client-go#123) for the root cause of the crash

@dgrove-oss dgrove-oss merged commit 32c71d6 into apache:master Sep 25, 2019
@dgrove-oss dgrove-oss deleted the catalog-2 branch September 25, 2019 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants