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
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