From 3ce724512bc33eb8f593ed4ef1b7379d823ace5a Mon Sep 17 00:00:00 2001 From: Utsav Anand Date: Mon, 21 Sep 2020 16:24:16 +0530 Subject: [PATCH] Update faasd version in cloud-config to 0.9.5 Signed-off-by: Utsav Anand --- README.md | 2 +- cloud-config.txt | 4 ++-- docs/DEV.md | 2 +- docs/bootstrap/cloud-config.tpl | 4 ++-- docs/bootstrap/digitalocean-terraform/cloud-config.tpl | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index cb42c95..c88e0e6 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ You can run this tutorial on your Raspberry Pi, or adapt the steps for a regular Automate everything within < 60 seconds and get a public URL and IP address back. Customise as required, or adapt to your preferred cloud such as AWS EC2. -* [Provision faasd 0.8.1 on DigitalOcean with Terraform 0.12.0](docs/bootstrap/README.md) +* [Provision faasd 0.9.5 on DigitalOcean with Terraform 0.12.0](docs/bootstrap/README.md) * [Provision faasd on DigitalOcean with built-in TLS support](docs/bootstrap/digitalocean-terraform/README.md) diff --git a/cloud-config.txt b/cloud-config.txt index c093ffa..acd6083 100644 --- a/cloud-config.txt +++ b/cloud-config.txt @@ -17,8 +17,8 @@ runcmd: - mkdir -p /opt/cni/bin - curl -sSL https://github.com/containernetworking/plugins/releases/download/v0.8.5/cni-plugins-linux-amd64-v0.8.5.tgz | tar -xz -C /opt/cni/bin - mkdir -p /go/src/github.com/openfaas/ -- cd /go/src/github.com/openfaas/ && git clone https://github.com/openfaas/faasd && git checkout 0.9.2 -- curl -fSLs "https://github.com/openfaas/faasd/releases/download/0.9.2/faasd" --output "/usr/local/bin/faasd" && chmod a+x "/usr/local/bin/faasd" +- cd /go/src/github.com/openfaas/ && git clone https://github.com/openfaas/faasd && git checkout 0.9.5 +- curl -fSLs "https://github.com/openfaas/faasd/releases/download/0.9.5/faasd" --output "/usr/local/bin/faasd" && chmod a+x "/usr/local/bin/faasd" - cd /go/src/github.com/openfaas/faasd/ && /usr/local/bin/faasd install - systemctl status -l containerd --no-pager - journalctl -u faasd-provider --no-pager diff --git a/docs/DEV.md b/docs/DEV.md index 541f634..86e9ccf 100644 --- a/docs/DEV.md +++ b/docs/DEV.md @@ -231,7 +231,7 @@ export SUFFIX="-armhf" export SUFFIX="-arm64" # Then download -curl -fSLs "https://github.com/openfaas/faasd/releases/download/0.8.2/faasd$SUFFIX" \ +curl -fSLs "https://github.com/openfaas/faasd/releases/download/0.9.5/faasd$SUFFIX" \ -o "/tmp/faasd" \ && chmod +x "/tmp/faasd" sudo mv /tmp/faasd /usr/local/bin/ diff --git a/docs/bootstrap/cloud-config.tpl b/docs/bootstrap/cloud-config.tpl index 365f6de..6b651ff 100644 --- a/docs/bootstrap/cloud-config.tpl +++ b/docs/bootstrap/cloud-config.tpl @@ -19,8 +19,8 @@ runcmd: - mkdir -p /var/lib/faasd/secrets/ - echo ${gw_password} > /var/lib/faasd/secrets/basic-auth-password - echo admin > /var/lib/faasd/secrets/basic-auth-user -- cd /go/src/github.com/openfaas/ && git clone https://github.com/openfaas/faasd && cd faasd && git checkout 0.9.2 -- curl -fSLs "https://github.com/openfaas/faasd/releases/download/0.9.2/faasd" --output "/usr/local/bin/faasd" && chmod a+x "/usr/local/bin/faasd" +- cd /go/src/github.com/openfaas/ && git clone https://github.com/openfaas/faasd && cd faasd && git checkout 0.9.5 +- curl -fSLs "https://github.com/openfaas/faasd/releases/download/0.9.5/faasd" --output "/usr/local/bin/faasd" && chmod a+x "/usr/local/bin/faasd" - cd /go/src/github.com/openfaas/faasd/ && /usr/local/bin/faasd install - systemctl status -l containerd --no-pager - journalctl -u faasd-provider --no-pager diff --git a/docs/bootstrap/digitalocean-terraform/cloud-config.tpl b/docs/bootstrap/digitalocean-terraform/cloud-config.tpl index 1642ec0..199e77e 100644 --- a/docs/bootstrap/digitalocean-terraform/cloud-config.tpl +++ b/docs/bootstrap/digitalocean-terraform/cloud-config.tpl @@ -41,8 +41,8 @@ runcmd: - mkdir -p /var/lib/faasd/secrets/ - echo ${gw_password} > /var/lib/faasd/secrets/basic-auth-password - echo admin > /var/lib/faasd/secrets/basic-auth-user -- cd /go/src/github.com/openfaas/ && git clone https://github.com/openfaas/faasd && cd faasd && git checkout 0.9.2 -- curl -fSLs "https://github.com/openfaas/faasd/releases/download/0.9.2/faasd" --output "/usr/local/bin/faasd" && chmod a+x "/usr/local/bin/faasd" +- cd /go/src/github.com/openfaas/ && git clone https://github.com/openfaas/faasd && cd faasd && git checkout 0.9.5 +- curl -fSLs "https://github.com/openfaas/faasd/releases/download/0.9.5/faasd" --output "/usr/local/bin/faasd" && chmod a+x "/usr/local/bin/faasd" - cd /go/src/github.com/openfaas/faasd/ && /usr/local/bin/faasd install - systemctl status -l containerd --no-pager - journalctl -u faasd-provider --no-pager