Commit Graph

133 Commits

Author SHA1 Message Date
bdf42cd2a7 Update dependencies in Java POM 2022-08-03 14:43:00 +02:00
eafc01e69a Add availability dashboard row
including a panel with the prewarming poolsize and the idle runner count.
2022-07-01 15:29:31 +02:00
ff3ec9e362 Add Grafana Dashboard
including information about the number of requests, runner and executions and their durations.
2022-07-01 15:29:31 +02:00
a4d13fb8cb #148 Add stage to influx monitoring. 2022-06-21 15:31:29 +02:00
22620985bc Java11Exec: Reduce complexity of parseCommand method. 2022-06-21 13:24:01 +02:00
ed5205236f #166 Fix AWS JAVA ignoring shell commands in combination with a Makefile. 2022-06-21 13:24:01 +02:00
b0916a2485 #166 Adjust outdated make command pattern
as with #147 a new unset command part is introduced.

Also add a regression e2e test that would have caught this issue.
2022-06-21 13:24:01 +02:00
d0398376c5 Update ansible-deployment 2022-06-08 09:10:20 +02:00
609a7b803e Java11Exec: Fix Test with updated dependencies. 2022-04-24 18:49:49 +02:00
841518bf05 Java11Exec: Add support for make assignments. (#131)
* Java11Exec: Add support for make assignments.

* Java11Exec: Make quotes in assignments optional.
2022-04-24 17:55:41 +02:00
09b90a4555 Java11Exec: Quick fix for test dependencies. 2022-04-24 17:28:40 +02:00
7af17c87d3 Ignore Comments in Makefiles starting with # 2022-04-24 17:03:27 +02:00
a545614040 Java11Exec: Fix that EOF is replaced by newline. 2022-04-24 16:21:54 +02:00
bb2d989bc5 Add the missing newline of AWS. 2022-04-22 08:52:47 +02:00
4cd53d24bc Ignore @ Symbols in Makefiles 2022-04-22 08:52:16 +02:00
430b1748f5 Allow the CR character as part of a newline.
Since CodeOcean may send the `\r\n` newline.
2022-04-18 22:29:05 +02:00
ba98916121 Fix typo in configuration.example.yaml (#117)
* Fix typo in configuration.example.yaml

* Fix typo also in the description.

Co-authored-by: Sebastian Serth <MrSerth@users.noreply.github.com>
2022-04-18 22:27:50 +02:00
b41ce431b8 Temporarily fixed golang version mismatch
in the ci build docker image step.
2022-04-18 22:21:00 +02:00
d7b1c2d691 Add limited support for Makefile parsing. (#103)
* Add limited support for Makefile parsing.
As the AWS Linux images do not contain make.

* javaExec: Extract makefile functionality in its own class

* Implement review comments
2022-04-07 22:40:19 +02:00
13eaa61f3b Fix three bugs in java11Exec
detected by the e2e tests.

- Fix that one corrupt file breaks the whole execution.

- Fix that files with absolute path are saved in the workdir.

- Fix that AWS stderr is merged into stdout.
2022-02-28 14:54:40 +01:00
4cf72ee337 AWS SAM deployment (#91)
* Generate AWS SAM application
with the Poseidon Java 11 Executor Lambda Function.

* Extend AWS Lambda documentation.

* Apply suggestions from code review

Co-authored-by: Sebastian Serth <MrSerth@users.noreply.github.com>

* Parse dynamic AWS region

Co-authored-by: Sebastian Serth <MrSerth@users.noreply.github.com>
2022-01-27 23:07:13 +01:00
e24248faa8 Run Sentry release GitHub Action
on every push to main.
2022-01-05 18:32:56 +01:00
3ae83217d7 Add Sentry integration 2021-11-25 19:29:33 +01:00
705d358027 Update ansible-deployment submodule 2021-11-17 23:03:56 +01:00
5b79b9fc20 Update git submodule for ansible-deployment 2021-10-21 10:10:49 +02:00
71cf21abce Configure an ansible playbook (#5)
* Configure an ansible playbook
to copy all required configurations to a Poseidon host.

* Copy also all TLS certificates if configured

* Exclude playbook in its own repository

* Adjust security.md to our current recommendations

* Add certificate generation and deployment

* Move access policy example file to the resources folder
2021-10-12 11:06:59 +02:00
aae0c6e377 Migrate from GitLab CI/CD to GitHub actions (#1)
This also adds a new Dockerfile for a e2e-test-image, as the old
image was hosted on our private registry. By having the image located
near the code, we don't have to rely on images on external registries.
2021-08-05 13:40:48 +02:00
3c2e85ed4a Correct destination of nomad-ca.crt template to be inside NOMAD_SECRETS_DIR 2021-07-30 12:08:56 +00:00
5c9f975285 Update api.tpl.nomad to allow configuration Nomad ACL Token for Poseidon 2021-07-29 12:49:17 +00:00
81eccbdf9c Remove custom deployment watcher script
As of version 1.1.2 of Nomad, the CLI monitors job deployments by
default until they are finished. Thus our custom job deployment
watcher script is not required anymore.
2021-07-29 09:57:04 +00:00
210a048b5e Update api.tpl.nomad to allow configuring TLS to Nomad through gitlab 2021-07-29 09:43:21 +00:00
fe240c82b4 Remove demo job HCL file
Previously we used this file to deploy a job on Nomad that our API
used for e2e tests. Now that we create the environments in the e2e
tests, we don't need the demo job anymore.
2021-07-27 16:31:03 +02:00
8b26ecbe5f Restructure project
We previously didn't really had any structure in our project apart
from creating a new folder for each package in our project root.
Now that we have accumulated some packages, we use the well-known
Golang project layout in order to clearly communicate our intent
with packages. See https://github.com/golang-standards/project-layout
2021-07-21 12:55:35 +02:00