Commit Graph

16 Commits

Author SHA1 Message Date
Simone Gotti
90d129750d util: add pointer utils 2019-04-24 16:31:14 +02:00
Simone Gotti
8bde2f2bc0 runservice: implement caching
Add `save_cache` and `restore_cache steps`
2019-04-13 14:58:56 +02:00
Simone Gotti
68e95ad3be runservice: implement task dependencies conditions
Handle the task dependencies conditions:
* on_success (default if no conditions are specified)
* on_failure
* on_skipped

Not the runservice won't stop run but continue executing tasks that depends on a
parent also if this is failed
2019-04-12 16:46:04 +02:00
Simone Gotti
3642be6f21 */api: Use helpers for error handling
* client: always parse the json error message field and return its contents
* Use ErrBadRequest and ErrNotFound in every handler and command
* Gateway: by default pass underlying service error (configstore, runservice) to
client keeping the status code and message. In future, if some errors must be
masked, we should change the specific parts that need special handling.
2019-04-09 14:53:00 +02:00
Simone Gotti
7fa14c1b7a util/path: add PathList function 2019-03-28 16:02:11 +01:00
Simone Gotti
61b454d4da config environment from variable 2019-03-18 15:02:32 +01:00
Simone Gotti
7d105f1232 configstore: use ErrBadRequest 2019-03-12 15:12:19 +01:00
Simone Gotti
3c2a06c6b0 Add password utils 2019-02-21 16:04:00 +01:00
Simone Gotti
021a0465ce gateway: initial implementation 2019-02-21 17:58:25 +01:00
Simone Gotti
18c4b631bf Add git utils 2019-02-21 23:14:55 +01:00
Simone Gotti
36fc79dfc6 runservice: initial commit 2019-02-21 15:54:50 +01:00
Simone Gotti
02ed2871db Add errors utils 2019-02-21 16:32:01 +01:00
Simone Gotti
6ef77158e3 Add slice utils 2019-02-21 16:32:27 +01:00
Simone Gotti
11d1920b04 Add time utils 2019-02-21 16:31:48 +01:00
Simone Gotti
2eea5ab8c6 Add dump util 2019-02-21 16:30:34 +01:00
Simone Gotti
24f4ab6bc0 Add tls util 2019-02-21 16:23:36 +01:00