Граф коммитов

24 Коммитов

Автор SHA1 Сообщение Дата
Tristan Weir 8c24601740 Update import statements to point to github.com/mozilla/mig/ 2018-07-11 10:11:22 -07:00
Aaron Meihm 0c6bec060d client: return proper errors from FindHomedir
Return an error from FindHomedir rather then panic with no context.
Also, modify one case here to use path.Join instead of expecting UNIX
filesystem layout.
2017-09-20 14:30:39 -05:00
Aaron Meihm 1d73fab48e [medium] move compression apply into client package 2016-01-22 14:14:17 -06:00
Aaron Meihm abece16dfe [minor] remove a superfluous log entry in runner 2015-10-01 09:20:01 -05:00
Julien Vehent 76f33f2dea [minor] Add base Version in MIG package, overrided by Makefile 2015-09-24 08:54:07 -04:00
Aaron Meihm 91e4d44f08 [minor] increase restriction on inflight/results directories 2015-09-21 12:55:46 -05:00
Aaron Meihm 7d309c415b [minor] clarify error message for invalid cron expression 2015-09-21 12:51:14 -05:00
Aaron Meihm af0f439c67 [minor] remove unneccessary make() for results slice 2015-09-21 12:50:44 -05:00
Aaron Meihm 57507ef22d [minor] append .json to results file 2015-09-21 12:46:35 -05:00
Aaron Meihm 72be15978e [minor] remove unneccessary make() call, more explicit variable names 2015-09-21 12:39:49 -05:00
Aaron Meihm 9ff0dc2422 [minor] append .json to action file name for cached actions 2015-09-21 12:27:41 -05:00
Aaron Meihm 2d438c7069 [minor/bug] break when we find the first matching plugin 2015-09-21 12:12:38 -05:00
Aaron Meihm 53ad667077 [minor] reorganize runner main.go to be more consistent with other src 2015-09-21 12:08:46 -05:00
Aaron Meihm 054c90aa19 [minor] document more of the runner functions 2015-09-21 11:05:35 -05:00
Aaron Meihm ea14845890 [minor] action generation only mode for jobs 2015-09-18 16:47:47 -05:00
Aaron Meihm 64345fa72e [minor] add support for in-flight action cacheing
This is intended to cover a case where an action is generated by the
runner, but the runner is restarted before the results are available.
Actions are cached on disk while in-flight and can now persist through
restarts of the service.
2015-09-18 16:37:48 -05:00
Aaron Meihm 0ba9cb93a7 [minor] add a results delay configuration value
This supports including a small delay following action expiry before
attempting to retrieve results from the API.
2015-09-18 10:23:21 -05:00
Aaron Meihm 9ce12422e1 [minor] add additional logging on results fetch 2015-09-18 09:35:16 -05:00
Aaron Meihm 04ac2afb5d [minor] set a more descriptive action name 2015-09-17 23:29:44 -05:00
Aaron Meihm c741cb3a26 [minor] improve flexibility for action expiry handling
Allows jobs to specify the expiry time that is desired for the action in
the configuration file. This also handles increasing the window based on
the job validity time being set in the past.
2015-09-17 23:21:59 -05:00
Aaron Meihm 802843d6dc [minor] better validation and error handling for entities
Validate entities as they are loaded. This also marks failed jobs as
stale and will try to reload the job. Prior to this if a job failed it
would silently not run again.
2015-09-17 22:57:06 -05:00
Aaron Meihm 7b77f39083 [minor] don't treat a missing entity.cfg as fatal
This can occur if a job directory is created but the entity
configuration has not yet been written.
2015-09-17 22:23:46 -05:00
Aaron Meihm 9d313e3932 [minor] support pre-cacheing gpg passphrase for automated operation 2015-09-17 13:43:11 -05:00
Aaron Meihm 20c8a2c40c [minor] initial commit of mig-runner 2015-09-15 14:40:26 -05:00