Michael Hohn
a35fc619e6
Use mk. prefix for Makefile time stamps and make git ignore them
2024-09-13 09:44:08 -07:00
Michael Hohn
41f6db5de0
Add Makefile to push mrva agent container image
2024-09-06 14:42:31 -07:00
Michael Hohn
19330c3a0f
Add Makefile to push mrva server container image
2024-09-06 11:40:13 -07:00
Michael Hohn
1e2df515e3
Set up and push Docker containers for demonstration purposes
...
These containers take the place of a desktop install
2024-09-04 15:52:18 -07:00
Nicolas Will
e0cbc01d21
Fully implement local and container MRVA
2024-06-24 01:31:28 -04:00
Nicolas Will
50da8eefe8
Fix ZipSlip vuln and integer conversion issue
2024-06-17 12:55:28 +02:00
Nicolas Will
fc9fcc7ae6
Add server queue logic and refactor
2024-06-17 11:30:46 +02:00
Michael Hohn
8b310e43ad
Fix storage modules types and interfaces to compile server
2024-06-16 20:16:26 -07:00
Michael Hohn
6229c08900
Remove postgres and references to it
2024-06-16 19:43:29 -07:00
Michael Hohn
b756668e70
Fix merge so server compiles
2024-06-16 19:36:31 -07:00
Michael Hohn
2c5ecd3a1e
Merge the agent-impl branch into the server branch
2024-06-16 19:21:42 -07:00
Michael Hohn
cd0647836e
Combine New/Setup functions
2024-06-16 19:09:32 -07:00
Michael Hohn
f611f02d1c
try git lfs again
2024-06-16 19:09:31 -07:00
Michael Hohn
8df9673897
wip: Mark update slots with XX:, add pkg/server/container.go
2024-06-16 19:09:30 -07:00
Nicolas Will
903ca5673e
Add dynamic worker management
2024-06-16 17:07:13 +02:00
Nicolas Will
7ea45cb176
Separate queue and agent logic and refactor
2024-06-16 11:18:22 +02:00
Nicolas Will
e107f6cf80
Fix ENV CODEQL_JAVA_HOME in Dockerfile
2024-06-15 23:10:37 +02:00
Nicolas Will
1a574c2f7f
Add RabbitMQ connect retry and healthcheck
2024-06-15 00:39:21 +02:00
Nicolas Will
ea10403f6c
Bump server Ubuntu version to 24.10
2024-06-15 00:23:30 +02:00
Nicolas Will
3b06e2061f
Add RabbitMQ agent and containers
2024-06-15 00:23:14 +02:00
Nicolas Will
c29daab045
Standardize NameWithOwner and Visible naming
...
Acronyms are now "NWO" and "Vis" respsectively
2024-06-14 12:55:45 +02:00
Michael Hohn
5730c330f4
Add codeql to server container for standalone testing
...
For full test, we cannot have
ERROR codeql database analyze failed: error="exec:
\"codeql\": executable file not found in $PATH" job="{MirvaRequestID:0
QueryPackId:54674 QueryLanguage:cpp ORepo:{Owner:psycopg Repo:psycopg2}}"
For linux/arm64, use a Dockerfile that:
- uses ubuntu 22.04 base image
- adds the 1.17 version of the codeql bundle
- extracts the bundle
- adds a recent version of the JRE
- extracts it
- sets the CODEQL_JAVA_HOME environment variable to point to the JRE
The instructions are updated
2024-06-12 11:28:37 -07:00
Michael Hohn
9c0cdb1fe4
Simplify naming, don't restate package name
2024-06-11 16:55:10 -07:00
Michael Hohn
2d88b351ff
Introduce structs/interfacess for new storage units
...
This commit simply splits the interfaces but introduces no new structs
- Introduce the QueryPackStore, mrvacommander/pkg/qpstore
- Introduce the CodeQL database store, pkg/qldbstore/interfaces.go
2024-06-11 14:16:41 -07:00
Michael Hohn
fc29fc5653
wip: update passing Queue to Commander
...
- Add minio to docker-compose
- Fix use of server.NewCommanderSingle
2024-06-11 13:19:05 -07:00
Michael Hohn
7e0d6909da
wip: Make cross-module visibility explicit via Visibles structs
...
All access is/will be through interfaces accessed through these structs.
This introduces several distinct storage units:
+ DB for server state
+ DB for codeql databases
+ query pack store
The steps for manually creating needed databases are in the README
2024-06-07 13:14:41 -07:00
Michael Hohn
0349961360
wip: start container version of server
2024-06-04 12:24:42 -07:00
Michael Hohn
71838d3320
Add a minimal gorm example that takes a go struct, creates a postgres table, and writes the struct to the table.
2024-06-03 14:03:26 -07:00
Michael Hohn
776b980d3b
Add container for server work
2024-05-31 13:26:24 -07:00
Michael Hohn
b9081b1945
wip: convert run-analysis.sh to golang version
2024-05-31 08:24:09 -07:00
Michael Hohn
d88f31f357
Add two sample DBs
2024-05-26 12:41:40 -07:00
Michael Hohn
ba44db04da
wip: server is now fully functional, some FIXMEs remain
2024-05-26 12:22:36 -07:00
Michael Hohn
f7155eba50
wip: add analysis runner / agent, separate Server/Queue/Agent, use New* initializers
2024-05-23 15:46:55 -07:00
Michael Hohn
9750eeab20
wip: reorganized to go pkg structure
2024-05-15 15:57:27 -07:00
Michael Hohn
5b324e092a
wip: parse & use config file, start Storage struct/interface
2024-05-13 12:56:42 -07:00
Michael Hohn
c2480dc2f1
wip: start lcmem.go
2024-05-13 11:26:35 -07:00
Michael Hohn
d38b561309
Set up nested directory structure for interfaces, configuration, structs, libraries
2024-05-10 13:38:01 -07:00
Michael Hohn
12595077c7
wip
2024-05-10 13:21:50 -07:00
Michael Hohn
9fc07e8c95
wip
2024-05-10 10:37:44 -07:00
Michael Hohn
12b9bd9858
wip
2024-05-10 10:07:50 -07:00
Michael Hohn
1fdf5064b7
wip
2024-05-09 11:20:55 -07:00
467b0a3736
wip
2024-05-08 23:11:41 -07:00
165b27fa0c
wip
2024-05-08 22:50:16 -07:00
Michael Hohn
0bfa496a25
wip
2024-05-08 16:04:59 -07:00
Michael Hohn
512419a143
wip
2024-05-08 14:09:30 -07:00
Michael Hohn
16bedf89d8
wip
2024-05-08 10:42:15 -07:00
Michael Hohn
901999df5c
Directory layout
2024-05-07 15:38:59 -07:00