Whisk Deploy — GitHub Dependency

Priti Desai
Nov 20, 2017 · 1 min read

Whisk Deploy supports dependencies where it allows us to declare other OpenWhisk Packages that our project could be dependent on. With declaring dependent packages, Whisk Deploy supports automatic deployment of those dependent packages.

Any package with manifest.yaml and/or deployment.yaml can be treated as a dependent package and can be specified in our project manifest.yaml. We can declare this dependency in manifest.yaml with the following dependencies section:

Here, helloworlds is an external package with source code located in GitHub repo under https://github.com/apache/incubator-openwhisk-test. When we deploy our project RootProject, helloworlds will be deployed based on the manifest and deployment files located in the folder packages/helloworlds.

Now, we can also customize dependent package name and rename it to ChildProject instead of calling it helloworlds.

And we can also add multiple dependencies to multiple packages:

Enjoy!

Priti Desai

Written by

Developer Advocate @IBM. Implements #serverless with @openwhisk, @knative, & @tekton.

Apache OpenWhisk

Apache OpenWhisk is a serverless cloud platform that executes code in response to events

Priti Desai

Written by

Developer Advocate @IBM. Implements #serverless with @openwhisk, @knative, & @tekton.

Apache OpenWhisk

Apache OpenWhisk is a serverless cloud platform that executes code in response to events

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch

Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore

Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store