Commit Graph

586 Commits

Author SHA1 Message Date
sirkrypt0
99ee8c6dfb Add authentication middleware 2021-05-04 15:08:06 +02:00
Maximilian Paß
c092199693 Add basic nomad integration and runner provider 2021-05-04 13:08:04 +02:00
sirkrypt0
40a22ecbb1 Move http server start from main to runServer 2021-05-04 09:35:57 +00:00
sirkrypt0
50b3836d25 Add TLS documentation 2021-05-04 09:35:57 +00:00
sirkrypt0
b744d7f16c Add tls configuration 2021-05-04 09:35:57 +00:00
sirkrypt0
f401ebb3c4 Build nomad-ci image in pipeline 2021-05-04 08:15:34 +02:00
sirkrypt0
2c049afaa6 Make pipeline wait for successful Nomad deployment 2021-05-04 08:15:26 +02:00
sirkrypt0
b7009bee6c Add badges to README 2021-04-30 15:49:14 +02:00
sirkrypt0
cff6997337 Add coverage report 2021-04-30 15:40:54 +02:00
Konrad Hanff
a23ed540ef Add API definition 2021-04-30 07:14:02 +00:00
sirkrypt0
776152621e Use new logger in config 2021-04-30 08:25:52 +02:00
sirkrypt0
5e336d4d4a Add tests for logging middleware 2021-04-30 08:25:52 +02:00
sirkrypt0
5182873137 Add structured logging 2021-04-30 08:25:40 +02:00
Felix Auringer
b6425a45b5 Add documentation for all possible configuration possibilities 2021-04-29 12:20:41 +02:00
Felix Auringer
92981072f0 Add example for a configuration.yaml 2021-04-29 12:20:41 +02:00
Felix Auringer
edb609c1a9 Add tests for the configuration parsing 2021-04-29 12:20:34 +02:00
Felix Auringer
f95d96acd8 Add option to configure poseidon
It exists a default configuration. It can be overwritten by adding
a configuration.yaml. This can again be overwritten by environment
variables.
2021-04-29 12:10:38 +02:00
Tobias Kantusch
13c0752d99 Update .gitlab-ci.yml 2021-04-28 15:04:43 +00:00
sirkrypt0
8b6fef3c34 Change default port to 3000 2021-04-28 15:08:28 +02:00
tobias.kantusch
8504e1a749 Add automatic deployment 2021-04-28 15:08:28 +02:00
Felix Auringer
be04fb5abd Add documentation for docker image 2021-04-28 11:13:01 +02:00
Felix Auringer
2cb34eb477 Add CI job building the binary and a docker image 2021-04-28 11:12:53 +02:00
Jan-Eric Hellenberg
e14e9c9229 Remove unnessary early header write 2021-04-28 08:49:20 +00:00
Felix Auringer
2d71584464 Change project name to Poseidon 2021-04-28 10:26:59 +02:00
Felix Auringer
ad9aa6fd6d Split up the NewRouter function to ease the creation of versioned routers 2021-04-27 10:05:30 +02:00
Felix Auringer
40aff301d8 Add function to write json to http response writer 2021-04-27 09:47:08 +02:00
Felix Auringer
712d0e6420 Cleanup code
This changes variable names that were abbreviations, uses more constants
from the net/http package and improves the json decoding / encoding.
2021-04-27 08:57:31 +02:00
Felix Auringer
78668ad430 Add graceful shutdown option to webserver 2021-04-27 08:42:35 +02:00
Felix Auringer
38434cef27 Add tests for health route 2021-04-26 14:20:01 +02:00
Felix Auringer
f8e864efdd Add health route 2021-04-26 12:46:38 +02:00
Felix Auringer
38ecc02a79 Add api package serving our api routes using gorilla/mux 2021-04-26 12:46:38 +02:00
Jan-Eric Hellenberg
08eb05e00f Add setup instructions to README 2021-04-26 11:16:33 +02:00
Jan-Eric Hellenberg
903e66f73b Add gofmt pre-commit-hook 2021-04-26 11:16:33 +02:00
Jan-Eric Hellenberg
5352673b2c Add golangci-lint and golint to CI 2021-04-26 11:16:23 +02:00
Jan-Eric Hellenberg
be93c36cc8 Add Hello CodeMoon with test 2021-04-26 11:15:50 +02:00
Tobias Kantusch
88e4cb5b0b Initial commit 2021-04-20 12:37:15 +00:00