Commit Graph

36 Commits

Author SHA1 Message Date
Jamil
39d48aadb5 Don't accidentally swallow script errors (#1052)
* Don't accidentally swallow script errors

* add docs
2022-10-22 08:27:02 -07:00
Jamil
dd9841cd94 Polish install, migration script, docs (#1050)
* Checkpoint

* Checkpoint

* checkpoint

* fix typo

* Update migrate with changes

* UID and GID

* fix perms

* Remove custom user

* Fix migrate script typos

* fix grep

* remove cleverness

* migrate final fixes
2022-10-20 13:43:31 -07:00
Jamil
67c58a41c6 Postgres install (#1047)
* tweak sleep

* Show postgres log output
2022-10-19 07:18:50 -07:00
Jamil
27e6ddc293 Fix configure bug for admins (#1045)
* Allow admins to configure devices

* Disable SSL certs

* Update scripts/install.sh

Signed-off-by: Jamil <jamilbk@users.noreply.github.com>

Signed-off-by: Jamil <jamilbk@users.noreply.github.com>
2022-10-18 22:20:16 -07:00
Jamil
12274e9863 Make install script work on macOS (#1044) 2022-10-18 18:53:22 -07:00
Jamil
febbe806d6 use hostname, not public ip (#1041) 2022-10-18 14:23:30 -07:00
Jamil
b20b1336c4 docker_install -> install (#1040)
* Use install.sh

* rename docker_install -> install
2022-10-18 12:03:52 -07:00
Jamil
eb5a401f2a Rename docker install script (#1036)
* docker install

* Remove Linux enforcement from auto install
2022-10-17 15:20:48 -07:00
Jamil
701c36868e revert script name for now (#988) 2022-09-29 08:23:32 -05:00
Jamil
dd67baf629 Build docker image in build workflow; Update automatic install to use Docker (#983)
* Test docker prod build in CI

* Need uses

* Set build-args

* Split builds

* Fix build-args format

* wtf

* hmmm

* Jeebus

* build version based on drafted release

* Build multi-platform images

* Only build for supported platforms

* Use newer OTP fingers crossed

* Use OTP 24 for arm64

* Finalize test build of Docker image

* Update comment

* Bump to OTP 25.1

* Use proper ver

* D'oh proper sha

* Use OTP 24 and install python for node build

* Use new Docker base

* Use python3

* Use newly-built base images with other platform support

* Don't build for ppc64le and s390x

* Build only for amd64/arm64

* Don't rebuild on publish; simply copy

* See where the image is being pushed

* Remove echo

* Add docker updates

* Match platforms from base image

* Use docker-compose over docker compose

* Use our own base

* we need python3

* use consistent service name

* trim trailing slash from external_url

* Build for latest tag in staging
2022-09-29 08:20:32 -05:00
Andrew
be565a6897 Install script UX: ask to load wireguard mod & install missing deps for Debian repo (#907) 2022-08-09 14:23:29 -07:00
Andrew
c14c8463e0 Remove sudo from install script (#852) 2022-07-26 11:38:37 -07:00
Jamil
76ab472b87 Telemetry timeouts (#836) 2022-07-25 11:47:58 -07:00
Andrew
2f11771d59 Update install script and docs for Cloudsmith package repo (#809)
* Update install script to setup and install firezone from cloudsmith repo

* silence source repo file not found when removing

* Update docs with cloudsmith repo instructions, add feedback message to uninstall

* Fix supported platforms link

* add upgrade note to post install pkg script & only grep config file for check if it exists

* Clean up install server doc links

* use apt-get instead of apt, add RHEL 7,8,9 & OLS 7,8,9

* Use more cross platform compatible terminal text styles
2022-07-25 11:47:58 -07:00
Jamil
97a7089194 Detect Fedora 36 2022-06-28 16:59:11 -07:00
Jamil
fb5d242330 Dont error for failed capture calls (#735) 2022-06-19 15:56:49 -04:00
Jamil
f84df97c86 Update install script to support Ubuntu 22.04 (#733) 2022-06-18 10:52:46 -04:00
Jamil
38072974a8 Update install.sh
More descriptive distro check
2022-06-01 11:10:28 -07:00
Jamil
0d7939527d Fix kernelCheck order (#555) 2022-04-26 10:39:25 -07:00
Jamil
3d9f970b86 Add support for CentOS derivatives (#552)
Fixes #550
2022-04-22 09:18:24 -07:00
Jamil
2c5078e63f Add WireGuard preshared-keys to devices (#542)
* Add PSK support

* Add HTTP registered application name

* Better kernel check message

* Does order matter\?
2022-04-15 09:56:56 -07:00
Jamil
0c26b75825 Fix minor issues in install script (#536)
* Fix minor issues in install script

* Check for Linux
2022-04-11 14:24:08 -07:00
Jamil
923b6bd015 Match on Ubuntu 20.04 or 21.04 (#531)
Fixes #523
2022-04-08 14:02:31 -07:00
hieultan
d07386d7e3 Fix escape character error (#526) 2022-04-07 05:23:18 -07:00
Jamil
4fa5bedf1b 500/fix redirect local auth (#509)
* Allow config of ext url; show this after create-admin

* Use opts for ueberauth

* weird nil error

* get_env vs fetch_env

* Use integer

* Try new external_url thingo

* Fix callback_url

* Fix path suffix

* Fix markdownlint hiccup

* fix create admin

* Differentiate phoenix_port

* cron note; installscript fix; minor fqdn fixes

* Send full node obj to app_env

* Add db pass to config file
2022-04-05 14:43:00 -07:00
Jamil
cf774532dc Use public_ip for fqdn in install (#508)
* Use public_ip for fqdn in install

* Fix missing operand
2022-03-18 15:46:14 -05:00
Mark Percival
1bbc83bbcd Detect kernel module on install (#504) 2022-03-15 16:57:09 -05:00
Jamil
60f34ce6d9 add install bash script (#459)
* issue-187: getting some POC in for feedback 🐼

* updating install script

* install condition for dep|rpm 🐉 🔧

* ci checks looks like whitespace :ruby: :police:

* linter hrm maybe I run that locally

* :retab and match file extensions with neiborhing scripts

* using hostnamectl data to help determine which release to download

* self review

* testing on ubuntu reveals some logic to fix

* not sure if wireguard is on any of these images using this find process

* changes based on testing feedback

* using curl over wget to download the package

* applying changes from the test branch

* updating kernel check logic

* removing debugging code

* adding -r option when displaying kernal info

* Add install script polish (#493)

* Add install script polish

* don't remove firewall table

Co-authored-by: Debian <admin@ip-172-31-5-138.us-west-2.compute.internal>
Co-authored-by: Rob Ortiz <rob@dragonwrench.com>
Co-authored-by: Ubuntu <ubuntu@ip-172-31-1-124.us-west-2.compute.internal>
Co-authored-by: Rob Ortiz <robert.ortiz@gmail.com>
Co-authored-by: Rob Ortiz <robert.a.ortiz@gmail.com>
2022-03-04 10:38:25 -08:00
Jamil Bou Kheir
fe02faa91e install/uninstall better instructions 2021-09-23 23:36:40 -07:00
Jamil Bou Kheir
a8df3b7a3f Avoid bash 2021-09-12 22:15:10 +00:00
Jamil Bou Kheir
f432685d87 Add ExDoc, remove old packaging system 2021-09-09 20:57:48 +00:00
Jamil Bou Kheir
99bd1a795a Checkpoint before move to Omnibus 2021-08-04 07:39:36 -07:00
Jamil Bou Kheir
e2d363506a use installation script for install 2021-07-29 16:06:52 -07:00
Jamil Bou Kheir
e3b9214a97 Testing debs again 2021-07-08 15:27:15 -07:00
Jamil Bou Kheir
0d31568ff9 Remove setcap in install for now 2021-07-08 09:59:50 -07:00
Jamil Bou Kheir
7b16a54277 remove unused aliases 2021-06-30 11:14:39 -07:00