This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
echo "Thanks for testing openfaas/faas PR 304 -- Prefer user supplied parameter for remove and deploy" | |
echo "Make sure that openfaas is deployed to localhost Docker Swarm before running this test" | |
# Build faas-cli | |
echo "Building the code in the openfaas repo" | |
./build.sh | |
echo "Installing faas-cli 0.6.13 (will prompt for password)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hello from docker meetup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hello folks from the meetup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hello meetup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hello folks |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hello folks |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Store this |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version=$(curl -s https://api.github.com/repos/openfaas/faas-cli/releases/latest | grep 'tag_name' | cut -d\" -f4) | |
echo $version | |
if [ ! "$version" ]; then | |
echo "Failed while attempting to install faas-cli. Please manually install:" | |
echo "" | |
echo "1. Open your web browser and go to https://github.com/openfaas/faas-cli/releases" | |
echo "2. Download the latest release for your platform. Call it 'faas-cli'." | |
echo "3. chmod +x ./faas-cli" | |
echo "4. mv ./faas-cli /usr/local/bin" | |
echo "5. ln -sf /usr/local/bin/faas-cli /usr/local/bin/faas" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"icon": "https://pbs.twimg.com/profile_images/927538119901175814/4uhYwTyC_400x400.jpg", | |
"title": "Colorization", | |
"description": "Turn black and white photos to color using a URL as the request. The colorization function was popularised by @colorisebot by Alex Ellis and Finnian Anderson.", | |
"image": "localhost:5000/openfaas-colorization:0.4.0", | |
"name": "colorise", | |
"fprocess": "python -u index.py", | |
"network": "func_functions", | |
"repo_url": "https://github.com/alexellis/repaint-the-past", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Make sure you have your ~/.kube/config set up to point to the cluster you want. | |
kubectl create clusterrolebinding "cluster-admin-$(whoami)" \ | |
--clusterrole=cluster-admin \ | |
--user="$(gcloud config get-value core/account)" | |
helm repo add openfaas https://s3-us-west-2.amazonaws.com/openfaas-repo | |
helm search openfaas # Confirm that openfaas/openfaas exists | |
helm init | |
kubectl get all -n kube-system # Make sure that Tiller is at 1/1 status |
NewerOlder