From 42c22a7bbba64967439309fde945c6400be03faa Mon Sep 17 00:00:00 2001 From: Sanket Sudake Date: Mon, 24 May 2021 13:25:32 +0530 Subject: [PATCH] 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 --- README.md | 2 +- charts/fission-all/templates/NOTES.txt | 2 +- charts/fission-core/templates/NOTES.txt | 2 +- test/tests/test_create_fn_with_url.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 945a70ab..6a664c42 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/charts/fission-all/templates/NOTES.txt b/charts/fission-all/templates/NOTES.txt index 9821837a..0ab1b1de 100644 --- a/charts/fission-all/templates/NOTES.txt +++ b/charts/fission-all/templates/NOTES.txt @@ -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 diff --git a/charts/fission-core/templates/NOTES.txt b/charts/fission-core/templates/NOTES.txt index 9821837a..0ab1b1de 100644 --- a/charts/fission-core/templates/NOTES.txt +++ b/charts/fission-core/templates/NOTES.txt @@ -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 diff --git a/test/tests/test_create_fn_with_url.sh b/test/tests/test_create_fn_with_url.sh index 955f9224..b3ca1d07 100755 --- a/test/tests/test_create_fn_with_url.sh +++ b/test/tests/test_create_fn_with_url.sh @@ -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() {