3 Commits

Author SHA1 Message Date
Gan, Jimmy bb9a4c3977 Create /nas-dashboard directory before syncing compose file
Docker volume mounts may not auto-create mount points inside the
job container. Use mkdir -p to ensure the target directory exists
before copying files.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-04 09:50:36 +08:00
Gan, Jimmy 761f5f562b fix(ci): use nas:host runner with localhost:3300 for claude-dev CI
Deploy Claude Dev (Dev) / deploy-claude-dev-dev (push) Has been cancelled
The act Docker containers on the NAS runner cannot reach Gitea
on the gitea_gitea network despite the runner config. Switching
to the 'nas' runner label which uses host mode — jobs run directly
on the NAS host where localhost:3300 reaches Gitea.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-04 09:49:30 +08:00
Gan, Jimmy 10e48461d4 fix(ci): use Gitea container IP for checkout in claude-dev workflow
Deploy Claude Dev (Dev) / deploy-claude-dev-dev (push) Failing after 16m58s
Replaces 'gitea:3000' with '172.21.0.4:3000' to bypass DNS
resolution issues in act job containers. Also removed --dns
override from runner-config.yaml which was breaking Docker's
embedded DNS and container name resolution.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-03 11:52:34 +08:00
2 changed files with 5 additions and 3 deletions
+2 -2
View File
@@ -17,12 +17,12 @@ concurrency:
jobs:
deploy-claude-dev-dev:
runs-on: ubuntu-latest
runs-on: nas
steps:
- name: Checkout repository
run: |
if [ ! -d .git ]; then
git clone --branch "${GITHUB_REF_NAME}" --depth=1 "http://gitea:3000/${GITHUB_REPOSITORY}.git" .
git clone --branch "${GITHUB_REF_NAME}" --depth=1 "http://localhost:3300/${GITHUB_REPOSITORY}.git" .
fi
- name: Resolve image tags
+3 -1
View File
@@ -242,7 +242,9 @@ jobs:
fi
- name: Sync runtime compose file
run: cp dashboard/docker-compose.yml /nas-dashboard/docker-compose.yml
run: |
mkdir -p /nas-dashboard
cp dashboard/docker-compose.yml /nas-dashboard/docker-compose.yml
- name: Deploy and verify
run: |