Alex Ellis (OpenFaaS Ltd)
6b6ff71c29
Update to containerd 1.6.8
...
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
2022-08-18 12:15:33 +01:00
Alex Ellis (OpenFaaS Ltd)
bb5b212663
Fix installation script for containerd on armhf
...
Fixes #295
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
2022-08-18 11:19:13 +01:00
Richard Gee
2b0cbeb25d
Replace literal sudo with var
...
Signed-off-by: Richard Gee <richard@technologee.co.uk>
2022-06-18 10:46:02 +01:00
Johan Siebens
d29f94a8d4
set HOME variable when not available, e.g when running with cloud-init
...
Signed-off-by: Johan Siebens <johan.siebens@gmail.com>
2022-06-08 22:34:17 +01:00
Han Verstraete (OpenFaaS Ltd)
c5b463bee9
Add comment to explain arkade full path usage
...
Signed-off-by: Han Verstraete (OpenFaaS Ltd) <han@openfaas.com>
2022-06-02 08:56:36 +01:00
Richard Gee
c0c4f2d068
Make progress silent for faas-cli install
...
Signed-off-by: Richard Gee <richard@technologee.co.uk>
2022-06-02 08:47:55 +01:00
Han Verstraete (OpenFaaS Ltd)
309310140c
Fix install script on CentOS
...
- Use full path to arkade binary when running with sudo
- Install iptables
Signed-off-by: Han Verstraete (OpenFaaS Ltd) <han@openfaas.com>
2022-05-30 12:36:51 +01:00
Nitishkumar Singh
a88997e42c
system install using arakde
...
Signed-off-by: Nitishkumar Singh <nitishkumarsingh71@gmail.com>
install faas-cli using arkade
Signed-off-by: Nitishkumar Singh <nitishkumarsingh71@gmail.com>
caddy installation moved to arkade
Signed-off-by: Nitishkumar Singh <nitishkumarsingh71@gmail.com>
corrected caddy cli name
Signed-off-by: Nitishkumar Singh <nitishkumarsingh71@gmail.com>
2022-05-30 10:52:14 +01:00
Alex Ellis (OpenFaaS Ltd)
02e9b9961b
Migrate to containerd v1.6.4
...
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
2022-05-25 12:49:58 +01:00
Alex Ellis (OpenFaaS Ltd)
37c63a84a5
Fix installation of Caddy on armhf and ARM64
...
Fixes : #268 . Thanks also to @cheney-yan.
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
2022-05-03 16:27:13 +01:00
Alex Ellis (OpenFaaS Ltd)
bc88d6170c
Update pipefail to include x
...
To mark which commands are inputs vs outputs
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
2022-04-10 19:26:51 +01:00
Alex Ellis
fe057fbcf8
Move containerd version in install.sh
2022-04-10 18:53:06 +01:00
Haris Razis
b44f57ce4d
Fix for #215
...
Now the shell script exits if it encounters an error, instead of continuing.
Signed-off-by: Haris Razis <haris@razis.com>
2022-04-10 18:46:25 +01:00
Alex Ellis (OpenFaaS Ltd)
912ac265f4
Upgrade containerd to 1.6.2 and CNI to 0.9.1
...
Upgrades containerd, and switches to the official 64-bit ARM
binary.
Continues to use my binary for 32-bit arm hosts.
CNI upgraded to v0.9.1
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
2022-04-10 18:45:42 +01:00
Ramesh Vijayaraghavan
ab4708246d
Removed iptables dependency for Red Hat / CentOS and Arch Linux
...
Signed-off-by: Ramesh Vijayaraghavan <rvramesh@gmail.com>
2022-02-21 09:45:17 +00:00
Ramesh Vijayaraghavan
b807ff0725
Updated install.sh to include iptables
...
iptables dependency is required for debian bullseye support
Signed-off-by: Ramesh Vijayaraghavan <rvramesh@gmail.com>
2022-02-21 09:45:17 +00:00
Jacob Palecek
e76d0d34ba
Add pacman to the install script
...
The install.sh script was modified to include a test for the pacman package manager, and to use it should it be present.
This is necessary for the script to work on Arch based Linux distributions, or more generally ones that use pacman as their main package manager.
It was tested by simply trying it out on two local machines, one running Manjaro, one running Arch. In both cases it worked as expected, and without error.
Signed-off-by: Jacob Palecek <jacob.palecek@outlook.com>
2021-09-15 12:50:04 +01:00
Shikachuu
b8ada0d46b
Changed default and fallback host_dir
...
Have to change them since we are trying to resolve system services and the system services are in the /var/lib/faasd/hosts file instead of /var/lib/faasd-provider/hosts file.
Signed-off-by: Shikachuu <zcmate@gmail.com>
2021-09-15 12:42:02 +01:00
Shikachuu
1e9d8fffa0
Updated the env-var usage, as requested from the review of alexellis on the previous PR by utsavanand2
...
https://github.com/openfaas/faasd/pull/154#discussion_r608777877
Signed-off-by: Shikachuu <zcmate@gmail.com>
2021-09-15 12:42:02 +01:00
Alex Ellis (OpenFaaS Ltd)
6b840f0226
Upgrade scripts for faasd 0.13.0
...
Upgrade to 0.13.0 and add build script for containerd on arm64
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
2021-07-27 10:36:22 +01:00
Alex Ellis (OpenFaaS Ltd)
12ada59bf1
Update to containerd v1.5.4
...
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
2021-07-27 10:30:12 +01:00
Mark Sharpley
9f1b5e2f7b
[FIX] 2.2.1 version of caddy does not start with systemd on Ubuntu. Updated to 2.4.3
...
Signed-off-by: Mark Sharpley <msh@Marks-MacBook-Pro.local>
2021-07-13 11:51:25 +01:00
albertkohl-monotek
e99c49d4e5
Fixes #162 Adds Sudo to ipv4 forwarding
...
updated install.sh to SUDO for /sbin/sysctl
-w net.ipv4.conf.all.forwarding=1
this prevents permission issue on ubuntu
Signed-off-by: albertkohl-monotek <albert.kohl@mono-tek.com>
2021-02-18 10:02:21 +00:00
Alex Ellis (OpenFaaS Ltd)
1aa7a2a320
Fix script to determine download location
...
Fixes : #148
Related to: https://github.com/openfaas/cli.openfaas.com/pull/6
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
2021-01-13 14:37:23 +00:00
Johan Siebens
9cdcac2c5c
make email address optional
...
Signed-off-by: Johan Siebens <johan.siebens@gmail.com>
2020-12-20 21:05:17 +00:00
Johan Siebens
a8a3d73bc0
add Caddy to the install script
...
Signed-off-by: Johan Siebens <johan.siebens@gmail.com>
2020-12-20 21:05:17 +00:00
Alex Ellis
a7f74f5163
Use Go 1.13 for builder
2020-12-03 20:31:24 +00:00
Alex Ellis (OpenFaaS Ltd)
0d9c846117
Minor fixes for installation
...
The containerd service was masked due to docker being installed
on the host already.
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
2020-11-18 11:07:02 +00:00
Johan Siebens
8db2e2a54f
Add arm64 support for cni plugins
...
Signed-off-by: Johan Siebens <johan.siebens@gmail.com>
2020-11-18 10:57:08 +00:00
Alex Ellis (OpenFaaS Ltd)
1da2763a96
Add arm64 support
...
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
2020-10-24 09:45:00 +01:00
Alex Ellis (OpenFaaS Ltd)
2248a8a071
Move hashgen into Makefile
...
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
2020-10-22 22:31:53 +01:00
Johan Siebens
b40a7cbe58
add bash script to reduce duplication of installation steps
...
Signed-off-by: Johan Siebens <johan.siebens@gmail.com>
2020-10-19 13:56:27 +01:00
Alex Ellis (OpenFaaS Ltd)
6c48911412
Create SHASUMS
...
Closes : #111
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
2020-09-22 09:21:25 +01:00
Alex Ellis (OpenFaaS Ltd)
283e8ed2c1
Fix provider name to faasd-provider
...
Not sure how this got reverted / affected, but was wrong. The
name "faas-containerd" is gone and not in use.
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
2020-02-04 20:00:08 +00:00
Alex Ellis (OpenFaaS Ltd)
bacf8ebad5
Move faas-containerd to faasd-provider unit file
...
The new unit file runs the merged faasd binary and the provider
command. The install script also prints out a sample login
command to make it easier to use the faas-cli.
Travis / CI has been updated to run the new steps in the e2e
tests.
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
2020-01-21 13:43:39 +00:00
Alex Ellis (OpenFaaS Ltd)
d551721649
Run faasd provider command in systemd
...
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
2020-01-21 13:43:39 +00:00
Alex Ellis (OpenFaaS Ltd)
a3392634a7
Enable basic-auth on faas-containerd
...
There was a missing basic_auth environment variable which would
have left a machine vulnerable if discovered.
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
2020-01-10 18:57:24 +00:00
Alex Ellis (OpenFaaS Ltd)
d135999d3b
Set working directory for faasd / faas-containerd
...
* faasd writes secrets to wd + /secrets/*
* faas-containerd is passed a custom path to use to load the
secrets
Both services gain their work /run/ folders for temporary and
working files. Tested on RPi3 e2e with faasd install.
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
2020-01-05 12:00:43 +00:00
Alex Ellis (OpenFaaS Ltd)
3068d03279
Set wd to /run/faasd
...
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
2020-01-05 12:00:43 +00:00
Alex Ellis
fd4f53fe15
Update faas-containerd.service
2020-01-05 09:23:19 +00:00
Mark
e6b814fd60
Add basic_auth env variable to faas-containerd.service
...
Fixes #11
Having this env variable set enables basic authentication for faas-containerd.
Signed-off-by: Mark Sharpley <mcs94@cam.ac.uk>
2020-01-05 08:32:01 +00:00
Alex Ellis (OpenFaaS Ltd)
52baca9d17
Update download location of Go
...
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
2019-12-29 12:00:54 +00:00
Alex Ellis (OpenFaaS Ltd)
6230d3504e
Run faasd from /usr/local/bin
...
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
2019-12-28 16:09:02 +00:00
Alex Ellis (OpenFaaS Ltd)
ad97b6db58
Add systemd utility package
...
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
2019-12-24 09:12:34 +00:00
Alex Ellis (OpenFaaS Ltd)
5bb68e15f5
Check for dependencies before installing
...
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
2019-12-24 09:01:34 +00:00