Sebastian Serth
16a74095fe
CI: Wait until Poseidon is ready
2021-11-26 21:44:03 +01:00
Sebastian Serth
0e505a88a5
Upgrade Nomad to 1.2.2
2021-11-26 21:44:03 +01:00
Maximilian Paß
7c9406cd7a
Change response logging message
...
to allow specific error tracking in sentry. See POSEIDON-F
2021-11-26 21:28:10 +01:00
Maximilian Paß
a6eaa45097
Stop stdout & stderr after timeout
...
Co-authored-by: Sebastian Serth <MrSerth@users.noreply.github.com >
2021-11-25 21:08:56 +01:00
Maximilian Paß
0d7e07eae0
Add route for version information
2021-11-25 19:49:58 +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
Maximilian Paß
cf3db036fa
Make environment variables of the system accessible.
2021-11-17 13:44:50 +01:00
Maximilian Paß
fbbc96da37
Add guard close in event stream
...
for not handling stopped Execution Environment Allocations
2021-11-17 13:16:18 +01:00
Sebastian Serth
aa87556a45
Merge pull request #37 from openHPI/trivy
...
Checkout code for trivy analysis
2021-11-17 09:00:14 +01:00
Sebastian Serth
051c62b43b
Merge pull request #36 from openHPI/upgrade-dependencies
...
Upgrade dependencies
2021-11-17 09:00:02 +01:00
Sebastian Serth
bd4cc67c78
Merge pull request #34 from openHPI/update_version_for_ci
...
Update versions used during GitHub actions
2021-11-17 08:59:41 +01:00
Sebastian Serth
89f97bd273
Merge pull request #30 from openHPI/codeql-analysis
...
Create codeql-analysis.yml
2021-11-17 08:59:27 +01:00
Sebastian Serth
7ad28b1bd5
Merge pull request #35 from openHPI/optimize_build_cache
...
Update last trim for Go build cache
2021-11-17 08:59:16 +01:00
Sebastian Serth
fef7d951d2
Do not return exit code 1 in case of trivy results
2021-11-11 12:12:56 +01:00
Sebastian Serth
ea0ca8f4db
Upgrade dependencies
2021-11-11 09:00:01 +01:00
Sebastian Serth
6592efffe2
Checkout code for trivy analysis
2021-11-11 01:29:11 +01:00
Sebastian Serth
68c6b28861
Update versions used during GitHub actions
2021-11-11 00:22:21 +01:00
Sebastian Serth
dd91f696a1
Update last trim for Go build cache
2021-11-11 00:19:58 +01:00
Sebastian Serth
38785d79b7
Create codeql-analysis.yml
2021-11-10 13:42:48 +01:00
Maximilian Paß
ac6ce56c38
Remove flaky test case
2021-11-10 13:11:38 +01:00
Maximilian Paß
dcc869cd94
Fix after updating golangci-lint
...
v1.43
2021-11-10 13:11:38 +01:00
Maximilian Paß
fff67246d6
Infinite busy waiting for lost event ( #31 )
...
* Close evaluation stream for Nomad Job creation
when set event handler have been finished
* Remove evaluation event stream requests
by handling the events via the main Nomad event handler.
2021-11-10 09:57:40 +01:00
Maximilian Paß
4db1ceb41e
Fix Bug with the runner recovery
...
that the runners of the environment 10 are also recovered for the environment 1.
2021-10-22 16:24:55 +02:00
Maximilian Paß
24b22f2c40
Fix racing condition
...
when creating a Nomad job in the e2e tests
2021-10-22 16:23:51 +02:00
Maximilian Paß
ba6e7035fa
Mark runner as used now asynchronously.
2021-10-22 16:23:51 +02:00
Maximilian Paß
055fa43227
Create a new runner async after one gets claimed
2021-10-22 16:23:51 +02:00
Sebastian Serth
dff3df9cc7
Merge pull request #18 from openHPI/nomad-readme
...
Add instructions on setting up Nomad for Poseidon
2021-10-21 11:45:21 +02:00
Sebastian Serth
d5722a20c7
Add instructions on setting up Nomad for Poseidon
2021-10-21 11:24:25 +02:00
Sebastian Serth
eb4dd9433c
Merge pull request #17 from openHPI/update-deploy-reference
...
Update git submodule for ansible-deployment
2021-10-21 10:58:21 +02:00
Sebastian Serth
669fd48166
Merge pull request #15 from openHPI/ignore-idea-files
...
Exclude IntelliJ and GoLand files
2021-10-21 10:57:22 +02:00
Sebastian Serth
990f294a4b
Merge pull request #16 from openHPI/hostname_hint
...
Specify usage of hostnames in the config
2021-10-21 10:49:09 +02:00
Maximilian Paß
bd80dd729f
Add milliseconds to the logging timestamp
2021-10-21 10:34:31 +02:00
Maximilian Paß
34d4bb7ea0
Implement routes to list, get and delete execution environments
...
* #9 Implement routes to list, get and delete execution environments.
A refactoring was required to introduce the ExecutionEnvironment interface.
* Fix MR comments, linting issues and bug that lead to e2e test failure
* Add e2e tests
* Add unit tests
2021-10-21 10:33:52 +02:00
Sebastian Serth
4fcbd442ca
Exclude IntelliJ and GoLand files
2021-10-21 10:12:31 +02:00
Sebastian Serth
5b79b9fc20
Update git submodule for ansible-deployment
2021-10-21 10:10:49 +02:00
Sebastian Serth
cb20ba6caa
Specify usage of hostnames in the config
2021-10-21 10:07:33 +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
Maximilian Paß
af506dd26f
Fix Bug that only runner routes get registered with authorization.
2021-10-12 10:32:59 +02:00
Sebastian Serth
791f997846
Fix broken link in docs/nomad_usage.md
2021-10-11 20:28:34 +02:00
Sebastian Serth
e59073fcb2
Merge pull request #12 from openHPI/upgrade-dependencies
...
Upgrade dependencies
2021-10-11 19:27:42 +02:00
Sebastian Serth
1a0d71a4cd
Update Go Modules
2021-10-11 18:39:15 +02:00
Sebastian Serth
6aa9deba39
Add dependency management commands to Makefile
...
* `make upgrade-deps`
* `make tidy-deps`
2021-10-11 18:39:15 +02:00
Sebastian Serth
8461c24dbe
Merge pull request #10 from openHPI/dependabot
...
Add dependabot auto updates
2021-10-08 18:51:21 +02:00
Sebastian Serth
3be00b18a1
Add dependabot auto updates
2021-10-05 11:53:46 +02:00
Maximilian Paß
9d7e59df36
Change authorization header key ( #6 )
...
* Change authorization header key
as the use of headers starting with X- has been deprecated in RFC6648.
* Update configuration.example.yaml
Co-authored-by: Sebastian Serth <MrSerth@users.noreply.github.com >
2021-10-04 12:23:41 +02:00
Maximilian Paß
b530c58ee8
Merge pull request #2 from openHPI/feature/github-actions
...
Migrate from GitLab CI/CD to GitHub actions
2021-09-09 15:26:06 +02:00
sirkrypt0
9b106f4cd8
Fix linting issues
...
An update of golangci-lint yielded new linting issues. This commit
fixes them.
2021-08-05 13:40:48 +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
Maximilian Paß
c8c5357b8c
Rename module for GitHub
2021-07-30 16:43:05 +02:00