Commit Graph

586 Commits

Author SHA1 Message Date
Maximilian Paß
a1d30f00c6 OpenAPI Add token and version prefix. 2022-10-24 12:58:16 +02:00
dependabot[bot]
ff267dbde0 Merge pull request #237 from openHPI/dependabot/go_modules/github.com/stretchr/testify-1.8.1 2022-10-24 03:28:01 +00:00
dependabot[bot]
ad5dfb41ad Bump github.com/stretchr/testify from 1.8.0 to 1.8.1
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.0...v1.8.1)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-24 03:19:22 +00:00
Sebastian Serth
b0a1531ef5 Setup Go for lint action 2022-10-23 10:53:05 +02:00
Sebastian Serth
c63cc2f80a Update GitHub Action workflow versions 2022-10-23 10:28:41 +02:00
Maximilian Paß
3e9606d1b9 Fix flaky e2e tests because of no idle runners
at startup.
2022-10-14 21:40:09 +01:00
dependabot[bot]
50c2adb386 Bump github.com/hashicorp/nomad from 1.3.5 to 1.4.1
Bumps [github.com/hashicorp/nomad](https://github.com/hashicorp/nomad) from 1.3.5 to 1.4.1.
- [Release notes](https://github.com/hashicorp/nomad/releases)
- [Changelog](https://github.com/hashicorp/nomad/blob/v1.4.1/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/nomad/compare/v1.3.5...v1.4.1)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/nomad
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-10 21:20:56 +02:00
dependabot[bot]
802a654441 Bump github.com/getsentry/sentry-go from 0.13.0 to 0.14.0
Bumps [github.com/getsentry/sentry-go](https://github.com/getsentry/sentry-go) from 0.13.0 to 0.14.0.
- [Release notes](https://github.com/getsentry/sentry-go/releases)
- [Changelog](https://github.com/getsentry/sentry-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-go/compare/v0.13.0...v0.14.0)

---
updated-dependencies:
- dependency-name: github.com/getsentry/sentry-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-05 13:45:31 +02:00
Maximilian Paß
3509109b6f Fix Ls2JsonWriter
by allowing more spaces in the ls response.
by sending the error response of the list file system route only when no content has been written.
2022-10-05 12:11:47 +01:00
Maximilian Paß
195f88177e Add Content-Length and Content-Disposition Header
for GetFileContent route.
2022-10-05 12:11:47 +01:00
Maximilian Paß
0c70ad3b24 Enable unprivileged retrieve of file listing and content. 2022-10-05 12:11:47 +01:00
Maximilian Paß
0218b3589a Add openAPI definition of the WebSocket endpoint. 2022-10-05 12:11:47 +01:00
Maximilian Paß
847e5cda65 Extend ls2json reader
by also parsing the link target, permissions, group and owner.
2022-10-05 12:11:47 +01:00
Maximilian Paß
3469d0ce77 Specify http not found exit code
by replacing it with StatusGone (410) for a missing runner and StatusFailedDependency (424) for missing or not accessible files.
2022-10-05 12:11:47 +01:00
Maximilian Paß
fc77f11d4d Enquote file path for shell execution.
Also, fix json of 500 response.
2022-10-05 12:11:47 +01:00
Maximilian Paß
152b77afe5 Add listing of runners file system. 2022-10-05 12:11:47 +01:00
Maximilian Paß
c7ee7c1e25 Remove superfluous response.WriteHeader call
as the Write of the responseWriter automatically sends also the Header.
2022-10-05 12:11:47 +01:00
Maximilian Paß
f2b25566dd #136 Copy files back from Nomad runner. 2022-10-05 12:11:47 +01:00
Maximilian Paß
ae7b3ccd58 Add api definition for copying files back from the runner. 2022-10-05 12:11:47 +01:00
Sebastian Serth
b30223bf58 Specify requirements for Docker images
Closes #3 [ci skip]
2022-10-04 15:27:49 +02:00
Sebastian Serth
28872f8269 Clean outdated dependencies 2022-10-04 10:21:07 +02:00
Sebastian Serth
60c6af03a4 Update Dependencies 2022-10-04 10:04:52 +02:00
dependabot[bot]
bd5cc80937 Bump github.com/influxdata/influxdb-client-go/v2 from 2.10.0 to 2.11.0
Bumps [github.com/influxdata/influxdb-client-go/v2](https://github.com/influxdata/influxdb-client-go) from 2.10.0 to 2.11.0.
- [Release notes](https://github.com/influxdata/influxdb-client-go/releases)
- [Changelog](https://github.com/influxdata/influxdb-client-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/influxdata/influxdb-client-go/compare/v2.10.0...v2.11.0)

---
updated-dependencies:
- dependency-name: github.com/influxdata/influxdb-client-go/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-04 10:00:17 +02:00
Sebastian Serth
1a5a49d7c8 Explicitly switch user for code execution.
Co-authored-by: Maximilian Pass <maximilian.pass@student.hpi.uni-potsdam.de>
2022-09-24 23:09:23 +02:00
Sebastian Serth
69237fb415 Use local Docker image in e2e pipeline and rebuild image if necessary 2022-09-24 23:09:23 +02:00
Sebastian Serth
7454e577e4 Allow using a local Docker image, e.g., for tests 2022-09-24 23:09:23 +02:00
Sebastian Serth
15b9117382 Update ansible-deployment 2022-09-22 20:18:20 +02:00
Sebastian Serth
d372e37d1a Add cni/secure-bridge to isolate host network 2022-09-18 19:02:04 +02:00
Sebastian Serth
1df9701a74 Update example config with lowercase keys 2022-09-18 18:42:00 +02:00
Sebastian Serth
ce14c116be Remove deprecated (and ignored) server option 2022-09-18 18:41:59 +02:00
Sebastian Serth
2a234538ca Update Dependencies 2022-09-18 12:24:02 +02:00
Sebastian Serth
3154c03f8a Recommend using gVisor as a sandbox 2022-09-07 22:19:20 +02:00
Maximilian Paß
89fc7b2637 Fix Nomad event stream is ignoring errors
when an event stream could be established once.
2022-09-07 21:16:20 +02:00
Maximilian Paß
e8457ca035 Remove monitoring debug statement. 2022-08-31 09:19:07 +02:00
Maximilian Paß
549d147870 Fix missing environment id for monitoring data. 2022-08-31 08:49:07 +02:00
dependabot[bot]
1ac4655ad5 Bump github.com/influxdata/influxdb-client-go/v2 from 2.9.2 to 2.10.0
Bumps [github.com/influxdata/influxdb-client-go/v2](https://github.com/influxdata/influxdb-client-go) from 2.9.2 to 2.10.0.
- [Release notes](https://github.com/influxdata/influxdb-client-go/releases)
- [Changelog](https://github.com/influxdata/influxdb-client-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/influxdata/influxdb-client-go/compare/v2.9.2...v2.10.0)

---
updated-dependencies:
- dependency-name: github.com/influxdata/influxdb-client-go/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-26 09:09:48 +02:00
Maximilian Paß
1eef26cc83 Add environment id to periodical monitoring events. 2022-08-20 09:17:43 +02:00
Maximilian Paß
5590c50e14 #110 Add periodical monitoring events. 2022-08-19 20:48:46 +02:00
Maximilian Paß
c3460317a4 #110 Add Grafana dashboard visualizing important Poseidon stats. 2022-08-19 20:48:46 +02:00
Sebastian Serth
84ddebb210 Pin Nomad's dependency to resolve security issues and easy dependecy upgrade process 2022-08-17 13:25:48 +02:00
Sebastian Serth
a5dc414b77 Update Dependencies 2022-08-17 13:25:48 +02:00
Sebastian Serth
5059a5dc4c Upgrade Go from 1.18 to 1.19 2022-08-10 20:47:02 +02:00
Maximilian Paß
9677253b35 Change Influx field name for the startup duration
due to a currently not resolvable type mismatch.
2022-08-10 20:46:17 +02:00
Sebastian Serth
021530d5a7 Apply GoFmt fixes 2022-08-10 19:34:05 +02:00
Sebastian Serth
a841675e7e Adapt linter config to remove warnings 2022-08-10 19:34:05 +02:00
Maximilian Paß
770327cf64 Add storage count debug statement. 2022-08-08 09:17:27 +02:00
Sebastian Serth
6ddc6493d4 Update Nomad version in CI 2022-08-08 09:17:13 +02:00
dependabot[bot]
7a7ed1ff39 Bump github.com/hashicorp/nomad from 1.3.2 to 1.3.3
Bumps [github.com/hashicorp/nomad](https://github.com/hashicorp/nomad) from 1.3.2 to 1.3.3.
- [Release notes](https://github.com/hashicorp/nomad/releases)
- [Changelog](https://github.com/hashicorp/nomad/blob/v1.3.3/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/nomad/compare/v1.3.2...v1.3.3)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/nomad
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-08 09:17:13 +02:00
Maximilian Paß
89e15c5c2f Fix startup time format
Before it was a string. To use it efficiently we want it to be a number - in this case in nanoseconds.
2022-08-05 21:16:58 +02:00
Maximilian Paß
b287aa335d Monitor environment id also for deletions. 2022-08-05 21:16:58 +02:00