Change examples references to examples repostiory (#2038)
Since we recently migrated all fission examples to fission/examples repository, we need to change respective references. Signed-off-by: Sanket Sudake <sanketsudake@gmail.com>
This commit is contained in:
@@ -72,7 +72,7 @@ aggregation — also helps with ops on your Fission deployment.
|
||||
$ fission env create --name nodejs --image fission/node-env
|
||||
|
||||
# Create a function with a javascript one-liner that prints "hello world"
|
||||
$ fission function create --name hello --env nodejs --code https://raw.githubusercontent.com/fission/fission/master/examples/nodejs/hello.js
|
||||
$ fission function create --name hello --env nodejs --code https://raw.githubusercontent.com/fission/examples/master/nodejs/hello.js
|
||||
|
||||
# Run the function. This takes about 100msec the first time.
|
||||
$ fission function test --name hello
|
||||
|
||||
@@ -15,7 +15,7 @@ Windows:
|
||||
$ fission env create --name nodejs --image fission/node-env
|
||||
|
||||
# Get a hello world
|
||||
$ curl https://raw.githubusercontent.com/fission/fission/master/examples/nodejs/hello.js > hello.js
|
||||
$ curl https://raw.githubusercontent.com/fission/examples/master/nodejs/hello.js > hello.js
|
||||
|
||||
# Register this function with Fission
|
||||
$ fission function create --name hello --env nodejs --code hello.js
|
||||
|
||||
@@ -15,7 +15,7 @@ Windows:
|
||||
$ fission env create --name nodejs --image fission/node-env
|
||||
|
||||
# Get a hello world
|
||||
$ curl https://raw.githubusercontent.com/fission/fission/master/examples/nodejs/hello.js > hello.js
|
||||
$ curl https://raw.githubusercontent.com/fission/examples/master/nodejs/hello.js > hello.js
|
||||
|
||||
# Register this function with Fission
|
||||
$ fission function create --name hello --env nodejs --code hello.js
|
||||
|
||||
@@ -10,7 +10,7 @@ ROOT=$(dirname $0)/../..
|
||||
|
||||
env=nodejs-$TEST_ID
|
||||
fn=nodejs-hello-$TEST_ID
|
||||
code_url=https://raw.githubusercontent.com/fission/fission/master/examples/nodejs/hello.js
|
||||
code_url=https://raw.githubusercontent.com/fission/examples/master/nodejs/hello.js
|
||||
base64val=$(wget -O- ${code_url} | base64)
|
||||
|
||||
cleanup() {
|
||||
|
||||
Reference in New Issue
Block a user