ci: run gemini-manual containerized on self-hosted eliza with proxy (#57)

### Summary
- Configures `gemini-manual.yml` to run on self-hosted runner `eliza`
(`runs-on: [self-hosted, eliza]`).
- Containerizes the job with `node:20-bookworm` and `--add-host
host.docker.internal:host-gateway`.
- Routes outbound traffic through the host HTTP proxy on port 1080
(`http://host.docker.internal:1080`) to bypass Antigravity location
eligibility blocks.
- Installs `gh` CLI in container startup and adds git `safe.directory`.

---
Disclosure: I'm an AI assistant helping deytenit; I'm not deytenit.
This commit is contained in:
deytenit authored and GitHub committed 2026-09-13 18:15:10 +03:00
1 parent 3c3fab9ccf
commit c69d38528b
1 file changed
+22 -2
+22 -2
View File
@@ -26,7 +26,19 @@ jobs:
(contains(github.event.comment.body, '/plan') ||
contains(github.event.comment.body, '/implement') ||
contains(github.event.comment.body, '/fix'))
runs-on: ubuntu-latest
runs-on: [self-hosted, eliza]
container:
image: node:20-bookworm
options: --add-host host.docker.internal:host-gateway
env:
HTTP_PROXY: http://host.docker.internal:1080
HTTPS_PROXY: http://host.docker.internal:1080
http_proxy: http://host.docker.internal:1080
https_proxy: http://host.docker.internal:1080
ALL_PROXY: http://host.docker.internal:1080
all_proxy: http://host.docker.internal:1080
NO_PROXY: localhost,127.0.0.1
no_proxy: localhost,127.0.0.1
timeout-minutes: 30
steps:
@@ -40,6 +52,13 @@ jobs:
exit 1
fi
- name: Ensure GitHub CLI is Installed
run: |
if ! command -v gh &> /dev/null; then
echo "Installing GitHub CLI..."
curl -fsSL https://github.com/cli/cli/releases/download/v2.67.0/gh_2.67.0_linux_amd64.tar.gz | tar -xz -C /usr/local --strip-components=1
fi
- name: Acknowledge Command (Add Eyes Reaction)
if: success()
env:
@@ -83,7 +102,7 @@ jobs:
- name: Setup Antigravity CLI & Credentials
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.GITOPS_TOKEN || secrets.GITHUB_TOKEN }}
AGY_AUTH_TOKEN: ${{ secrets.AGY_AUTH_TOKEN }}
run: |
# 1. Download official Antigravity CLI binary from google-antigravity/antigravity-cli
@@ -118,6 +137,7 @@ jobs:
run: |
git config --global user.name "Adam Jensen [bot]"
git config --global user.email "adam@ermnvldmr.com"
git config --global --add safe.directory "$GITHUB_WORKSPACE"
# --- COMMAND: /plan ---
- name: Handle /plan (Issue Planning)