Skip to content

Commit 13a5d9f

Browse files
committed
[v9.0/forgejo] chore(ci): notify the k8s cluster about experimental releases
This is in preparation of the migration of the v*.next.forgejo.org instances currently managed at https://code.forgejo.org/infrastructure/k8s The key difference is that the former system relies on ad-hoc scripts and creates one k8s cluster for each instance, sharing nothing between them. The newer k8s cluster is used for all and requires significantly less ad-hoc tooling. See also: * https://code.forgejo.org/infrastructure/next-digest * https://code.forgejo.org/infrastructure/k8s-cluster/src/branch/main/k8s.md#updating-v-next-forgejo-org (cherry picked from commit dab156b)
1 parent a429dba commit 13a5d9f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.forgejo/workflows/publish-release.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,14 @@ jobs:
7070
# https://forgejo.org/docs/next/developer/infrastructure
7171
curl -o /dev/null -sS https://v$major.next.forgejo.org/.well-known/wakeup-on-logs/forgejo-v$major
7272
73+
- name: upgrade v*.next.forgejo.org (k8s)
74+
uses: https://code.forgejo.org/infrastructure/[email protected]
75+
with:
76+
url: https://placeholder:${{ secrets.TOKEN_NEXT_DIGEST }}@code.forgejo.org/infrastructure/next-digest
77+
ref_name: '${{ github.ref_name }}'
78+
image: 'codeberg.org/forgejo-experimental/forgejo'
79+
tag_suffix: '-rootless'
80+
7381
- name: set up go for the DNS update below
7482
if: vars.ROLE == 'forgejo-experimental' && secrets.OVH_APP_KEY != ''
7583
uses: https://code.forgejo.org/actions/setup-go@v4

0 commit comments

Comments
 (0)