mirror of
https://github.com/BaaRai/ARTEX.git
synced 2026-11-15 04:30:55 +08:00
Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fc08133ab2 |
@@ -44,21 +44,6 @@ jobs:
|
|||||||
# as rotating failures in the agent package). Serial package execution
|
# as rotating failures in the agent package). Serial package execution
|
||||||
# keeps the database state deterministic.
|
# keeps the database state deterministic.
|
||||||
run: go test -p 1 ./...
|
run: go test -p 1 ./...
|
||||||
- name: go test -race
|
|
||||||
# Race detector on the packages that pass under -race today. ./server is
|
|
||||||
# left out until it has been checked with -race against postgres.
|
|
||||||
run: >-
|
|
||||||
go test -race -p 1 ./agent ./cmd/artex ./config ./db ./evidence ./guard
|
|
||||||
./intercept ./llmpool ./llmrec ./mcphttp ./notify ./sidequestion ./traffic
|
|
||||||
|
|
||||||
shell:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
# shellcheck is preinstalled on the ubuntu runners. -S warning: the scripts
|
|
||||||
# currently have only info-level notes (intentional A && B || C chains in
|
|
||||||
# update.sh, an unquoted glob in backup.sh's prune), so fail on warnings.
|
|
||||||
- run: shellcheck -S warning install.sh update.sh start.sh scripts/backup.sh
|
|
||||||
|
|
||||||
web:
|
web:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
+3
-2
@@ -14,11 +14,12 @@
|
|||||||
FROM python:3.12-slim-bookworm
|
FROM python:3.12-slim-bookworm
|
||||||
ARG TARGETARCH
|
ARG TARGETARCH
|
||||||
# Common tools: ripgrep / curl / vim, plus a set of recon staples (add/remove as needed).
|
# Common tools: ripgrep / curl / vim, plus a set of recon staples (add/remove as needed).
|
||||||
# Node 20.x comes from NodeSource: bookworm's apt nodejs is 18, but Playwright requires >=20.
|
# Node 22.x comes from NodeSource: bookworm's apt nodejs is 18, Playwright requires >=20,
|
||||||
|
# and 20 is end-of-life. 22 matches the CI and release workflows.
|
||||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||||
ca-certificates ripgrep curl wget vim git jq unzip \
|
ca-certificates ripgrep curl wget vim git jq unzip \
|
||||||
dnsutils iputils-ping netcat-openbsd inetutils-telnet whois nmap \
|
dnsutils iputils-ping netcat-openbsd inetutils-telnet whois nmap \
|
||||||
&& curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
|
&& curl -fsSL https://deb.nodesource.com/setup_22.x | bash - \
|
||||||
&& apt-get install -y --no-install-recommends nodejs \
|
&& apt-get install -y --no-install-recommends nodejs \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
# Web-recon toolbox (drost-community take 1, #100): pinned release binaries installed
|
# Web-recon toolbox (drost-community take 1, #100): pinned release binaries installed
|
||||||
|
|||||||
Reference in New Issue
Block a user