Commit Graph

10 Commits

Author SHA1 Message Date
Henrik Brodin 1e4e56490f NodeLocalStorage (#369)
This PR introduces a NodeLocal storage concept. Data is always processed on the local node, and only replicated to the azure file storage as needed.

A DaemonSet is introduced that syncs any corpus on the local node with the global corpus directory.

The following path structure is introduced:

/node_data/crs_scratch
/node_data/tasks_storage
/node_data/scratch
The first two directories is the equivalent of the previous usage of

/crs_scratch
/tasks_storage
The scratch is for basing temporary files and directories on the same filesystem as node-local version to be able to do atomic renames.

Further, ChallengeTask data is used normally on the /node_data/... paths, but is stored as /tasks_storage/{uuid}.tgz on the "remote" storage. This is to speed up copying.

Corpus and CrashSets are synced as is.
2025-04-11 14:03:49 +02:00
Ronald Eytchison 5e089cf6c4 Upload LLM OTel data to Signoz (#275)
* Copy signoz deployment from example-crs-architecture

* Make ports local and remove unused clickhouse config

* Upload seed-gen LLM traces to SigNoz with OTel

* Add telemetry to patcher and seed-gen with common function

* Update README and lockfiles
2025-03-28 11:04:45 +01:00
Henrik Brodin 4ec058d0d3 Competition API v1.1-rc5 (#259)
* Competition API v1.1-rc5

* Change port for easier kubernetes integration
2025-03-26 13:57:41 +01:00
Evan Downing ce9976867a Add environment variable to disable graphdb. (#253) 2025-03-26 07:23:26 -04:00
Henrik Brodin 4b3c976ead Check for competition api ready (#236)
* Check for competition api ready

* tests
2025-03-24 19:38:49 +01:00
Riccardo Schirone 290ae923bd Competition api v1.1 (#184)
* orchestrator: update competition_api_client to v0.4

* orchestrator: adapt to new competition_api_client v0.4

* Update API to v1.1

* remove shared-tmp volume

* fix tests

* fix lint
2025-03-18 18:54:17 +01:00
Riccardo Schirone c30b1707ed orchestrator/scheduler: make competition api/token configurable (#182) 2025-03-10 14:11:29 +01:00
Henrik Brodin fd21d0020c Implements configurable authentication (#181)
* Implements configurable authentication

This removes the hardcoded auth and introduces a tool for generating the
required keys/tokens/tokenhash values.

buttercup-auth-tool --env

this will output all information needed to configure the server and
client side.

* lint

* Use new auth in ci
2025-03-10 09:51:29 +01:00
Riccardo Schirone b0dc8cf68a patcher: simplify with Command and remove some older parts (#91)
* patcher: use pydantic basemodel
* patcher: restructure to use Command
* patcher: remove mock mode because not needed anymore
* remove also env var in docker compose for mock mode
* patcher: remove filtering for now
* patcher: remove | None to fields with default
2025-02-27 14:59:53 +01:00
Riccardo Schirone b27d6597ae common: make queue timeouts configurable (#75) 2025-02-19 14:51:10 -05:00