agola/internal
Simone Gotti 03451535c8 runservice: rework config format
The current config format was thought for future extensions for reusing runtimes
and job definitions adding some parameters.

After a lot of thoughts this looks like a complex approach: the final result
will be a sort of templating without a lot of powers.

Other approach like external templating should be an alternative but I really
don't think templating yaml is the way to go.

A much better approach will to just use jsonnet when we need to create matrix
runs and a lot of other use cases.

So just make the config a simple yaml/json. User can generate their config using
any preferred tool and in future we'll leverage jsonnet automated parsing and
provide a lot of jsonnet based examples for most use cases.

Main changes:

* Runs are now an array and not a map. The run name is in the Name field
* Tasks are now an array and not a map. The task name is in the Name field
* Use https://github.com/ghodss/yaml so we'll use json struct tags and unmarshall functions
2019-04-16 11:01:02 +02:00
..
common Add internal/common 2019-02-21 16:07:20 +01:00
config runservice: rework config format 2019-04-16 11:01:02 +02:00
db Add database helper 2019-02-21 16:05:54 +01:00
etcd etcd: allow specifying a revision for a get 2019-03-29 11:37:22 +01:00
git-handler Add custom git server 2019-02-21 16:03:17 +01:00
git-save Add user local runs feature 2019-02-21 23:01:17 +01:00
gitsources webhook: use hook provided ssh url for cloning 2019-04-11 16:49:07 +02:00
log Add common logging helper 2019-02-21 16:05:35 +01:00
objectstorage objectstorage: return object last modified time 2019-04-15 09:37:34 +02:00
runconfig runservice: rework config format 2019-04-16 11:01:02 +02:00
sequence etcd: allow specifying a revision for a get 2019-03-29 11:37:22 +01:00
services runservice: rename config pipeline(s) to run(s) 2019-04-15 23:42:10 +02:00
testutil etcd: allow specifying a revision for a get 2019-03-29 11:37:22 +01:00
toolbox toolbox: initial commit 2019-02-21 15:57:11 +01:00
util runservice: implement caching 2019-04-13 14:58:56 +02:00
wal update wal and readdb 2019-04-01 12:54:43 +02:00
tools.go Add makefile 2019-02-21 15:59:16 +01:00