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