Commit Graph

  • c22b76720c Add documentation for guarding the Nomad tasks Maximilian Paß 2021-12-22 14:41:53 +01:00
  • 251129aa74 Modify filter for runners that should deleted Maximilian Paß 2021-12-22 14:11:39 +01:00
  • d57a0c07b8 Implement review suggestions Maximilian Paß 2021-12-17 17:09:01 +01:00
  • 0571b10b5c Recreate runners on execution environment update Maximilian Paß 2021-12-16 18:21:21 +01:00
  • 3abfdb6cc6 Improve documentation for Network support in Nomad Sebastian Serth 2021-12-20 19:41:44 +01:00
  • 2bf9b10564 Update default image in template-environment-job.hcl Sebastian Serth 2021-12-22 14:39:20 +01:00
  • 2f5b30702a Fix early write Maximilian Paß 2021-12-16 16:00:08 +01:00
  • f3929cbf50 Fix webSocket error Maximilian Paß 2021-12-15 10:16:09 +01:00
  • feefe2c1ed Fix third goroutine leak and refactor proxy cancellation. Maximilian Paß 2021-12-12 00:50:32 +01:00
  • 9f0b04660f Fix goroutine leak in the nullio reader Maximilian Paß 2021-12-11 22:04:20 +01:00
  • c565ca217e Fix goroutine leak when reading the client WebSocket Maximilian Paß 2021-12-11 21:30:39 +01:00
  • e77024b62c Merge pull request #74 from openHPI/updates Sebastian Serth 2021-12-13 22:28:54 +01:00
  • 2be45c9ef7 Update Dependencies Sebastian Serth 2021-12-13 21:22:19 +01:00
  • f45d28d4a4 Fix flaky TestOutputToStdout test Maximilian Paß 2021-12-10 12:43:52 +01:00
  • 901aa3c8db Remove TCP Write Response Timeout Maximilian Paß 2021-12-09 20:45:12 +01:00
  • d684366a4d Add debug statements for TestSendsSignalAfterTimeout Maximilian Paß 2021-12-09 20:36:56 +01:00
  • bb66190456 Merge pull request #71 from openHPI/fix/#44-unwrapping-error Sebastian Serth 2021-12-10 11:59:04 +01:00
  • 9cd81930e9 Add API Querier test Maximilian Paß 2021-12-10 11:30:56 +01:00
  • ebbbfdb9be Unwrap Nomad error for allocation exec * This will allow us to inspect whether the websocket connection was closed normally Sebastian Serth 2021-12-10 10:01:31 +01:00
  • dce895faff Move the error handler to the api querier to catch the ws normal close error for all Execute requests Maximilian Paß 2021-12-09 18:52:16 +01:00
  • 825ebdd3e6 Add forcePull option Maximilian Paß 2021-12-09 14:54:14 +01:00
  • af939b7810 Catch the "Close normal" error Maximilian Paß 2021-12-08 12:51:25 +01:00
  • e95e07e426 Catch the client connection "Close normal" error Maximilian Paß 2021-12-09 10:02:26 +01:00
  • 1955e678f7 Change the e2e test rule to use the remote image Maximilian Paß 2021-12-08 21:13:19 +01:00
  • 1de559cebc Add statistics route for execution environments Maximilian Paß 2021-12-08 12:08:22 +01:00
  • c23a534f86 Add workflow to build e2e docker image Maximilian Paß 2021-12-07 23:10:59 +01:00
  • 8d3d1852b0 Merge pull request #60 from openHPI/dependabot/go_modules/github.com/mitchellh/mapstructure-1.4.3 dependabot[bot] 2021-12-02 03:37:45 +00:00
  • 1bb50d20cf Bump github.com/mitchellh/mapstructure from 1.4.2 to 1.4.3 dependabot[bot] 2021-12-02 03:32:05 +00:00
  • 77a308e8fd Merge pull request #38 from openHPI/upgrade-nomad Sebastian Serth 2021-11-26 22:10:37 +01:00
  • 16a74095fe CI: Wait until Poseidon is ready Sebastian Serth 2021-11-17 10:09:11 +01:00
  • 0e505a88a5 Upgrade Nomad to 1.2.2 Sebastian Serth 2021-11-17 09:40:11 +01:00
  • 7c9406cd7a Change response logging message to allow specific error tracking in sentry. See POSEIDON-F Maximilian Paß 2021-11-26 21:14:27 +01:00
  • a6eaa45097 Stop stdout & stderr after timeout Maximilian Paß 2021-11-23 14:45:53 +01:00
  • 0d7e07eae0 Add route for version information Maximilian Paß 2021-11-24 22:07:57 +01:00
  • 3ae83217d7 Add Sentry integration Maximilian Paß 2021-11-24 16:30:01 +01:00
  • 705d358027 Update ansible-deployment submodule Sebastian Serth 2021-11-17 23:03:56 +01:00
  • cf3db036fa Make environment variables of the system accessible. Maximilian Paß 2021-11-17 10:16:51 +01:00
  • fbbc96da37 Add guard close in event stream for not handling stopped Execution Environment Allocations Maximilian Paß 2021-11-17 10:55:11 +01:00
  • aa87556a45 Merge pull request #37 from openHPI/trivy Sebastian Serth 2021-11-17 09:00:14 +01:00
  • 051c62b43b Merge pull request #36 from openHPI/upgrade-dependencies Sebastian Serth 2021-11-17 09:00:02 +01:00
  • bd4cc67c78 Merge pull request #34 from openHPI/update_version_for_ci Sebastian Serth 2021-11-17 08:59:41 +01:00
  • 89f97bd273 Merge pull request #30 from openHPI/codeql-analysis Sebastian Serth 2021-11-17 08:59:27 +01:00
  • 7ad28b1bd5 Merge pull request #35 from openHPI/optimize_build_cache Sebastian Serth 2021-11-17 08:59:16 +01:00
  • fef7d951d2 Do not return exit code 1 in case of trivy results Sebastian Serth 2021-11-11 12:12:56 +01:00
  • ea0ca8f4db Upgrade dependencies Sebastian Serth 2021-11-11 00:39:31 +01:00
  • 6592efffe2 Checkout code for trivy analysis Sebastian Serth 2021-11-11 01:29:11 +01:00
  • 68c6b28861 Update versions used during GitHub actions Sebastian Serth 2021-11-11 00:22:21 +01:00
  • dd91f696a1 Update last trim for Go build cache Sebastian Serth 2021-11-11 00:12:10 +01:00
  • 38785d79b7 Create codeql-analysis.yml Sebastian Serth 2021-11-05 09:25:39 +01:00
  • ac6ce56c38 Remove flaky test case Maximilian Paß 2021-11-10 11:03:23 +01:00
  • dcc869cd94 Fix after updating golangci-lint v1.43 Maximilian Paß 2021-11-10 10:36:11 +01:00
  • fff67246d6 Infinite busy waiting for lost event (#31) Maximilian Paß 2021-11-10 09:57:40 +01:00
  • 4db1ceb41e Fix Bug with the runner recovery that the runners of the environment 10 are also recovered for the environment 1. Maximilian Paß 2021-10-22 14:34:22 +02:00
  • 24b22f2c40 Fix racing condition when creating a Nomad job in the e2e tests Maximilian Paß 2021-10-22 15:14:53 +02:00
  • ba6e7035fa Mark runner as used now asynchronously. Maximilian Paß 2021-10-22 14:54:50 +02:00
  • 055fa43227 Create a new runner async after one gets claimed Maximilian Paß 2021-10-21 11:31:57 +02:00
  • dff3df9cc7 Merge pull request #18 from openHPI/nomad-readme Sebastian Serth 2021-10-21 11:45:21 +02:00
  • d5722a20c7 Add instructions on setting up Nomad for Poseidon Sebastian Serth 2021-10-21 10:42:20 +02:00
  • eb4dd9433c Merge pull request #17 from openHPI/update-deploy-reference Sebastian Serth 2021-10-21 10:58:21 +02:00
  • 669fd48166 Merge pull request #15 from openHPI/ignore-idea-files Sebastian Serth 2021-10-21 10:57:22 +02:00
  • 990f294a4b Merge pull request #16 from openHPI/hostname_hint Sebastian Serth 2021-10-21 10:49:09 +02:00
  • bd80dd729f Add milliseconds to the logging timestamp Maximilian Paß 2021-10-20 23:15:29 +02:00
  • 34d4bb7ea0 Implement routes to list, get and delete execution environments Maximilian Paß 2021-10-21 10:33:52 +02:00
  • 4fcbd442ca Exclude IntelliJ and GoLand files Sebastian Serth 2021-10-21 10:12:31 +02:00
  • 5b79b9fc20 Update git submodule for ansible-deployment Sebastian Serth 2021-10-21 10:10:49 +02:00
  • cb20ba6caa Specify usage of hostnames in the config Sebastian Serth 2021-10-21 10:07:33 +02:00
  • 71cf21abce Configure an ansible playbook (#5) Maximilian Paß 2021-10-12 11:06:59 +02:00
  • af506dd26f Fix Bug that only runner routes get registered with authorization. Maximilian Paß 2021-10-11 20:44:19 +02:00
  • 791f997846 Fix broken link in docs/nomad_usage.md Sebastian Serth 2021-10-11 20:28:34 +02:00
  • e59073fcb2 Merge pull request #12 from openHPI/upgrade-dependencies Sebastian Serth 2021-10-11 19:27:42 +02:00
  • 1a0d71a4cd Update Go Modules Sebastian Serth 2021-10-11 16:35:00 +02:00
  • 6aa9deba39 Add dependency management commands to Makefile Sebastian Serth 2021-10-11 16:34:39 +02:00
  • 8461c24dbe Merge pull request #10 from openHPI/dependabot Sebastian Serth 2021-10-08 18:51:21 +02:00
  • 3be00b18a1 Add dependabot auto updates Sebastian Serth 2021-10-05 11:53:46 +02:00
  • 9d7e59df36 Change authorization header key (#6) Maximilian Paß 2021-10-04 12:23:41 +02:00
  • b530c58ee8 Merge pull request #2 from openHPI/feature/github-actions Maximilian Paß 2021-09-09 15:26:06 +02:00
  • 9b106f4cd8 Fix linting issues sirkrypt0 2021-08-05 12:51:05 +02:00
  • aae0c6e377 Migrate from GitLab CI/CD to GitHub actions (#1) sirkrypt0 2021-07-30 09:51:39 +02:00
  • c8c5357b8c Rename module for GitHub Maximilian Paß 2021-07-30 16:40:44 +02:00
  • 36dc99f019 Don't embed the execution.Storer interface into a runner sirkrypt0 2021-07-29 17:00:54 +02:00
  • 4ad470a5c4 Rename execution.Storage to Storer to follow Go convention sirkrypt0 2021-07-29 16:02:28 +02:00
  • bd14b1e181 Move execution storage to new package sirkrypt0 2021-07-29 15:20:16 +02:00
  • 8197235f1c Add Poseidon icon Jan-Eric Hellenberg 2021-07-30 13:40:17 +02:00
  • 3c2e85ed4a Correct destination of nomad-ca.crt template to be inside NOMAD_SECRETS_DIR Jan-Eric Hellenberg 2021-07-29 15:41:06 +02:00
  • 8fcb5f3581 Add attribution for Poseidon icon sirkrypt0 2021-07-29 15:17:44 +00:00
  • 3b6c616d9c Describe purpose of Poseidon Jan-Eric Hellenberg 2021-07-29 14:48:02 +02:00
  • a1366a9f76 Split README documentation into multiple files inside the docs folder Jan-Eric Hellenberg 2021-07-29 14:24:59 +02:00
  • de6edeedcc Add docs on how to avoid Nomad rate limiting sirkrypt0 2021-07-29 14:01:31 +02:00
  • f03d07cd54 Add LICENSE sirkrypt0 2021-07-27 11:31:28 +02:00
  • c21b85b32a Add missing copyright header sirkrypt0 2021-07-27 11:31:19 +02:00
  • c9d6cd5996 Move runner interactivity timer to own file sirkrypt0 2021-07-29 14:26:08 +02:00
  • 5c9f975285 Update api.tpl.nomad to allow configuration Nomad ACL Token for Poseidon Jan-Eric Hellenberg 2021-07-29 12:17:19 +02:00
  • 67ebdbd650 Add option to configure template job HCL file sirkrypt0 2021-07-27 15:30:02 +02:00
  • 12da813081 Describe how Poseidon abstracts from Nomad Maximilian Paß 2021-07-27 11:07:23 +02:00
  • 81eccbdf9c Remove custom deployment watcher script sirkrypt0 2021-07-27 16:22:08 +02:00
  • 3564cf767e Update Nomad dependencies to 1.1.2 sirkrypt0 2021-07-27 16:22:00 +02:00
  • 210a048b5e Update api.tpl.nomad to allow configuring TLS to Nomad through gitlab Jan-Eric Hellenberg 2021-07-27 16:41:23 +02:00
  • 01d16600b0 Document activating TLS between Poseidon and Nomad Jan-Eric Hellenberg 2021-07-27 14:00:04 +02:00
  • 6a60b6cd89 Add config option to enable (m)TLS between Poseidon and Nomad Jan-Eric Hellenberg 2021-07-27 13:45:46 +02:00
  • e2d71a11ad Avoid concurrent writes to the websocket connection sirkrypt0 2021-07-29 10:15:01 +02:00