Commit Graph

21 Commits

Author SHA1 Message Date
Simone Gotti 1e6197e112 agolademo: fix agolademo image name
Use sorintlab/agolademo.
2024-03-06 19:46:33 +01:00
Simone Gotti f4a201181e agolademo: use docker compose
Improve the agola demo by using docker compose:

* Use a dedicated bridged network
* Adapt the agola and gitea config for the new setup

* Also add a README.md (with the same contents of the tryit
  documentation on the agola site, that will be updated).
2024-03-04 10:56:03 +01:00
Simone Gotti ac866b5ed7 examples: add cookieSigning config 2023-06-22 18:05:26 +02:00
Simone Gotti 983d50b19a gateway: use auth cookies instead of jwt tokens
The authentication won't return a jwt token but will use cookies.
The token auth will be used only for api calls with the admintoken or
user token.

Two cookies are returned, the primary auth cookie (httpOnly) and a
secondary cookie used for client side implementation of logout.

Also implement CSRF and use of secure cookies (with a config option to
disable them)
2023-03-16 11:17:51 +01:00
Simone Gotti f80fe880c8 doc/examples: document usage of sql database
Update the doc and examples to use the sql database instead of
etcd/datamanager.
2022-03-31 15:35:31 +02:00
Simone Gotti 684216c42e example: fix gitserverURL in example config
The git server needs to be accessed on localhost from the gateway and not from
the host's docker bridge address.
2021-01-13 16:15:51 +01:00
Simone Gotti 22e8e2080b agolademo: update config paths to /data 2019-07-02 10:56:29 +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 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 b5f2281d07 agolademo: update config to use correct web url
In the agola demo the api and web urls are the same (with the same port)
2019-05-16 10:17:47 +02:00
Simone Gotti 9cafc36a0d notification service: initial implementation 2019-05-15 10:17:20 +02:00
Simone Gotti 4e785e4851 runservice: build and use multiple toolboxes per architecture 2019-05-09 12:36:30 +02:00
Simone Gotti 28d31c0802 agolademo: move example config and update Dockerfile 2019-05-08 17:40:07 +02:00
Simone Gotti f6f267545a examples: add k8s simple and distributed examples 2019-05-08 15:42:42 +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 41e333d7ec *: rename "lts" to "ost"
`lts` was choosen to reflect a "long term storage" but currently it's just an
object storage implementation. So use this term and "ost" as its abbreviation
(to not clash with "os").
2019-04-27 15:16:48 +02:00
Simone Gotti e0d37b08f2 runservice: add k8s driver 2019-04-22 17:54:24 +02:00
Simone Gotti fe5bc2fa31 gw repos: use config provided gitServerURL 2019-04-05 16:23:54 +02:00
Simone Gotti e2bc2043d0 update Dockerfile
add default config for local testing
2019-04-03 08:52:00 +02:00