Commit Graph

651 Commits

Author SHA1 Message Date
Maximilian Paß
bcab46d746 Allow unlimited Nomad reschedules
With this measure, we want to avoid template jobs being removed on the second rescheduling.
2023-06-13 14:20:20 +02:00
dependabot[bot]
1b3f505075 Bump github.com/sirupsen/logrus from 1.9.2 to 1.9.3
Bumps [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus) from 1.9.2 to 1.9.3.
- [Release notes](https://github.com/sirupsen/logrus/releases)
- [Changelog](https://github.com/sirupsen/logrus/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sirupsen/logrus/compare/v1.9.2...v1.9.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-05 04:08:22 +00:00
Maximilian Paß
5b64725faa Fix golangci-lint errors
that appeared due to the new version v1.53.1.
2023-06-04 11:54:42 +01:00
dependabot[bot]
6ad6283352 Bump aws-java-sdk-apigatewaymanagementapi in /deploy/aws/java11Exec
Bumps [aws-java-sdk-apigatewaymanagementapi](https://github.com/aws/aws-sdk-java) from 1.12.459 to 1.12.479.
- [Changelog](https://github.com/aws/aws-sdk-java/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-java/compare/1.12.459...1.12.479)

---
updated-dependencies:
- dependency-name: com.amazonaws:aws-java-sdk-apigatewaymanagementapi
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-01 04:11:20 +00:00
dependabot[bot]
c5f3ba5371 Bump aws-lambda-java-events in /deploy/aws/java11Exec
Bumps [aws-lambda-java-events](https://github.com/aws/aws-lambda-java-libs) from 3.11.1 to 3.11.2.
- [Commits](https://github.com/aws/aws-lambda-java-libs/commits)

---
updated-dependencies:
- dependency-name: com.amazonaws:aws-lambda-java-events
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-01 04:04:07 +00:00
dependabot[bot]
08f07c9889 Bump github.com/stretchr/testify from 1.8.3 to 1.8.4
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.3 to 1.8.4.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.3...v1.8.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>
2023-05-31 04:06:06 +00:00
Maximilian Paß
f7339570ae Fix increased prewarming pool size
by checking the number of required runners before creating an additional runner.
2023-05-28 23:47:07 +01:00
dependabot[bot]
26ca7e4597 Bump github.com/hashicorp/nomad from 1.5.5 to 1.5.6
Bumps [github.com/hashicorp/nomad](https://github.com/hashicorp/nomad) from 1.5.5 to 1.5.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.5.5...v1.5.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>
2023-05-23 04:09:13 +00:00
dependabot[bot]
aafeb1ac59 Bump github.com/stretchr/testify from 1.8.2 to 1.8.3
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.2 to 1.8.3.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.2...v1.8.3)

---
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>
2023-05-19 04:05:22 +00:00
dependabot[bot]
25fa971383 Bump github.com/sirupsen/logrus from 1.9.1 to 1.9.2
Bumps [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus) from 1.9.1 to 1.9.2.
- [Release notes](https://github.com/sirupsen/logrus/releases)
- [Changelog](https://github.com/sirupsen/logrus/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sirupsen/logrus/compare/v1.9.1...v1.9.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-18 04:04:58 +00:00
dependabot[bot]
f89dd1feea Bump github.com/sirupsen/logrus from 1.9.0 to 1.9.1
Bumps [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus) from 1.9.0 to 1.9.1.
- [Release notes](https://github.com/sirupsen/logrus/releases)
- [Changelog](https://github.com/sirupsen/logrus/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sirupsen/logrus/compare/v1.9.0...v1.9.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-17 13:49:54 +00:00
Maximilian Paß
1061b15c3e Fix Influx monitoring by renaming the time tag. 2023-05-12 18:36:34 +01:00
Maximilian Paß
bbc15d9b71 Monitor Job events
and add time to Nomad event monitoring.
2023-05-12 16:35:30 +01:00
Maximilian Paß
9300a82535 Fix missing idle runners.
In the context of #358 we identified that the event with the type `AllocationUpdated` and the client status `pending` is common but not always send by Nomad.

With this Commit we remove the condition that limits the evaluated Nomad events to the event with the type `AllocationUpdated`. Without the condition the event of the type `PlanResult` and the status `pending` will be evaluated equally. By now, this event seems to be sent every time.

This restriction led to started allocation not being registered when the `AllocationUpdated` event with client status `pending` was missing.
2023-05-12 16:25:43 +01:00
Maximilian Paß
f377b1376c Add Client Status to Nomad Allocation monitoring
Also add the Nomad Node name as additional debug information.
2023-05-10 19:09:31 +01:00
Maximilian Paß
8f89c14ea1 Cleanup logs for Allocation recovery
on startup. The changes do not have functional consequences as adding the allocation just overwrites the old one.
2023-05-10 18:56:51 +01:00
Maximilian Paß
5a147c4985 Add debug statements for allocation event handling 2023-05-10 18:56:51 +01:00
dependabot[bot]
9fe21fdbea Bump github.com/getsentry/sentry-go from 0.20.0 to 0.21.0
Bumps [github.com/getsentry/sentry-go](https://github.com/getsentry/sentry-go) from 0.20.0 to 0.21.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.20.0...v0.21.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>
2023-05-09 17:18:18 +02:00
Maximilian Paß
42efebc194 Monitor the Nomad events
and send all Nomad events to Influxdb.
2023-05-09 00:13:58 +01:00
dependabot[bot]
bc479fcf1e Bump github.com/hashicorp/nomad from 1.5.4 to 1.5.5
Bumps [github.com/hashicorp/nomad](https://github.com/hashicorp/nomad) from 1.5.4 to 1.5.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.5.4...v1.5.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>
2023-05-08 04:12:19 +00:00
dependabot[bot]
cb204c6ba2 Bump github.com/hashicorp/nomad from 1.5.3 to 1.5.4
Bumps [github.com/hashicorp/nomad](https://github.com/hashicorp/nomad) from 1.5.3 to 1.5.4.
- [Release notes](https://github.com/hashicorp/nomad/releases)
- [Changelog](https://github.com/hashicorp/nomad/blob/v1.5.4/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/nomad/compare/v1.5.3...v1.5.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>
2023-05-04 04:08:26 +00:00
dependabot[bot]
3c45bfe59c Bump aws-java-sdk-apigatewaymanagementapi in /deploy/aws/java11Exec
Bumps [aws-java-sdk-apigatewaymanagementapi](https://github.com/aws/aws-sdk-java) from 1.12.444 to 1.12.459.
- [Release notes](https://github.com/aws/aws-sdk-java/releases)
- [Changelog](https://github.com/aws/aws-sdk-java/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-java/compare/1.12.444...1.12.459)

---
updated-dependencies:
- dependency-name: com.amazonaws:aws-java-sdk-apigatewaymanagementapi
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-01 10:12:16 +00:00
Maximilian Paß
d8d9abbddd Add Job ID to Nomad Allocation monitoring. 2023-04-23 12:54:57 +01:00
Sebastian Serth
63878e7715 Add CODE_OF_CONDUCT.md and a link from README.md 2023-04-15 19:01:26 +02:00
Maximilian Paß
801e4f489e Synchronize Sentry debug message handling. 2023-04-11 20:58:57 +01:00
Maximilian Paß
2aa10a130f Introduce context for the codeOceanOutputWriter
that represents its lifespan.
2023-04-11 20:45:30 +01:00
Maximilian Paß
0c8fa9ccfa Add context to log statements. 2023-04-11 20:45:30 +01:00
Maximilian Paß
43221c717e Add context to Sentry Hook.
With this context, tracing information stored in the context can be associated with sentry events/issues.
2023-04-11 20:45:30 +01:00
Sebastian Serth
93db065923 Write performance profile on SIGUSR1 2023-04-11 20:31:50 +01:00
Sebastian Serth
830b361e21 Only check on a monthly basis for Java updates 2023-04-07 19:47:21 +02:00
dependabot[bot]
7f7dd91677 Merge pull request #355 from openHPI/dependabot/maven/deploy/aws/java11Exec/com.amazonaws-aws-java-sdk-apigatewaymanagementapi-1.12.444 2023-04-07 04:07:57 +00:00
dependabot[bot]
7f5ecc2ddd Bump aws-java-sdk-apigatewaymanagementapi in /deploy/aws/java11Exec
Bumps [aws-java-sdk-apigatewaymanagementapi](https://github.com/aws/aws-sdk-java) from 1.12.443 to 1.12.444.
- [Release notes](https://github.com/aws/aws-sdk-java/releases)
- [Changelog](https://github.com/aws/aws-sdk-java/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-java/compare/1.12.443...1.12.444)

---
updated-dependencies:
- dependency-name: com.amazonaws:aws-java-sdk-apigatewaymanagementapi
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-07 04:00:22 +00:00
dependabot[bot]
cae9d25228 Bump github.com/hashicorp/nomad from 1.5.2 to 1.5.3
Bumps [github.com/hashicorp/nomad](https://github.com/hashicorp/nomad) from 1.5.2 to 1.5.3.
- [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.5.2...v1.5.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>
2023-04-06 20:01:02 +02:00
dependabot[bot]
e9f2dcf80f Merge pull request #352 from openHPI/dependabot/maven/deploy/aws/java11Exec/com.amazonaws-aws-java-sdk-apigatewaymanagementapi-1.12.443 2023-04-06 04:07:05 +00:00
dependabot[bot]
cd5de8fd96 Bump aws-java-sdk-apigatewaymanagementapi in /deploy/aws/java11Exec
Bumps [aws-java-sdk-apigatewaymanagementapi](https://github.com/aws/aws-sdk-java) from 1.12.442 to 1.12.443.
- [Release notes](https://github.com/aws/aws-sdk-java/releases)
- [Changelog](https://github.com/aws/aws-sdk-java/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-java/compare/1.12.442...1.12.443)

---
updated-dependencies:
- dependency-name: com.amazonaws:aws-java-sdk-apigatewaymanagementapi
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-06 03:59:53 +00:00
dependabot[bot]
81c09f7613 Merge pull request #351 from openHPI/dependabot/maven/deploy/aws/java11Exec/com.amazonaws-aws-java-sdk-apigatewaymanagementapi-1.12.442 2023-04-05 06:27:42 +00:00
dependabot[bot]
457b314a78 Bump aws-java-sdk-apigatewaymanagementapi in /deploy/aws/java11Exec
Bumps [aws-java-sdk-apigatewaymanagementapi](https://github.com/aws/aws-sdk-java) from 1.12.441 to 1.12.442.
- [Release notes](https://github.com/aws/aws-sdk-java/releases)
- [Changelog](https://github.com/aws/aws-sdk-java/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-java/compare/1.12.441...1.12.442)

---
updated-dependencies:
- dependency-name: com.amazonaws:aws-java-sdk-apigatewaymanagementapi
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-05 03:59:56 +00:00
dependabot[bot]
f176941616 Merge pull request #350 from openHPI/dependabot/maven/deploy/aws/java11Exec/com.amazonaws-aws-java-sdk-apigatewaymanagementapi-1.12.441 2023-04-04 04:08:48 +00:00
dependabot[bot]
5e2cbfd9f3 Bump aws-java-sdk-apigatewaymanagementapi in /deploy/aws/java11Exec
Bumps [aws-java-sdk-apigatewaymanagementapi](https://github.com/aws/aws-sdk-java) from 1.12.440 to 1.12.441.
- [Release notes](https://github.com/aws/aws-sdk-java/releases)
- [Changelog](https://github.com/aws/aws-sdk-java/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-java/compare/1.12.440...1.12.441)

---
updated-dependencies:
- dependency-name: com.amazonaws:aws-java-sdk-apigatewaymanagementapi
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-04 04:01:52 +00:00
dependabot[bot]
91c70bb83e Bump github.com/getsentry/sentry-go from 0.19.0 to 0.20.0
Bumps [github.com/getsentry/sentry-go](https://github.com/getsentry/sentry-go) from 0.19.0 to 0.20.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.19.0...v0.20.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>
2023-04-03 21:49:37 +02:00
dependabot[bot]
77c23650c1 Merge pull request #347 from openHPI/dependabot/maven/deploy/aws/java11Exec/com.amazonaws-aws-java-sdk-apigatewaymanagementapi-1.12.440 2023-04-03 04:07:50 +00:00
dependabot[bot]
c6a2e02c74 Bump aws-java-sdk-apigatewaymanagementapi in /deploy/aws/java11Exec
Bumps [aws-java-sdk-apigatewaymanagementapi](https://github.com/aws/aws-sdk-java) from 1.12.439 to 1.12.440.
- [Release notes](https://github.com/aws/aws-sdk-java/releases)
- [Changelog](https://github.com/aws/aws-sdk-java/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-java/compare/1.12.439...1.12.440)

---
updated-dependencies:
- dependency-name: com.amazonaws:aws-java-sdk-apigatewaymanagementapi
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-03 04:00:34 +00:00
Sebastian Serth
39d6bb9aa2 Add Codecov badge to Readme
We still have the new badge along with CodeClimate and will remove the duplication later on.
2023-04-01 21:42:41 +02:00
Sebastian Serth
5c2b53f4bc Add Codecov to GitHub actions 2023-04-01 21:42:41 +02:00
Maximilian Paß
a720553dd1 Fix missing Runner-Delete events. 2023-04-01 19:27:09 +02:00
Maximilian Paß
8950ce29d8 Recover Runner Allocations on startup. 2023-04-01 19:27:09 +02:00
Maximilian Paß
038d71ff51 Nomad: Handle Container re-allocation 2023-03-31 14:42:55 +02:00
Maximilian Paß
e0db1bafe8 Fix multiple user Runner use
A before unknown Nomad reload adds already known runner again to the idle runner - even if they are already in use.
2023-03-31 14:42:55 +02:00
Maximilian Paß
0d829c9308 Fix Panic Recovery
by moving the recovery functionality in the main goroutine.
2023-03-31 12:14:42 +02:00
dependabot[bot]
d9bc114d36 Merge pull request #342 from openHPI/dependabot/maven/deploy/aws/java11Exec/com.amazonaws-aws-java-sdk-apigatewaymanagementapi-1.12.439 2023-03-31 04:07:36 +00:00