From 8f939dbd64f8940d1ef54654eb682aad1208aa2d Mon Sep 17 00:00:00 2001 From: Ryan Noblett Date: Wed, 20 May 2026 03:23:41 -0400 Subject: [PATCH] Drop redundant repo picker; compute URL from name --- secure-go-service/template.yaml | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/secure-go-service/template.yaml b/secure-go-service/template.yaml index 27feada..45d0260 100644 --- a/secure-go-service/template.yaml +++ b/secure-go-service/template.yaml @@ -33,17 +33,10 @@ spec: title: Owner type: string default: platform - - title: Git destination - required: - - repoUrl - properties: - repoUrl: - title: Repository - type: string - ui:field: RepoUrlPicker - ui:options: - allowedHosts: - - gitea.apps.lab.hibachi.ninja + # No second page: repository destination is computed from `name` + # in the publish step. The lab has exactly one Gitea host and one + # org (`openshift-lab`), so asking the user to confirm them adds + # ceremony without choice. steps: - id: fetch-base name: Fetch scaffold @@ -58,7 +51,7 @@ spec: name: Publish to Gitea action: publish:gitea input: - repoUrl: ${{ parameters.repoUrl }} + repoUrl: gitea.apps.lab.hibachi.ninja?owner=openshift-lab&repo=${{ parameters.name }} defaultBranch: master description: ${{ parameters.description }} - id: register