2020-08-25 14:09:27 UTC - KahHoe: Hi all, I am trying to deploy a simple Python 
zip action + API using manifest.yaml and Swagger spec. This is my 
`manifest.yaml`.
```Project:
  config: swagger.yaml
  packages:
    python:
      version: 1.0
      license: Apache-2.0
      actions:
        testPython:
          function: deploy
          runtime: python:3
          web: true```
This is my current directory structure where I will be running `wskdeploy`.
```.
+-- manifest.yaml
+-- swagger.yaml
+-- deploy
|       +-- virtualenv
|               +-- bin
|               +-- lib
|               +-- ...
|       +-- __main__.py```
While running `wskdeploy -m manifest.yaml -v` I found that the `deploy.zip` 
file prepared by `wskdeploy` is inclusive of the "deploy" folder path instead 
of only containing the files in deploy folder. When deployment is finished, 
invoking the action will return `Zip file does not include __main__.py` error. 
All I want to do is just to deploy everything in "deploy" folder as zip file.

Can I know how do I fix this issue? Thanks.
https://openwhisk-team.slack.com/archives/C79ALSWJJ/p1598364567003900
----

Reply via email to