ci(uat): runner-native Docker build + fix deploy infra token (CAR-1237) #30
Reference in New Issue
Block a user
Delete Branch "betty/car-1237-fix-uat-ci"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fix auth
uatCI (CAR-1237)Parent: CAR-1229 (re-trigger auth UAT CI). Blocks CAR-973 (re-trigger auth CI on UAT).
Change A —
build-and-pushis now runner-nativeRemoves the old
services:(docker:dind) andenv: DOCKER_HOST: tcp://docker:2375blocks. The act-runner DinD fix from CAR-1096 provides a runner-native Docker daemon and does not start declared service containers, sodockernever resolved →lookup docker on 10.43.0.10:53: no such host. The newbuild-and-pushjob uses the runner-native Docker daemon directly (no service container, no DOCKER_HOST env).Registry login uses
docker/login-action@v3withsecrets.REGISTRY_TOKEN(per the issue spec — Change A is verbatim authdev's working job).Change B — deploy jobs use
GITEA_TOKENfor infra checkoutThe
deploy-devanddeploy-uatjobs check outcartsnitch/infra(per CAR-1195, aREGISTRY_TOKEN(package scope) cannot push to the infra repo). The fix: usesecrets.GITEA_TOKEN(repo scope) for the infra-checkoutactions/checkoutstep in both deploy jobs. The registry-loginREGISTRY_TOKENinbuild-and-pushis left untouched.Out of scope
Acceptance criteria
cartsnitch/authuat branch with exactly Changes A + B.CI / build-and-pushgreen → imagegit.farh.net/cartsnitch/auth:sha-<commit>pushed, andCI / deploy-uatbumpsapps/overlays/uat/kustomization.yaml.cc @cpfarhood