Commit Graph

29 Commits

Author SHA1 Message Date
Riccardo Schirone 689f75e39b deployment: pull competition API image (#397) 2025-04-14 18:42:01 +02:00
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 e2148aa5e3 Increase limits for coverage-bot to prevent OOM error (#381)
* Increase limits for coverage-bot to prevent OOM error

* Appease ruff
2025-04-09 13:49:23 -04:00
Henrik Brodin 939819c6d4 Competition api v1.1-rc7 (#368)
- adds a script to send SARIF messages
- updated readme
2025-04-08 11:34:05 +02:00
Riccardo Schirone 14f77c799a deployment: fix crs-architecture to run everywhere (#364) 2025-04-08 10:23:12 +02:00
Riccardo Schirone 84d235feed deployment: download tasks_storage first because static (#358) 2025-04-07 10:54:09 +02:00
Riccardo Schirone fbe5b98dc1 deployment: make it easy to work in minikube (#347)
* deployment: add a minikube environment

* deployment: allow to use minikube for local dev

* deployment: make minikube use local images
2025-04-07 10:25:21 +02:00
Henrik Brodin a06006c2a6 Use docker auth to not be affected by rate limits (#335)
* Use docker auth to not be affected by rate limits

* Add the docker auth vars to the template env
2025-04-03 15:23:56 +02:00
Henrik Brodin 8c6f6795c7 Henrik/v0.1.3 (#333)
* Fix quoting issue

* Bump to version 0.1.3
2025-04-01 09:58:05 +02:00
Henrik Brodin d7e761a031 Fix quoting issue (#332) 2025-04-01 09:57:51 +02:00
Riccardo Schirone 0289f6a21e deployment: prepare for unscored-1 (#331) 2025-04-01 09:11:51 +02:00
Henrik Brodin c4753b81b4 Bump version (#328)
* Bump version

* images version
2025-03-31 18:53:34 +02:00
Riccardo Schirone a2c8a0978d patcher: make path handling more flexible (#327)
* patcher: use fuzzy search in codequery if strict fails

* patcher/swe: increase retries number

* patcher/swe: adjust file paths when creating patches

* patcher: improve paths handling

* patcher: improve rootcause prompt

* deployment/patcher: set limits for loops/recursions
2025-03-31 16:39:08 +02:00
Henrik Brodin ce326f5171 Script to collect all container logs (#320)
* Script to collect all container logs

* Adding a script to collect all data

* Actually download tasks_storage
2025-03-31 14:43:11 +02:00
Riccardo Schirone 379e3efa7c deployment: fix disabling competition-api (#304) 2025-03-29 15:18:02 +01:00
Riccardo Schirone c409f4fb96 deployment: mount the /tmp volume in competition-api (#302) 2025-03-28 16:46:42 +01:00
Riccardo Schirone b3359bfbf7 deployment: fix typo and bump version (#301) 2025-03-28 16:02:26 +01:00
Riccardo Schirone 42f010e913 deployment: create prod/staging environments (#256)
* update VM sizes to L16
2025-03-28 14:47:01 +01:00
2over12 c31c63faca fuzzer: Use tmp for fuzzer wdir (#289) 2025-03-28 11:07:29 +01:00
Henrik Brodin 3347564dd1 Enable Redis Append Only File (AOF) (#296)
Enables the appendonly file, sync every sec and use manage-premium
storage class. Currently set to 8G, but that needs to be evaluated.
2025-03-28 11:05:39 +01:00
Evan Downing c7d79de6d0 Disable graphdb for k8s deployment (#272) 2025-03-27 10:28:48 +01:00
Henrik Brodin 27bfe8fb06 competition api v1.1-rc6 (#277)
Closes #276
2025-03-27 09:31:43 +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
Riccardo Schirone f4c4f75a2c deployment: support Tailscale (#235) 2025-03-26 08:49:25 +01:00
Riccardo Schirone 61a6200abe Update k8s deployment with competition-api v1.1 (#231) 2025-03-25 09:35:50 +01:00
Henrik Brodin 2d1b7d5d52 Local kuberenetes support (#179)
* Initial helm config

* Make sure all the fuzzer/builder/tracer.. have env vars

* Fixing env

* JanusGraph connect

* Runs up to patcher (without program db/seed-gen)

* Build bot with sidecar

* Docker sidecar to tracer, fuzzer and coverage bots

* Dind sidecar template

* Add bot-template

* Refactor, simplify

* Maps, not list fof volumes

* Enable all serviecs

* taskserver

* Use published images

* refactor

* dind for program-model and cleanup

* Remove unused envs

* Restore to main version

* gitignore values-override

* Single build-bot in test

* Support langfuse

* Cleanup

* Conditional langfuse secrets impl

* LiteLLM config

* JanusGraph

* Docker in docker sidecars

* Prevent double identical log messages

* Always use secrets if enabling langfuse

* Use NodePort locally and LoadBalancer in AKS

This is a first step towards an AKS-based system.

* Prepare for AKS (Storage/pull-secret)

- Renamed the pull secret to match terraform.
- Added AKS csi file storage

* updated charts

* Remove md file

* Remove program model mock variable

* Make use of templates for volumes

* Fix ghcr pull

* Cleanup - remove janusgraph and cassandra

Fixes an issue with the persistent-volumes.yaml rendering

* Remove janusgraph configmap

* Remove service account

* Remove unneeded config

* Drop install script as we don't need it

* Cleanup langfuse, add task-server auth

* litellm secrets

* Fix env/langfuse config propagation

* Adding a readme

* version

* Remove task server tgz

* update readme

* Remove redundant port
2025-03-11 14:31:10 +01:00
Riccardo Schirone 29ef30e53d doc: update README 2025-01-14 17:32:41 +01:00
Riccardo Schirone c10a041b6e orchestrator: update code 2025-01-14 13:32:00 +01:00
Riccardo Schirone 96e92962d7 deployment: basic IaC to deploy AKS
Based on the aixcc-finals/example-crs-architecture repository.
2025-01-13 14:56:30 +01:00