Commit Graph

358 Commits

Author SHA1 Message Date
275b6aa642 #89 Adjust golangci-lint configuration
as it does not support generics at this moment.

See https://github.com/golangci/golangci-lint/issues/2649
2022-06-29 16:21:19 +02:00
34040162c2 #89 Generalise the three Storage interfaces and structs into one generic storage manager. 2022-06-29 16:21:19 +02:00
542be96c66 Merge pull request #175 from openHPI/dependabot/go_modules/github.com/stretchr/testify-1.7.5 2022-06-27 10:19:29 +00:00
32ed8b7170 Bump github.com/stretchr/testify from 1.7.4 to 1.7.5
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.4 to 1.7.5.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.4...v1.7.5)

---
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-06-27 09:58:44 +00:00
dc1a0c807f Bump github.com/influxdata/influxdb-client-go/v2 from 2.9.0 to 2.9.1
Bumps [github.com/influxdata/influxdb-client-go/v2](https://github.com/influxdata/influxdb-client-go) from 2.9.0 to 2.9.1.
- [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.0...v2.9.1)

---
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-06-27 11:54:30 +02:00
203d5a3a4f #155 refactor and synchronise writing to CodeOcean. (#174)
* #155 refactor and synchronise writing to CodeOcean.

* Reduce complexity of input parsing.

* Update typo in internal/api/ws/codeocean_writer.go

Co-authored-by: Sebastian Serth <MrSerth@users.noreply.github.com>
2022-06-26 20:19:23 +02:00
a4d13fb8cb #148 Add stage to influx monitoring. 2022-06-21 15:31:29 +02:00
22620985bc Java11Exec: Reduce complexity of parseCommand method. 2022-06-21 13:24:01 +02:00
ed5205236f #166 Fix AWS JAVA ignoring shell commands in combination with a Makefile. 2022-06-21 13:24:01 +02:00
b0916a2485 #166 Adjust outdated make command pattern
as with #147 a new unset command part is introduced.

Also add a regression e2e test that would have caught this issue.
2022-06-21 13:24:01 +02:00
3afe8ddb66 #155 Enable stopping of the CodeOcean WebSocket read independently of writing to CodeOcean. 2022-06-21 12:13:33 +02:00
3d1ed7cb0f #155 Minimise timing issues with websocket close. 2022-06-21 12:13:33 +02:00
950c421ea7 Merge pull request #170 from openHPI/dependabot/go_modules/github.com/stretchr/testify-1.7.4 2022-06-21 07:38:32 +00:00
43f3c3be03 Bump github.com/stretchr/testify from 1.7.2 to 1.7.4
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.2 to 1.7.4.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.2...v1.7.4)

---
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-06-21 03:43:35 +00:00
79dc3a94da #155 Add log statement for further investigations (#164) 2022-06-12 11:10:57 +02:00
057dc0f1cc Update usage of CodeQL action 2022-06-11 13:51:10 +02:00
eecacc08bf #42 Allow deletion of ./* 2022-06-10 18:21:06 +02:00
59ca63268b Add CODEOCEAN environment variable. 2022-06-10 18:10:28 +02:00
2f066a9fb4 E2e test environment variables. 2022-06-10 18:10:28 +02:00
903ad415c6 Set and unset aws environment variables
in order to provide the CodeOcean context for some scripts and hide AWS credentials from the users.
2022-06-10 18:10:28 +02:00
ecce3c294f #155 Add log statement for further investigations 2022-06-09 22:34:43 +02:00
2b18b25f93 Update Dependencies 2022-06-09 22:23:40 +02:00
d0398376c5 Update ansible-deployment 2022-06-08 09:10:20 +02:00
0f8a1fa25a Specify AWS Functions as list
to conform with the yaml standard of list definition.
2022-06-08 09:01:46 +02:00
d80761a973 Update CodeQL 2022-06-07 17:21:05 +02:00
669ec039ce Update dependencies 2022-06-07 17:21:05 +02:00
1e59c1146e Fix CodeQL log injection warning
by removing newlines from logged user input.
2022-06-07 17:21:05 +02:00
97a2311a74 Fix CodeClimate duplication smells
by extracting one http helper method and
increasing the threshold for duplication issues.
2022-06-07 16:59:02 +02:00
7ac08b83d0 Add CodeClimate configuration 2022-06-07 16:59:02 +02:00
f7dad81691 Add CodeClimate badges to README.md 2022-06-07 16:59:02 +02:00
bd7dc173c3 Introduce CodeClimate
to make the test coverage easily accessible.
2022-06-07 16:59:02 +02:00
795c83f7b2 Fix deleting non existent environments
that is an error caused by throwing a panic when an environment is not found and a nonexistent runner manager at the end of the chain is asked for it.
2022-06-07 15:54:48 +02:00
689493047d Memory oversubscription documentation 2022-06-07 15:47:29 +02:00
64316186bc Merge pull request #160 from openHPI/dependabot/go_modules/github.com/stretchr/testify-1.7.2 2022-06-07 12:28:52 +00:00
5b6d3caf55 Bump github.com/stretchr/testify from 1.7.1 to 1.7.2
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.1 to 1.7.2.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.1...v1.7.2)

---
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-06-07 03:18:41 +00:00
d0263feff4 Bump github.com/hashicorp/nomad from 1.2.6 to 1.3.1
Bumps [github.com/hashicorp/nomad](https://github.com/hashicorp/nomad) from 1.2.6 to 1.3.1.
- [Release notes](https://github.com/hashicorp/nomad/releases)
- [Changelog](https://github.com/hashicorp/nomad/blob/v1.3.1/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/nomad/compare/v1.2.6...v1.3.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-05-24 23:18:33 +02:00
0ec5275296 Bump github.com/influxdata/influxdb-client-go/v2 from 2.8.2 to 2.9.0
Bumps [github.com/influxdata/influxdb-client-go/v2](https://github.com/influxdata/influxdb-client-go) from 2.8.2 to 2.9.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.8.2...v2.9.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-05-24 23:04:54 +02:00
358769eb6b Fix golangci lint. 2022-05-24 22:12:48 +02:00
425ef900b1 Add SECURITY.md 2022-04-29 23:09:07 +02:00
609a7b803e Java11Exec: Fix Test with updated dependencies. 2022-04-24 18:49:49 +02:00
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