Commit Graph

13 Commits

Author SHA1 Message Date
chemavx f411d84e91 ci: switch to plain docker build avoiding docker-container driver
CI/CD / build-and-push (push) Failing after 33s
The docker-container buildkitd driver creates an isolated process that
cannot use DinD's registry-mirror config, and the cluster's registry-cache
returns 500 on BuildKit's ?ns=docker.io mirror protocol.

Plain docker build routes through the DinD daemon directly, which already
has registry-mirrors configured for docker.io pull-through cache.
Uses BUILDKIT_INLINE_CACHE=1 for layer caching between builds.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-22 17:38:42 +00:00
chemavx 359ce8928a ci: add docker.io mirror to buildkitd config for registry-cache
CI/CD / build-and-push (push) Failing after 4m22s
BuildKit docker-container driver runs isolated from DinD daemon config,
so it needs its own mirror declaration to route docker.io pulls through
the cluster-local pull-through cache instead of Cloudflare CDN directly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-22 17:29:28 +00:00
chemavx e50f783e04 ci: migrate from kaniko to buildkit/buildx with registry cache
CI/CD / build-and-push (push) Failing after 15m1s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-22 16:57:40 +00:00
chemavx 9b62636a3e ci: add --registry-mirror=mirror.gcr.io to all kaniko build steps
CI/CD / build-and-push (push) Successful in 2m12s
Kaniko has its own HTTP client and ignores the dind --registry-mirror flag.
Passing --registry-mirror=mirror.gcr.io directly to kaniko lets it pull
python:3.11-slim (and other Docker Hub base images) via Google's mirror
instead of the Cloudflare CDN endpoint (172.64.66.1) which is unreachable
from the runner's dind network.

Also adds mirror to dind deployment args (--registry-mirror=https://mirror.gcr.io)
so node:16-bullseye (the job runner container) is also fetched via mirror.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-21 17:24:57 +00:00
chemavx 9bdafaa51e feat: add dashboard source code with Vite + React + Recharts and CI/CD build
CI/CD / build-and-push (push) Successful in 2m24s
- Reconstruct dashboard from compiled container: App.jsx, main.jsx, index.css
- nginx.conf with SPA routing and /api proxy to api:8000
- Multi-stage Dockerfile: node:20-alpine build + nginx:alpine serve
- Add third kaniko build step in ci.yml for chemavx/polymarket-bot-dashboard
- Update k8s manifest sed to patch deployment-dashboard.yaml image on each push

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 17:18:32 +00:00
chemavx 1dd01e03b1 feat: replace Docker CLI builds with Kaniko (no daemon needed in job)
CI/CD / build-and-push (push) Successful in 2m35s
2026-04-13 16:35:36 +00:00
chemavx f808a3cecf fix: drop container block, set DOCKER_HOST/TLS_VERIFY as job env, install via get.docker.com
CI/CD / build-and-push (push) Failing after 54s
2026-04-13 16:22:30 +00:00
chemavx f37055821e fix: clear Docker TLS config before login + DOCKER_CERT_PATH empty in runner
CI/CD / build-and-push (push) Failing after 15s
2026-04-13 16:20:50 +00:00
chemavx cfeb404907 fix: use node:20-alpine + apk install docker-cli for Node.js + Docker
CI/CD / build-and-push (push) Failing after 10s
2026-04-13 16:18:59 +00:00
chemavx 3241b8a638 fix: use docker:24-cli container image with DOCKER_HOST pre-configured
CI/CD / build-and-push (push) Failing after 11s
2026-04-13 16:17:29 +00:00
chemavx 44a238cfd5 fix: install docker CLI in job container + pass DOCKER_HOST via runner envs
CI/CD / build-and-push (push) Failing after 51s
2026-04-13 16:15:32 +00:00
chemavx b99215f1a4 fix: use internal cluster URL and disable TLS verify for git ops
CI/CD / build-and-push (push) Failing after 1s
2026-04-13 16:08:23 +00:00
chemavx 4fda34df3b feat: initial commit — polymarket-bot source + CI/CD pipeline
CI/CD / build-and-push (push) Failing after 30s
2026-04-13 16:05:45 +00:00