Skip to content

Commit a713372

Browse files
author
mike dupont
committed
moving the commands to scripts
1 parent 9d119fa commit a713372

7 files changed

+8
-15
lines changed

scripts/agent-docker-local.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ source ./env
99
--mount type=bind,source=/opt/agent,target=/opt/agent \
1010
--env-file env \
1111
--name "agent-docker.service" \
12-
--entrypoint /opt/agent/docker-entrypoint-strace2.sh ${AGENT_IMAGE}
12+
--entrypoint /opt/agent/scripts/docker-entrypoint-strace2.sh ${AGENT_IMAGE}
1313

scripts/agent-docker.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ docker rm "agent-docker.service"
1010
--mount type=bind,source=/opt/agent,target=/opt/agent \
1111
--env-file /var/run/agent/secrets/env \
1212
--name "agent-docker.service" \
13-
--entrypoint /opt/agent/docker-entrypoint-strace2.sh ${AGENT_IMAGE}
13+
--entrypoint /opt/agent/scripts/docker-entrypoint-strace2.sh ${AGENT_IMAGE}
1414

scripts/call_update.sh

-10
This file was deleted.

scripts/debug-update-vscode.ts

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/usr/bin/env node
2+
// UNTESTED AI generated code
3+
// purpose to run debug inspect and update the inspector debugger command for vscode
24

35
const { spawn } = require('child_process');
46
const fs = require('fs').promises;

scripts/doit.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
1+
#!/bin/bash
2+
#amazing the amount of work we need to do
23
nvm use 23
34
pnpm clean
45
pnpm install --no-frozen-lockfile

scripts/run_with_groq.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ docker rm --force agent-docker.service || echo skip
2323
docker run -v tokenizer:/node_modules/tokenizers/ 767503528736.dkr.ecr.us-east-2.amazonaws.com/nodemodules/tokenizer:latest
2424

2525
# now bind it in
26-
/usr/bin/docker run -d -p 3000:3000 -v tokenizer:/app/node_modules/@anush008/tokenizers/ -v tokenizer:/app/node_modules/fastembed/node_modules/.pnpm/@anush008+tokenizers@https+++codeload.github.com+meta-introspector+arm64-tokenizers+tar.gz+98_s2457qj3pe4ojcbckddasgzfvu/node_modules/@anush008/ --mount type=bind,source=/opt/agent,target=/opt/agent --mount type=bind,source=/opt/agent/characters/,target=/app/characters/ --env-file /var/run/agent/secrets/env --rm --name "agent-docker.service" --entrypoint /opt/agent/docker-entrypoint-strace2.sh groq
26+
/usr/bin/docker run -d -p 3000:3000 -v tokenizer:/app/node_modules/@anush008/tokenizers/ -v tokenizer:/app/node_modules/fastembed/node_modules/.pnpm/@anush008+tokenizers@https+++codeload.github.com+meta-introspector+arm64-tokenizers+tar.gz+98_s2457qj3pe4ojcbckddasgzfvu/node_modules/@anush008/ --mount type=bind,source=/opt/agent,target=/opt/agent --mount type=bind,source=/opt/agent/characters/,target=/app/characters/ --env-file /var/run/agent/secrets/env --rm --name "agent-docker.service" --entrypoint /opt/agent/scripts/docker-entrypoint-strace2.sh groq
2727
#100755 >
2828

scripts/run_with_groq_docker.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ docker run -v tokenizer:/node_modules/tokenizers/ $TOKENIZERS_IMAGE
2626
--env-file /var/run/agent/secrets/env \
2727
--rm \
2828
--name "agent-docker.service" \
29-
--entrypoint /opt/agent/docker-entrypoint-strace2.sh $DOCKERIMAGE
29+
--entrypoint /opt/agent/scripts/docker-entrypoint-strace2.sh $DOCKERIMAGE
3030

0 commit comments

Comments
 (0)