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

Support a "Deploy to OpenWhisk" button #129

Open
krook opened this issue Feb 22, 2017 · 0 comments
Open

Support a "Deploy to OpenWhisk" button #129

krook opened this issue Feb 22, 2017 · 0 comments

Comments

@krook
Copy link

krook commented Feb 22, 2017

As discussed with @csantanapr and @mrutkows we should create a shared service (perhaps even an OpenWhisk web action) that can deploy resources from an arbitrary GitHub OpenWhisk demo application repo that has a wskdeploy manifest file in it.

This should be modeled on the existing tool for deploying samples to Bluemix Cloud Foundry apps.

From the end user point of view (for example, someone who is looking to deploy their first sample app) they will see a button in the README (or other location, such a blog post) that says "Deploy to OpenWhisk." When clicked, the service will create all the resources the user needs to see what the application can do.

In addition, this service can also be used to automate TravisCI build testing for sample apps, to ensure they work with the latest OpenWhisk API.

A flow for this shared service might look like this:

  1. User clicks the "Deploy to OpenWhisk" button
  2. Link invokes an HTTP call to some endpoint along with sample app GitHub repo URL and the current logged in user context.
  3. Service behind that HTTP call spins up a Docker container to clone the given repo, build the latest wskdeploy tool, and execute it with the repo's manifest file.
  4. When done, the user should be redirected to the Bluemix console where they can see all of their actions.

This tool can start with the first 3 OpenWhisk 101 projects, but should easily be generic to be used for any repo with a manifest file.

@krook krook changed the title Support a "Deploy to Bluemix" button Support a "Deploy to OpenWhisk" button Feb 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants