Commit Graph

73 Commits

Author SHA1 Message Date
Maximilian Paß
09b90a4555 Java11Exec: Quick fix for test dependencies. 2022-04-24 17:28:40 +02:00
Sebastian Serth
7af17c87d3 Ignore Comments in Makefiles starting with # 2022-04-24 17:03:27 +02:00
Maximilian Paß
a545614040 Java11Exec: Fix that EOF is replaced by newline. 2022-04-24 16:21:54 +02:00
Maximilian Paß
bb2d989bc5 Add the missing newline of AWS. 2022-04-22 08:52:47 +02:00
Maximilian Paß
4cd53d24bc Ignore @ Symbols in Makefiles 2022-04-22 08:52:16 +02:00
Maximilian Paß
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
Maximilian Paß
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
Maximilian Paß
b41ce431b8 Temporarily fixed golang version mismatch
in the ci build docker image step.
2022-04-18 22:21:00 +02:00
Maximilian Paß
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
Maximilian Paß
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
Maximilian Paß
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
Maximilian Paß
e24248faa8 Run Sentry release GitHub Action
on every push to main.
2022-01-05 18:32:56 +01:00
Maximilian Paß
3ae83217d7 Add Sentry integration 2021-11-25 19:29:33 +01:00
Sebastian Serth
705d358027 Update ansible-deployment submodule 2021-11-17 23:03:56 +01:00
Sebastian Serth
5b79b9fc20 Update git submodule for ansible-deployment 2021-10-21 10:10:49 +02:00
Maximilian Paß
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
sirkrypt0
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
Jan-Eric Hellenberg
3c2e85ed4a Correct destination of nomad-ca.crt template to be inside NOMAD_SECRETS_DIR 2021-07-30 12:08:56 +00:00
Jan-Eric Hellenberg
5c9f975285 Update api.tpl.nomad to allow configuration Nomad ACL Token for Poseidon 2021-07-29 12:49:17 +00:00
sirkrypt0
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
Jan-Eric Hellenberg
210a048b5e Update api.tpl.nomad to allow configuring TLS to Nomad through gitlab 2021-07-29 09:43:21 +00:00
sirkrypt0
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
sirkrypt0
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