Drop redundant repo picker; compute URL from name

This commit is contained in:
Ryan Noblett 2026-05-20 03:23:41 -04:00
parent fe073fbd88
commit 8f939dbd64

View File

@ -33,17 +33,10 @@ spec:
title: Owner title: Owner
type: string type: string
default: platform default: platform
- title: Git destination # No second page: repository destination is computed from `name`
required: # in the publish step. The lab has exactly one Gitea host and one
- repoUrl # org (`openshift-lab`), so asking the user to confirm them adds
properties: # ceremony without choice.
repoUrl:
title: Repository
type: string
ui:field: RepoUrlPicker
ui:options:
allowedHosts:
- gitea.apps.lab.hibachi.ninja
steps: steps:
- id: fetch-base - id: fetch-base
name: Fetch scaffold name: Fetch scaffold
@ -58,7 +51,7 @@ spec:
name: Publish to Gitea name: Publish to Gitea
action: publish:gitea action: publish:gitea
input: input:
repoUrl: ${{ parameters.repoUrl }} repoUrl: gitea.apps.lab.hibachi.ninja?owner=openshift-lab&repo=${{ parameters.name }}
defaultBranch: master defaultBranch: master
description: ${{ parameters.description }} description: ${{ parameters.description }}
- id: register - id: register