Agola: CI/CD Redefined
Go to file
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
.agola runservice: rework config format 2019-04-16 11:01:02 +02:00
cmd toolbox: add toolbox mkdir 2019-04-15 14:33:55 +02:00
examples gw repos: use config provided gitServerURL 2019-04-05 16:23:54 +02:00
internal runservice: rework config format 2019-04-16 11:01:02 +02:00
scripts Add makefile 2019-02-21 15:59:16 +01:00
webbundle Add webbundle implementation 2019-02-21 16:08:02 +01:00
.dockerignore Add dockerfile 2019-02-21 16:10:30 +01:00
.gitignore Initial commit 2019-02-21 15:56:50 +01:00
Dockerfile update Dockerfile 2019-04-03 08:52:00 +02:00
go.mod runservice: rework config format 2019-04-16 11:01:02 +02:00
go.sum toolbox: expand archive/unarchive starting tilde 2019-04-13 14:56:35 +02:00
LICENSE Initial commit 2019-02-21 15:56:50 +01:00
Makefile git hook: initial implementation 2019-02-22 10:46:48 +01:00
README.md Initial commit 2019-02-21 15:56:50 +01:00

Agola

CI/CD redefined