fix(ci): bypass DNS for clone — use Gitea ClusterIP directly
All pipeline files now specify clone.git.settings.remote with the Gitea service ClusterIP (10.43.73.77:3000) instead of relying on DNS resolution of gitea-service.git-server.svc.cluster.local. This permanently fixes the intermittent DNS resolution failures that occur when multiple build pipelines clone simultaneously.
This commit is contained in:
@@ -3,6 +3,11 @@ depends_on:
|
|||||||
when:
|
when:
|
||||||
event: push
|
event: push
|
||||||
branch: main
|
branch: main
|
||||||
|
clone:
|
||||||
|
git:
|
||||||
|
image: woodpeckerci/plugin-git
|
||||||
|
settings:
|
||||||
|
remote: http://10.43.73.77:3000/admin/stonks-oracle.git
|
||||||
steps:
|
steps:
|
||||||
build-scheduler:
|
build-scheduler:
|
||||||
image: woodpeckerci/plugin-docker-buildx
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
|
|||||||
@@ -3,6 +3,11 @@ depends_on:
|
|||||||
when:
|
when:
|
||||||
event: push
|
event: push
|
||||||
branch: main
|
branch: main
|
||||||
|
clone:
|
||||||
|
git:
|
||||||
|
image: woodpeckerci/plugin-git
|
||||||
|
settings:
|
||||||
|
remote: http://10.43.73.77:3000/admin/stonks-oracle.git
|
||||||
steps:
|
steps:
|
||||||
build-extractor:
|
build-extractor:
|
||||||
image: woodpeckerci/plugin-docker-buildx
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
|
|||||||
@@ -3,6 +3,11 @@ depends_on:
|
|||||||
when:
|
when:
|
||||||
event: push
|
event: push
|
||||||
branch: main
|
branch: main
|
||||||
|
clone:
|
||||||
|
git:
|
||||||
|
image: woodpeckerci/plugin-git
|
||||||
|
settings:
|
||||||
|
remote: http://10.43.73.77:3000/admin/stonks-oracle.git
|
||||||
steps:
|
steps:
|
||||||
build-broker-adapter:
|
build-broker-adapter:
|
||||||
image: woodpeckerci/plugin-docker-buildx
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
|
|||||||
@@ -8,6 +8,12 @@ when:
|
|||||||
event: push
|
event: push
|
||||||
branch: main
|
branch: main
|
||||||
|
|
||||||
|
clone:
|
||||||
|
git:
|
||||||
|
image: woodpeckerci/plugin-git
|
||||||
|
settings:
|
||||||
|
remote: http://10.43.73.77:3000/admin/stonks-oracle.git
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
integration-test:
|
integration-test:
|
||||||
image: registry.celestium.life/dockerhub-cache/alpine/k8s:1.30.2
|
image: registry.celestium.life/dockerhub-cache/alpine/k8s:1.30.2
|
||||||
|
|||||||
@@ -2,6 +2,11 @@ when:
|
|||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
- pull_request
|
- pull_request
|
||||||
|
clone:
|
||||||
|
git:
|
||||||
|
image: woodpeckerci/plugin-git
|
||||||
|
settings:
|
||||||
|
remote: http://10.43.73.77:3000/admin/stonks-oracle.git
|
||||||
steps:
|
steps:
|
||||||
lint-python:
|
lint-python:
|
||||||
image: registry.celestium.life/dockerhub-cache/library/python:3.12-slim
|
image: registry.celestium.life/dockerhub-cache/library/python:3.12-slim
|
||||||
|
|||||||
Reference in New Issue
Block a user