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
dca91a8c4f
Bump github.com/mitchellh/mapstructure from 1.4.3 to 1.5.0
...
Bumps [github.com/mitchellh/mapstructure](https://github.com/mitchellh/mapstructure ) from 1.4.3 to 1.5.0.
- [Release notes](https://github.com/mitchellh/mapstructure/releases )
- [Changelog](https://github.com/mitchellh/mapstructure/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mitchellh/mapstructure/compare/v1.4.3...v1.5.0 )
---
updated-dependencies:
- dependency-name: github.com/mitchellh/mapstructure
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-04-24 17:51:57 +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
a95db653ca
Fix another typo in configuration.example.yaml
2022-04-20 19:06:45 +02:00
9b4b31585f
Merge pull request #120 from openHPI/dependabot/go_modules/github.com/influxdata/influxdb-client-go/v2-2.8.2
2022-04-20 09:15:02 +00:00
17c7a8cbfa
Bump github.com/influxdata/influxdb-client-go/v2 from 2.8.1 to 2.8.2
...
Bumps [github.com/influxdata/influxdb-client-go/v2](https://github.com/influxdata/influxdb-client-go ) from 2.8.1 to 2.8.2.
- [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.8.1...v2.8.2 )
---
updated-dependencies:
- dependency-name: github.com/influxdata/influxdb-client-go/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-04-20 03:23:15 +00: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
25f92e5f94
Add environment specific data to the influxdb data.
2022-04-18 13:17:49 +02:00
eabe3a1b27
Add the Environment ID to the influxdb data.
...
Also move the interface of an execution environment into its own file, execution_environment.go.
2022-04-18 13:17:49 +02:00
b7a20e3114
Introduce method "Environment" to the Runners interface.
...
This way we can relate to which environment a runner belongs.
2022-04-18 13:17:49 +02:00
8feffdae3a
Add initial structure of influxdb monitoring.
2022-04-18 13:17:49 +02:00
e4ebb5b384
Add trace statements for WebSocket messages
...
* With `logger.level: TRACE`, the content of WebSocket messages is logged
together with the corresponding timestamp.
* The input is not further sanitized as this log level
is not intended for production use.
2022-04-15 12:39:03 +02:00
f1825ebd69
CI: Remove dep-scan as dependency of e2e-tests
2022-04-09 16:35:53 +02:00
3570f18202
Apply suggestions from code review
...
Co-authored-by: Sebastian Serth <MrSerth@users.noreply.github.com >
2022-04-09 16:35:53 +02:00
597cbec456
Fix golangci-lint timeout error
2022-04-09 16:35:53 +02:00
136f596dc2
Add aws environments to the statistics
...
but only with the field usedRunners.
2022-04-09 16:35:53 +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
830517f464
Upgrade Go from 1.17 to 1.18
2022-04-04 11:41:57 +02:00
a41659eed4
Enable memory oversubscription ( #102 )
...
* Enable memory oversubscription
* Fix and add e2e test
2022-03-18 08:31:27 +01:00
708ae3679e
Bump github.com/stretchr/testify from 1.7.0 to 1.7.1
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.7.0...v1.7.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-03-16 18:30:27 +00:00
62d7f00ff4
Merge pull request #101 from openHPI/dependabot/go_modules/github.com/getsentry/sentry-go-0.13.0
2022-03-14 10:35:45 +00:00
a558eb2131
Bump github.com/getsentry/sentry-go from 0.12.0 to 0.13.0
...
Bumps [github.com/getsentry/sentry-go](https://github.com/getsentry/sentry-go ) from 0.12.0 to 0.13.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.12.0...v0.13.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-03-11 03:15:21 +00:00
2cf890ab91
Implement review comments
2022-02-28 14:54:40 +01:00
df68461264
Sanitize user input in logs.
2022-02-28 14:54:40 +01:00
4ffbb712ed
Parametrize e2e tests to also check AWS environments.
...
- Fix destroy runner after timeout.
- Add file deletion
2022-02-28 14:54:40 +01: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
d603a8ebb0
Refactor static AWS functions
...
from a magic number in the code to a configurable list in configuration.yaml
2022-02-28 14:54:40 +01:00
f6d9a6ddbb
Add unit tests
2022-02-28 14:54:40 +01:00
6123d20525
Implement core functionality of AWS integration
2022-02-28 14:54:40 +01:00
dd41e0d5c4
Generate structures for an AWS environment and runner
2022-02-28 14:54:40 +01:00
0ef5a4e39f
Make Execution Environment interface Nomad independent
2022-02-28 14:54:40 +01:00
ba43f667c2
Add architecture for multiple managers
...
using the chain of responsibility pattern.
2022-02-28 14:54:40 +01:00
dd1d27e393
Bump github.com/gorilla/websocket from 1.4.2 to 1.5.0
...
Bumps [github.com/gorilla/websocket](https://github.com/gorilla/websocket ) from 1.4.2 to 1.5.0.
- [Release notes](https://github.com/gorilla/websocket/releases )
- [Commits](https://github.com/gorilla/websocket/compare/v1.4.2...v1.5.0 )
---
updated-dependencies:
- dependency-name: github.com/gorilla/websocket
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-02-23 12:46:50 +01:00
251b3b30ef
Bump github.com/hashicorp/nomad from 1.2.5 to 1.2.6
...
Bumps [github.com/hashicorp/nomad](https://github.com/hashicorp/nomad ) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/hashicorp/nomad/releases )
- [Changelog](https://github.com/hashicorp/nomad/blob/main/CHANGELOG.md )
- [Commits](https://github.com/hashicorp/nomad/compare/v1.2.5...v1.2.6 )
---
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-02-23 09:45:17 +01:00
1d974d9576
Merge pull request #92 from openHPI/dependabot/go_modules/github.com/hashicorp/nomad-1.2.5
2022-02-02 03:26:00 +00:00
abac7ebf33
Bump github.com/hashicorp/nomad from 1.2.4 to 1.2.5
...
Bumps [github.com/hashicorp/nomad](https://github.com/hashicorp/nomad ) from 1.2.4 to 1.2.5.
- [Release notes](https://github.com/hashicorp/nomad/releases )
- [Changelog](https://github.com/hashicorp/nomad/blob/main/CHANGELOG.md )
- [Commits](https://github.com/hashicorp/nomad/compare/v1.2.4...v1.2.5 )
---
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-02-02 03:19:45 +00: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
d530d4bfdf
Update Dependencies
2022-01-20 23:50:01 +01:00
560f61bccb
Bump github.com/hashicorp/nomad from 1.2.3 to 1.2.4
...
Bumps [github.com/hashicorp/nomad](https://github.com/hashicorp/nomad ) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/hashicorp/nomad/releases )
- [Changelog](https://github.com/hashicorp/nomad/blob/main/CHANGELOG.md )
- [Commits](https://github.com/hashicorp/nomad/compare/v1.2.3...v1.2.4 )
---
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-01-20 21:44:34 +01:00
e24248faa8
Run Sentry release GitHub Action
...
on every push to main.
2022-01-05 18:32:56 +01:00
89bbb9daef
Allow trim to fail
...
This will happen if no cache is found, e.g. because it has been deleted by GitHub. A cache will removed after seven days without usage
2022-01-05 18:26:32 +01:00
1239699e74
Add a warning when allocations fail ( #83 )
...
* Log a warning when an allocation fails
* Restructure allocation event handling
2021-12-23 13:10:55 +01:00
79578bd483
Bump github.com/getsentry/sentry-go from 0.11.0 to 0.12.0
...
Bumps [github.com/getsentry/sentry-go](https://github.com/getsentry/sentry-go ) from 0.11.0 to 0.12.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.11.0...v0.12.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 >
2021-12-23 08:52:21 +01:00
a59e2362bf
Upgrade the dependencies
2021-12-22 17:35:53 +01:00