Commit Graph

2775 Commits

Author SHA1 Message Date
Daniel Goldberg bd79ead2e6 Shell script cleanups 2020-02-10 13:53:24 +02:00
Daniel Goldberg 892096a3b3 Make sure all echo statements are prefixed with the log_message prefix 2020-02-10 13:50:32 +02:00
Daniel Goldberg 2aa7299103 Turn agent download into optional, default parameter to true 2020-02-10 13:48:12 +02:00
Daniel Goldberg abbb68ecb8 Random fixups in run.sh 2020-02-09 15:17:14 +02:00
Daniel Goldberg 5b6c6a34f6 Make shellcheck shut up by double quoting all the things 2020-02-09 15:16:16 +02:00
Daniel Goldberg 78352a250a Update linux binary URLs to be 1.7 2020-02-09 12:06:05 +02:00
Daniel Goldberg 4b0de32c3d Fix mistake in log message 2020-02-09 12:02:57 +02:00
Daniel Goldberg 3990e354b2 Add error handling.
Remove usage of cd
2020-02-09 11:53:06 +02:00
Daniel Goldberg f745f45940 Move to single line of code for creating certs on linux 2020-02-09 11:37:25 +02:00
Daniel Goldberg 8e109c4824 Don't randomly install npm unless required 2020-02-09 11:31:12 +02:00
Daniel Goldberg 6429bb5597 Typofix on where to download binaries 2020-02-09 11:27:10 +02:00
Daniel Goldberg 0c82f0e98f Don't randomly install mongod unless required 2020-02-09 11:20:43 +02:00
Daniel Goldberg fe9ff0d329 Newline at end of deploy_windows.ps1 2020-02-09 11:14:30 +02:00
Daniel Goldberg c10f20f4b7 First install NPM then change directories 2020-02-09 11:13:17 +02:00
Daniel Goldberg 798babe4cc Updated mongodb downloads. Support deb10 2020-02-09 11:07:41 +02:00
Daniel Goldberg e4812d401a Add some log comments 2020-02-09 11:04:45 +02:00
Daniel Goldberg 0c9a333976 Prefer wget/curl depending on situation (saving files)
Revert using curl/wget exists variables.
typo fix when pulling config with wget
2020-02-09 11:01:03 +02:00
Daniel Goldberg 5f8453dbae Delete temp config file from PS script 2020-02-08 23:25:10 +02:00
Daniel Goldberg 9af93be7f6 Handle either curl or wget seemlessly. 2020-02-08 23:24:25 +02:00
Daniel Goldberg 52d2b6f73d Remove reference to CMD. It's 2020 2020-02-08 22:37:01 +02:00
Shay Nehmad e183f44d14 Improved deployment_scripts/README.md
Fix linter errors and improve English + security recommendations.
2020-02-04 15:08:59 +02:00
Daniel Goldberg e226e74100 No more need for run_script.bat.
Cleaned up README.md visually
2020-02-03 12:18:02 +02:00
Daniel Goldberg 161265e4c4 Remove config.ps1 after loading the configuration 2020-02-03 11:16:00 +02:00
Daniel Goldberg c53806e789 Missing URL path parameter 2020-02-03 11:15:46 +02:00
Daniel Goldberg 9edce17297 Install Pywin32 using pip now 2020-02-03 10:32:47 +02:00
Daniel Goldberg 66a5133a61 Update a lot of URLs and restructure them 2020-02-03 10:32:34 +02:00
Daniel Goldberg aa3442195b Fix syntax errors in PS 2020-02-03 09:59:19 +02:00
Daniel Goldberg 59f9e487bb Update binary links for Windows 2020-02-03 09:59:09 +02:00
Daniel Goldberg 5ecbc5f7a4 Add build-essential command 2020-02-03 09:49:01 +02:00
Daniel Goldberg 2a6c2d5836 Add get-pip command 2020-02-03 09:16:11 +02:00
Daniel Goldberg fb98a9fa12 Consolidate apt install commands 2020-02-03 09:15:22 +02:00
Daniel Goldberg 2d5dbf0b53 Remove unused variables 2020-02-03 08:58:42 +02:00
Daniel Goldberg 5002a7c173 Consistency cleanups 2020-02-03 08:55:04 +02:00
Daniel Goldberg b420a83e22 Fix typos 2020-02-03 08:36:42 +02:00
Daniel Goldberg 291ce9a199 Minimize log messages. 2020-01-20 09:43:45 +02:00
Daniel Goldberg 1c4c22d8e9 Update deployment README.md 2020-01-20 09:34:25 +02:00
Daniel Goldberg cb8d2eb0ef Make deploy_windows.ps1.sh download the configuration, avoiding need for duplicate git clone. 2020-01-20 09:34:22 +02:00
Daniel Goldberg 43adea0728 Ran format on PS1 script 2020-01-20 09:33:47 +02:00
Daniel Goldberg 3191b2d94e Make deploy_linux.sh download the configuration, avoiding need for duplicate git clone. 2020-01-20 09:33:11 +02:00
Daniel Goldberg 1cb66b46fa Remove warnings 2020-01-16 19:57:20 +02:00
Daniel Goldberg 9493cad5e6 Use exists function for deploy_linux.sh. 2020-01-16 19:54:02 +02:00
Daniel Goldberg 5c7cc5117a Fix typo 2020-01-05 10:08:48 +02:00
Daniel Goldberg 768a103c0a Shell formatting 2020-01-04 22:55:00 +02:00
Daniel Goldberg 6c90184010 Double quote to prevent globbing. Not worriessome but why not 2020-01-04 22:54:25 +02:00
Daniel Goldberg 98018251ac Added error handling for pushd failing. 2020-01-04 22:52:56 +02:00
Daniel Goldberg fe97a8f8e3 Fixed SC2155
https://github.com/koalaman/shellcheck/wiki/SC2155
2020-01-04 22:51:08 +02:00
Daniel Goldberg f15abda2ff 1 - Formatted shell script
2 - Added option to download with either curl or wget
2020-01-04 22:50:34 +02:00
Daniel Goldberg dacd469aa9 Double quote to prevent globbing 2020-01-04 22:40:22 +02:00
Daniel Goldberg 6c26933bf8 Set return value to valid return value 2020-01-04 22:37:51 +02:00
VakarisZ 7af8104434
Merge pull request #511 from guardicore/404_page
404 page added
2020-01-02 12:53:04 +02:00