ci: fetch private modules through the runner's Forgejo route
- commit
- 9f1b083056dbfbf2d0e0fb716afe7924106ab3ea
- author
- brice · · 2026-10-10 06:46 UTC
- committer
- brice · · 2026-10-10 06:49 UTC
- parent
- bf21654
- signature
- GPG Verified
CD88F9E564E0102646FB6077A1A07C7C7C3E349D· arch-gpg Verified for the committer email
1 file · +12 -0
M .forgejo/workflows/ci.yml +12 -0
| @@ -16,6 +16,10 @@ jobs: | |||
| 16 | 16 | runs-on: ubuntu-latest | |
| 17 | 17 | steps: | |
| 18 | 18 | - uses: actions/checkout@v6 | |
| 19 | + | # Job containers reach Forgejo through the Gordon edge on the host loopback, | |
| 20 | + | # in plain HTTP on :8088 (see vps-infra homelab/igor/ci-runner). | |
| 21 | + | - name: Fetch bnema.dev/ermite* modules through the runner's Forgejo route | |
| 22 | + | run: git config --global url."http://git.bnema.dev:8088/".insteadOf "https://git.bnema.dev/" | |
| 19 | 23 | - uses: actions/setup-go@v5 | |
| 20 | 24 | with: | |
| 21 | 25 | go-version-file: go.mod | |
| @@ -33,6 +37,10 @@ jobs: | |||
| 33 | 37 | - name: System packages | |
| 34 | 38 | run: pacman -Syu --noconfirm --needed git gcc | |
| 35 | 39 | - uses: actions/checkout@v6 | |
| 40 | + | # Job containers reach Forgejo through the Gordon edge on the host loopback, | |
| 41 | + | # in plain HTTP on :8088 (see vps-infra homelab/igor/ci-runner). | |
| 42 | + | - name: Fetch bnema.dev/ermite* modules through the runner's Forgejo route | |
| 43 | + | run: git config --global url."http://git.bnema.dev:8088/".insteadOf "https://git.bnema.dev/" | |
| 36 | 44 | - uses: actions/setup-go@v5 | |
| 37 | 45 | with: | |
| 38 | 46 | go-version-file: go.mod | |
| @@ -60,6 +68,10 @@ jobs: | |||
| 60 | 68 | runs-on: ubuntu-latest | |
| 61 | 69 | steps: | |
| 62 | 70 | - uses: actions/checkout@v6 | |
| 71 | + | # Job containers reach Forgejo through the Gordon edge on the host loopback, | |
| 72 | + | # in plain HTTP on :8088 (see vps-infra homelab/igor/ci-runner). | |
| 73 | + | - name: Fetch bnema.dev/ermite* modules through the runner's Forgejo route | |
| 74 | + | run: git config --global url."http://git.bnema.dev:8088/".insteadOf "https://git.bnema.dev/" | |
| 63 | 75 | with: | |
| 64 | 76 | # buf breaking compares with the base branch. | |
| 65 | 77 | fetch-depth: 0 | |
| @@ -16,6 +16,10 @@ jobs: | |||||
| 16 | runs-on: ubuntu-latest | 16 | runs-on: ubuntu-latest | ||
| 17 | steps: | 17 | steps: | ||
| 18 | - uses: actions/checkout@v6 | 18 | - uses: actions/checkout@v6 | ||
| 19 | + | # Job containers reach Forgejo through the Gordon edge on the host loopback, | |||
| 20 | + | # in plain HTTP on :8088 (see vps-infra homelab/igor/ci-runner). | |||
| 21 | + | - name: Fetch bnema.dev/ermite* modules through the runner's Forgejo route | |||
| 22 | + | run: git config --global url."http://git.bnema.dev:8088/".insteadOf "https://git.bnema.dev/" | |||
| 19 | - uses: actions/setup-go@v5 | 23 | - uses: actions/setup-go@v5 | ||
| 20 | with: | 24 | with: | ||
| 21 | go-version-file: go.mod | 25 | go-version-file: go.mod | ||
| @@ -33,6 +37,10 @@ jobs: | |||||
| 33 | - name: System packages | 37 | - name: System packages | ||
| 34 | run: pacman -Syu --noconfirm --needed git gcc | 38 | run: pacman -Syu --noconfirm --needed git gcc | ||
| 35 | - uses: actions/checkout@v6 | 39 | - uses: actions/checkout@v6 | ||
| 40 | + | # Job containers reach Forgejo through the Gordon edge on the host loopback, | |||
| 41 | + | # in plain HTTP on :8088 (see vps-infra homelab/igor/ci-runner). | |||
| 42 | + | - name: Fetch bnema.dev/ermite* modules through the runner's Forgejo route | |||
| 43 | + | run: git config --global url."http://git.bnema.dev:8088/".insteadOf "https://git.bnema.dev/" | |||
| 36 | - uses: actions/setup-go@v5 | 44 | - uses: actions/setup-go@v5 | ||
| 37 | with: | 45 | with: | ||
| 38 | go-version-file: go.mod | 46 | go-version-file: go.mod | ||
| @@ -60,6 +68,10 @@ jobs: | |||||
| 60 | runs-on: ubuntu-latest | 68 | runs-on: ubuntu-latest | ||
| 61 | steps: | 69 | steps: | ||
| 62 | - uses: actions/checkout@v6 | 70 | - uses: actions/checkout@v6 | ||
| 71 | + | # Job containers reach Forgejo through the Gordon edge on the host loopback, | |||
| 72 | + | # in plain HTTP on :8088 (see vps-infra homelab/igor/ci-runner). | |||
| 73 | + | - name: Fetch bnema.dev/ermite* modules through the runner's Forgejo route | |||
| 74 | + | run: git config --global url."http://git.bnema.dev:8088/".insteadOf "https://git.bnema.dev/" | |||
| 63 | with: | 75 | with: | ||
| 64 | # buf breaking compares with the base branch. | 76 | # buf breaking compares with the base branch. | ||
| 65 | fetch-depth: 0 | 77 | fetch-depth: 0 | ||