From d43ec7943180735fa0b093a44a13d08223b1aafe Mon Sep 17 00:00:00 2001 From: fchinembiri Date: Fri, 8 May 2026 17:30:30 +0200 Subject: [PATCH] fix: inject Gitea IP into /etc/hosts for DNS resolution --- .gitea/workflows/build-push.yaml | 14 ++++++++++---- apps/api/trigger_ci.txt | 2 +- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/build-push.yaml b/.gitea/workflows/build-push.yaml index 10f5b64..a624fb7 100644 --- a/.gitea/workflows/build-push.yaml +++ b/.gitea/workflows/build-push.yaml @@ -16,11 +16,14 @@ jobs: matrix: component: [worker, api, web] steps: + - name: Fix DNS + run: | + echo "10.43.224.21 gitea.geocrop.svc.cluster.local" >> /etc/hosts + echo "10.43.224.21 git.techarvest.co.zw" >> /etc/hosts + - name: Checkout repository uses: actions/checkout@v4 with: - repository: fchinembiri/geocrop-platform - url: https://git.techarvest.co.zw token: ${{ secrets.GITEA_TOKEN }} - name: Set up Docker config @@ -44,11 +47,14 @@ jobs: runs-on: ubuntu-latest needs: build steps: + - name: Fix DNS + run: | + echo "10.43.224.21 gitea.geocrop.svc.cluster.local" >> /etc/hosts + echo "10.43.224.21 git.techarvest.co.zw" >> /etc/hosts + - name: Checkout repository uses: actions/checkout@v4 with: - repository: fchinembiri/geocrop-platform - url: https://git.techarvest.co.zw token: ${{ secrets.GITEA_TOKEN }} - name: Update Manifests diff --git a/apps/api/trigger_ci.txt b/apps/api/trigger_ci.txt index 3866457..1e40461 100644 --- a/apps/api/trigger_ci.txt +++ b/apps/api/trigger_ci.txt @@ -1 +1 @@ -trigger ci v12 +trigger ci v13