This is an automated email from the ASF dual-hosted git repository.
git-site-role pushed a commit to branch asf-site
in repository
https://gitbox.apache.org/repos/asf/incubator-openwhisk-website.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 5589f78 Automatic Site Publish by Jenkins
5589f78 is described below
commit 5589f78f055c29e4f49e6d1baded43624c3535d9
Author: jenkins <[email protected]>
AuthorDate: Wed Aug 15 18:22:34 2018 +0000
Automatic Site Publish by Jenkins
---
documentation.html | 49 ++++++++++++++++++++++++++++++++++++++++++++-----
feed.xml | 2 +-
2 files changed, 45 insertions(+), 6 deletions(-)
diff --git a/documentation.html b/documentation.html
index 3cdb231..e025ed0 100644
--- a/documentation.html
+++ b/documentation.html
@@ -873,13 +873,13 @@ function closeIndex() {
<a
href="https://github.com/apache/incubator-openwhisk/blob/master/docs/actions.md#languages-and-runtimes">Here</a>
is the list of runtimes supported by OpenWhisk:
<ul>
- <li><a
href="https://github.com/apache/incubator-openwhisk-runtime-nodejs/blob/master/README.md">JavaScript</a>
- OpenWhisk runtime for Node.js v6 and v8</li>
+ <li><a href="#nodejs">JavaScript</a> - OpenWhisk
runtime for Node.js v6 and v8</li>
<li><a
href="https://github.com/apache/incubator-openwhisk-runtime-docker/blob/master/README.md">Docker</a>
- OpenWhisk runtime for Docker Actions using SDK</li>
- <li><a
href="https://github.com/apache/incubator-openwhisk-runtime-go/blob/master/README.md">Go</a>
- OpenWhisk runtime for Go lang</li>
- <li><a
href="https://github.com/apache/incubator-openwhisk-runtime-php/blob/master/README.md">PHP</a>
- OpenWhisk runtime for PHP 7.2 and 7.1</li>
- <li><a
href="https://github.com/apache/incubator-openwhisk-runtime-python/blob/master/README.md">Python</a>
- OpenWhisk runtime for Python 2.7 and 3</li>
+ <li><a href="#go">Go</a> - OpenWhisk runtime for Go
lang</li>
+ <li><a href="#php">PHP</a> - OpenWhisk runtime for PHP
7.2 and 7.1</li>
+ <li><a href="#python">Python</a> - OpenWhisk runtime
for Python 2.7 and 3</li>
<li><a
href="https://github.com/apache/incubator-openwhisk-runtime-swift/blob/master/README.md">Swift</a>
- OpenWhisk runtime for Swift 3 and 4</li>
- <li><a
href="https://github.com/apache/incubator-openwhisk-runtime-java/blob/master/README.md">Java</a>
- OpenWhisk runtime for Java 8</li>
+ <li><a href="#java">Java</a> - OpenWhisk runtime for
Java 8</li>
</ul>
</p>
<p>
@@ -1212,6 +1212,7 @@ function closeIndex() {
please refer to the section on <a
href="#wsk-cli">Configure the wsk CLI</a> to configure it.
</p>
<ol>
+ <a class="indexable" id="hello-go"></a>
<li style="list-style-type: decimal">Create a file named
<i>hello.go</i>:</li>
<div class="terminal">
@@ -1293,6 +1294,44 @@ function closeIndex() {
<span class="pi">}</span></code></pre></figure>
</div>
+ <li style="list-style-type: decimal">Deploy using
<i>wskdeploy</i>:</li>
+ <p>
+ <strong>Note:</strong> We will be using
<i>wskdeploy</i> in this section. If you don't have the binary,
+ please refer to the section on <a
href="#wskdeploy">Whisk Deploy</a> to download it.
+ </p>
+ <ol>
+ <li>Create a directory called <i>actions</i> with
<i>hello.go</i> from step 1 <a href="#hello-go">above</a>.</li>
+ <li>Create an executable called <i>exec</i> using
<i>hello.go</i>:</li>
+ <div class="terminal">
+
+<figure class="highlight"><pre><code class="language-bash"
data-lang="bash"><span class="gp">$ </span><span class="nb">cd </span>actions/
+<span class="gp">$ </span><span class="nv">GOOS</span><span
class="o">=</span>linux <span class="nv">GOARCH</span><span
class="o">=</span>amd64 go build -o <span
class="nb">exec</span></code></pre></figure>
+
+ </div>
+ <li>Create <i>manifest.yaml</i> with the following
YAML content:</li>
+ <div class="terminal">
+
+<figure class="highlight"><pre><code class="language-yaml"
data-lang="yaml"><table style="border-spacing: 0"><tbody><tr><td class="gutter
gl" style="text-align: right"><pre class="lineno">1
+2
+3
+4
+5
+6</pre></td><td class="code"><pre><span class="s">packages</span><span
class="pi">:</span>
+ <span class="s">default</span><span class="pi">:</span>
+ <span class="s">actions</span><span class="pi">:</span>
+ <span class="s">helloGo</span><span class="pi">:</span>
+ <span class="s">function</span><span class="pi">:</span> <span
class="s">actions/</span>
+ <span class="s">native</span><span class="pi">:</span> <span
class="s">true</span><span class="w">
+</span></pre></td></tr></tbody></table></code></pre></figure>
+
+ </div>
+ <li>Run deployment with <i>wskdeploy</i>:</li>
+ <div class="terminal">
+
+<figure class="highlight"><pre><code class="language-bash"
data-lang="bash"><span class="gp">$ </span>wskdeploy -m
manifest.yaml</code></pre></figure>
+
+ </div>
+ </ol>
</ol>
<a class="indexable" id="go-runtime"></a>
<h5>OpenWhisk Runtime for Go</h5>
diff --git a/feed.xml b/feed.xml
index dedddd8..b03d9b0 100644
--- a/feed.xml
+++ b/feed.xml
@@ -1,2 +1,2 @@
-<?xml version="1.0" encoding="utf-8"?><feed
xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/"
version="3.3.0">Jekyll</generator><link href="/feed.xml" rel="self"
type="application/atom+xml" /><link href="/" rel="alternate" type="text/html"
/><updated>2018-08-15T15:47:40+00:00</updated><id>/</id><title
type="html">Apache OpenWhisk is a serverless, open source cloud
platform</title><subtitle>An open source platform for serverless, event-driven
code at any scale. W [...]
+<?xml version="1.0" encoding="utf-8"?><feed
xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/"
version="3.3.0">Jekyll</generator><link href="/feed.xml" rel="self"
type="application/atom+xml" /><link href="/" rel="alternate" type="text/html"
/><updated>2018-08-15T18:22:29+00:00</updated><id>/</id><title
type="html">Apache OpenWhisk is a serverless, open source cloud
platform</title><subtitle>An open source platform for serverless, event-driven
code at any scale. W [...]
</subtitle></feed>
\ No newline at end of file