2021-02-21 03:40:39 UTC - kingledion: Hello, I have a pull request in to add support for .zip files with cargo builds for Rust: <https://github.com/apache/openwhisk-wskdeploy/pull/1119> https://openwhisk-team.slack.com/archives/C79ALSWJJ/p1613878839001300 ---- 2021-02-21 03:42:32 UTC - kingledion: This branch is working for me for local deployments. I’m having trouble with the .rs file extension, however. In practice it doesn’t really matter, you can easily make everything a zip file using Cargo for dependency management.
I have a unit test here for the .rs file extention that will not pass because it is not identifying the kind associated with the .rs file: <https://github.com/apache/openwhisk-wskdeploy/pull/1119/files#diff-dad163373825c7f1dde5b295dfde7270364467dd40def2fdec6d266176a8418bL159> https://openwhisk-team.slack.com/archives/C79ALSWJJ/p1613878952003400 ---- 2021-02-21 03:44:26 UTC - kingledion: My theory here is that the kind for rust needs to be defined at some remote location used in the call to this function: <https://github.com/apache/openwhisk-wskdeploy/blob/master/runtimes/runtimes.go#L98>. Updating the `RUNTIME_DETAILS` in that file does not appear to be working. https://openwhisk-team.slack.com/archives/C79ALSWJJ/p1613879066004600?thread_ts=1613879066.004600&cid=C79ALSWJJ ---- 2021-02-21 12:41:27 UTC - Rodric Rabbah: Check your openwhisk api host at does it include rust? iirc the manifest is read from the api host. (See <https://github.com/apache/openwhisk-wskdeploy/issues/929|https://github.com/apache/openwhisk-wskdeploy/issues/929>) https://openwhisk-team.slack.com/archives/C79ALSWJJ/p1613911287007300?thread_ts=1613879066.004600&cid=C79ALSWJJ ---- 2021-02-21 15:50:07 UTC - kingledion: Whatever I have set up locally at <https://localhost:31001> returns that rust is a valid runtime, but the test at `runtimes/runtimes_test.go` is hardcoded to use `"<https://openwhisk.ng.bluemix.net>"` which does not return that rust is a valid runtime. How can I change what is returned at bluemix? I’m looking for the GET endpoint that returns the runtimes; I figured it would be in `openwhisk` repo, but can’t find it. If you could point me in the right direction I could change it so that it shows that rust is supported. https://openwhisk-team.slack.com/archives/C79ALSWJJ/p1613922607007500?thread_ts=1613879066.004600&cid=C79ALSWJJ ---- 2021-02-21 16:35:06 UTC - Rodric Rabbah: > How can I change what is returned at bluemix? that’s for ibm to fix this is a bug - really should not depend on an external service in the test cc @Matt Rutkowski https://openwhisk-team.slack.com/archives/C79ALSWJJ/p1613925306007700?thread_ts=1613879066.004600&cid=C79ALSWJJ ---- 2021-02-21 16:35:52 UTC - Rodric Rabbah: did you try using the `--strict` flag? https://openwhisk-team.slack.com/archives/C79ALSWJJ/p1613925352008000?thread_ts=1613879066.004600&cid=C79ALSWJJ ---- 2021-02-21 16:37:59 UTC - kingledion: yes! that works locally, but won’t work for the travis ci pipeline https://openwhisk-team.slack.com/archives/C79ALSWJJ/p1613925479008200?thread_ts=1613879066.004600&cid=C79ALSWJJ ---- 2021-02-21 16:38:54 UTC - kingledion: hmmm maybe it will, I should test that https://openwhisk-team.slack.com/archives/C79ALSWJJ/p1613925534008400?thread_ts=1613879066.004600&cid=C79ALSWJJ ----