ci: version 10 - add debug step to trace LXC mounts
This commit is contained in:
@@ -1,18 +1,26 @@
|
|||||||
name: Deploy-Agent-V9-Final
|
name: Deploy-Agent-V10-Debug
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
JOB-V9-MEMEX-PATH:
|
JOB-V10-DEBUG:
|
||||||
runs-on: debian-latest
|
runs-on: debian-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Build and Deploy From LXC Mount
|
- name: Debug LXC Mounts
|
||||||
run: |
|
run: |
|
||||||
# VERSION 9 - Using /memex (LXC Mountpoint)
|
echo "--- ROOT LISTING ---"
|
||||||
|
ls -F /
|
||||||
|
echo "--- MEMEX LISTING ---"
|
||||||
|
ls -F /memex || echo "/memex not found"
|
||||||
|
echo "--- FULL FIND (Depth 3) ---"
|
||||||
|
find /memex -maxdepth 3 || echo "Find failed"
|
||||||
|
|
||||||
|
- name: Build and Deploy
|
||||||
|
run: |
|
||||||
|
# We will use the path discovered in the debug step
|
||||||
cd /memex/projects/org-agent
|
cd /memex/projects/org-agent
|
||||||
|
|
||||||
docker compose -f deploy/docker/docker-compose.yml down
|
docker compose -f deploy/docker/docker-compose.yml down
|
||||||
docker compose -f deploy/docker/docker-compose.yml build --no-cache org-agent
|
docker compose -f deploy/docker/docker-compose.yml build --no-cache org-agent
|
||||||
docker compose -f deploy/docker/docker-compose.yml up -d --force-recreate org-agent
|
docker compose -f deploy/docker/docker-compose.yml up -d --force-recreate org-agent
|
||||||
|
|||||||
Reference in New Issue
Block a user