Simone Gotti
abab40c6f5
gateway/cmd: generate CacheGroup for user direct runs
...
Since the user direct runs all belong to the same run group (the user id) all
the user direct runs will share the same caches. To distinguish between the
different caches we need to use something in addition to the user id. In this
case we are usin the local repo uuid generated by the direct run start command.
2019-07-03 15:19:52 +02:00
Simone Gotti
2859c3144a
cmd: fix linter errors
...
Fix errors reported by default golangci-lint linters
2019-07-02 16:22:24 +02:00
Simone Gotti
ced6108963
cmd toolbox: handle missing error checks
2019-07-02 14:27:32 +02:00
Simone Gotti
b849e2c07e
agola cmd: check MarkFlagRequired errors
2019-07-02 13:49:10 +02:00
Simone Gotti
d8a92ba0d1
agola cmd: check possible Help function error
2019-07-02 13:44:43 +02:00
Simone Gotti
540f5888d2
agola cmd: return exit code 1 on bad command
2019-07-02 13:32:27 +02:00
Simone Gotti
88b7ea3de6
serve: rename all to all-base excluding executor
...
since the executor are usually run separately from the other "base" components,
make this explicit removing "all" and adding an "all-base" virtual component
that will start all the components except the executor.
2019-07-02 10:54:11 +02:00
Simone Gotti
8d67844cc4
*: use vanity url
...
use agola.io domain
2019-07-01 11:40:20 +02:00
Simone Gotti
5a74ebf9d8
*: remove agola git hook
...
* Delete the command and it's rule in the Makefile
* Don't use it inside gitserver and remove related config option (also from
examples)
* Remove webhook parsing from agolagit gitsource
2019-06-11 15:30:09 +02:00
Simone Gotti
a27721c5b1
directrunstart: use new user create run api
...
* Push the local custom ref to a branch ref (refs/heads/branch)
* After the push create the run calling the user create run api
2019-06-11 15:15:14 +02:00
Simone Gotti
810abaaab8
git-save: return commitSHA
2019-06-11 15:04:34 +02:00
Simone Gotti
f92bcee73b
directrun: setup local repo uuid and use it as remote repo name
2019-06-11 12:46:02 +02:00
Simone Gotti
cff6b8d531
*: rename user local run to user direct run
2019-06-11 12:09:57 +02:00
Simone Gotti
9b2ce717c7
*: migrate to "golang.org/x/xerrors"
...
Just a raw replace of "github.com/pkg/errors".
Next steps will improve errors (like remote errors, api errors, not exist errors
etc...) to leverage its functionalities
2019-05-23 11:23:14 +02:00
Simone Gotti
8f1225da76
*: implement remote source update
2019-05-23 10:29:03 +02:00
Simone Gotti
933dfae658
cmd/api: add skipVerify remote source option
...
Add an option to set skipVerify on remote source to disable tls cert
verification on remote source api endpoint
2019-05-22 16:28:42 +02:00
Simone Gotti
b22c197fef
gitsources: add github gitsource
2019-05-15 23:46:21 +02:00
Simone Gotti
9cafc36a0d
notification service: initial implementation
2019-05-15 10:17:20 +02:00
Simone Gotti
749109cd75
cmd: add org member list command
2019-05-14 12:56:38 +02:00
Simone Gotti
8f959c4500
cmd: add org member add/remove commands
2019-05-14 11:25:12 +02:00
Simone Gotti
c5cdf01332
*: add organizations visibility
2019-05-14 10:56:17 +02:00
Simone Gotti
f8b0061844
toolbox sleeper: reap inherited child processes
2019-05-10 14:28:56 +02:00
Simone Gotti
43341f2cba
*: rename GitServer to Gitserver
2019-05-08 15:23:13 +02:00
Simone Gotti
1e34dca95d
runservice: split and simplify scheduler and executor naming
...
Also if they are logically part of the runservice the names runserviceExecutor
and runserviceScheduler are long and quite confusing for an external user
Simplify them separating both the code parts and updating the names:
runserviceScheduler -> runservice
runserviceExecutor -> executor
2019-05-07 23:56:10 +02:00
Simone Gotti
44d5b0f25a
*: rename ConfigStore to Configstore
2019-05-07 23:42:42 +02:00
Simone Gotti
4154be3370
*: set sshhostkey and skip check on remote source
2019-05-07 15:59:08 +02:00
Simone Gotti
4d19ce1633
serve: add option to choose which components to run
2019-05-06 17:49:57 +02:00
Simone Gotti
6dfb789e77
gateway: project(group) create: rename parentID to parentRef
2019-05-05 17:19:23 +02:00
Simone Gotti
68e6bd5bdf
configstore: add project/projectgroup visibility
2019-04-30 17:09:26 +02:00
Simone Gotti
fefa2819c9
gateway: use agola ID in gitsource tokenname
2019-04-30 12:13:12 +02:00
Simone Gotti
f85ffb594f
runservice toolbox: add exec command
2019-04-22 17:49:18 +02:00
Simone Gotti
d91bb36ccb
cmd serve: update parse config error
2019-04-21 15:27:35 +02:00
Simone Gotti
351f7518de
toolbox: add toolbox mkdir
2019-04-15 14:33:55 +02:00
Simone Gotti
ac7447a5c9
toolbox: add expanddir command
2019-04-15 14:33:26 +02:00
Simone Gotti
9c2ac68a75
toolbox: add template command
2019-04-14 15:10:54 +02:00
Simone Gotti
4c12b03544
toolbox: expand archive/unarchive starting tilde
...
Expand archive sourceDir(s) and unarchive DestDir
2019-04-13 14:56:35 +02:00
Simone Gotti
4e07550f30
toolbox: create tmp dir if missing
...
Create the tmp dir if the image doesn't have one.
2019-04-11 16:46:24 +02:00
Simone Gotti
c4310be7de
Implement user token delete
2019-04-05 15:01:57 +02:00
Simone Gotti
3a41e66f5b
cmd: implement variable delete
2019-04-05 11:11:27 +02:00
Simone Gotti
2e335effe9
cmd: implement secret delete
2019-04-05 11:00:45 +02:00
Simone Gotti
42becb0505
update secret create
2019-04-05 10:32:32 +02:00
Simone Gotti
2548598bb8
localrun: use userid and pass it to webhook
2019-04-03 14:59:24 +02:00
Simone Gotti
3d39553189
project create: user project path
...
Use project path for project creation and get the project clone url directly
from the remote source
2019-04-03 11:07:54 +02:00
Simone Gotti
7bf2c106e4
serve: set default value for --config to ./config.yml
2019-04-03 08:53:16 +02:00
Simone Gotti
f0e7ce4a96
cmd: implement project/projectgroup variable create
2019-04-02 11:07:39 +02:00
Simone Gotti
99a6c12f98
project delete: use project ref
2019-04-02 11:06:45 +02:00
Simone Gotti
3e3a7a0ea5
gateway: move user la and login validation to command layer
2019-03-29 14:33:41 +01:00
Simone Gotti
50547a6490
initial secret and variables impl
2019-03-14 14:36:18 +01:00
Simone Gotti
8b92b6f55c
initial project group impl
...
and related api updated
2019-03-14 14:36:18 +01:00
Simone Gotti
41002efbff
*: add organizations
2019-02-28 15:52:35 +01:00