Commit Graph

50 Commits (master)

Author SHA1 Message Date
Geoffroy Lorieux e26c3c6656 Adds freebsd support (#37) 2019-12-16 22:51:08 +11:00
Stephen Lee ce90558466 avoid blocking USR1 from slave (#32) 2019-04-27 13:48:52 +10:00
Jon Stevens 9891188db5 rename command to avoid conflict (#24) 2018-05-19 19:58:03 +03:00
Jon Stevens bc46621374 Add sync after mv (#23)
* ignore intellij project folder

* fix comment spelling

* add sync after mv
2018-05-18 11:30:20 +10:00
Jaime Pillora 7516f44481 update docs, update silly bootstrap program 2017-08-24 20:36:05 +10:00
Jaime Pillora 2e4decb22e add change detection to file fetcher, cleanup code, fix spellings, swap example code to use file fetcher 2017-08-24 20:24:47 +10:00
mrfly ef5fb99e14 add file fetcher (#19) 2017-08-24 16:27:27 +10:00
Jaime Pillora aefa2b61eb Merge pull request #17 from fmpwizard/patch-1
If fetcher is disabled, don't test to move files
2017-07-28 02:12:24 +10:00
Diego Medina 75c69b4823 If fetcher is disabled, don't test to move files
If the user only wants graceful restarts from this library, and the user running the go program doesn't have write access to the path to the binary, overseer fails to start with an error 

`[overseer] disabled. run failed: cannot move binary (exit status 1)`

This commit checks if fetching is enabled, if not, it avoids the move check
2017-07-26 07:48:54 -04:00
Jaime Pillora 8dea607db4 Merge pull request #15 from Boxx/master-env-in-fetch
Allows binaries that require env configuration at runtime to be tested
2017-03-16 13:34:41 +11:00
Brandon Nelson e52c6c7ca9 Adds the current master env to our testing env 2017-03-15 11:42:08 -07:00
Jaime Pillora cfea0d4997 fix rare nil ptr panic 2016-09-14 23:04:36 +10:00
Jaime Pillora be5b0b50d8 * fix s3 .gz file retrieval
* show detailed error when fail to run new binary
2016-06-26 22:06:22 +10:00
Jaime Pillora a815be9c8e added github fetcher, added auto-extraction of gzip archives (gzip encoded responses are already supported) 2016-06-21 23:09:12 +10:00
Jaime Pillora 420ec56f3a expose overseer sanity check (closes #9), remove beta warning 2016-05-25 15:53:56 +10:00
Jaime Pillora ab80a24f26 Merge pull request #8 from tgulacsi/windows
windows: escape cmd args properly
2016-05-24 19:21:49 +10:00
Tamás Gulácsi 113ec7a417 windows: escape cmd args properly 2016-04-15 10:36:39 +02:00
Jaime Pillora adaa3fc1d6 make debug prints less spammy 2016-04-11 00:35:35 +10:00
Jaime Pillora 214f7f66d4 added 3rd party fetchers section 2016-04-03 02:13:04 +11:00
Jaime Pillora 7b610f2f54 Merge pull request #6 from tgulacsi/windows
Add windows support
2016-04-03 02:06:57 +11:00
Tamás Gulácsi 8d4da1aec4 filter only "not supported" errors 2016-04-02 11:42:08 +02:00
Tamás Gulácsi 1956e2633b Chmod and Chown may not be supported 2016-04-01 22:37:28 +02:00
Tamás Gulácsi 0c0c51cbe0 Add windows support with "move". 2016-04-01 07:41:42 +02:00
Jaime Pillora c68943cea6 Reinclude legacy bin check env var for backwards compatible upgrades 2016-03-14 12:50:45 +11:00
Jaime Pillora 27643501ed Pass binary path to slave process, expose in overstate.State, added multi-platform example to docs. 2016-03-14 10:38:48 +11:00
Jaime Pillora f50908758c clarify signing 2016-03-06 22:52:24 +11:00
Jaime Pillora e0176b320c typo 2016-03-06 22:50:19 +11:00
Jaime Pillora 8f1b525136 typo 2016-03-06 22:49:52 +11:00
Jaime Pillora ffd63831bd added docs, added CONTRIBUTING notes 2016-03-06 22:45:25 +11:00
Jaime Pillora 144c8fce77 Implemented Restart and IsSupported global methods
* Restart programmatically triggers a graceful restart (closes #3)
* IsSupported returns whether overseer is supported on the current OS
* Fixed compilation on unsupported OS (closes #2)
2016-03-06 20:05:37 +11:00
Jaime Pillora 73fad7362a docs 2016-02-18 17:35:41 +11:00
Jaime Pillora a5ef7ca2eb added NoRestart option 2016-02-17 11:25:17 +11:00
Jaime Pillora ca280e1a6b docs 2016-02-16 18:50:50 +11:00
Jaime Pillora 697bd76a71 docs 2016-02-16 18:25:04 +11:00
Jaime Pillora b465b2795c docs 2016-02-13 17:15:00 +11:00
Jaime Pillora 7e03d62308 Added many more docs. Added an extra log level: warn, which is on by default. Normal operation are logs, unexcepted events are warnings. Added IDs to slave logs. 2016-02-13 17:11:17 +11:00
Jaime Pillora 41359f8610 Swap back to unix mv for moves (handles cross portion moves, copy+delete). Added more docs. 2016-02-13 02:22:27 +11:00
Jaime Pillora 29e33ed1c7 use bin dir as tmp dir for next binary, copy owner 2016-02-09 17:01:06 +11:00
Jaime Pillora 0de2aea26b fixed s3 environment loading, add docs 2016-02-09 15:12:42 +11:00
Jaime Pillora 6df2e197eb rename to overseer, allow manual restarts with USR2, fetcher now optional, added fetcher init method 2016-02-09 14:46:45 +11:00
Jaime Pillora 887f12bfaf fixed on linux with mv 2016-02-09 00:20:50 +11:00
Jaime Pillora 410e2f8aec docs 2016-02-08 12:12:24 +11:00
Jaime Pillora 25069f6dbf fix docs 2016-02-08 12:08:34 +11:00
Jaime Pillora f623267271 rewrite complete, mostly working now 2016-02-08 12:06:54 +11:00
Jaime Pillora 8f42cc8800 somewhat working, though still buggy 2016-02-08 03:05:31 +11:00
Jaime Pillora 9ef850b1bc progress on v2, graceful restarts not working yet 2016-02-08 01:38:24 +11:00
Jaime Pillora 457309e897 beta working 2015-06-08 03:01:45 +10:00
Jaime Pillora 7711d5340b docs 2015-06-04 15:16:34 +10:00
Jaime Pillora a96ac0cd98 specd 2015-05-31 15:59:01 +10:00
Jaime Pillora 9e440ddaeb Initial commit 2015-05-31 15:01:40 +10:00