templates/ressource-template/template.yaml aktualisiert
This commit is contained in:
parent
45bd611c68
commit
dcc2e49214
|
|
@ -39,7 +39,7 @@ spec:
|
|||
# Hier definierst du, was nach dem Klick auf "Create" passiert
|
||||
steps:
|
||||
- id: fetch-base
|
||||
name: Template Dateien laden
|
||||
name: Vorlage laden
|
||||
action: fetch:template
|
||||
input:
|
||||
url: ./skeleton
|
||||
|
|
@ -51,17 +51,20 @@ spec:
|
|||
netbox_name: ${{ parameters.netbox_name }}
|
||||
|
||||
- id: publish
|
||||
name: In Gitea speichern
|
||||
name: In Gitea veröffentlichen
|
||||
action: publish:gitea
|
||||
input:
|
||||
allowedHosts: ['privat.stommer.com:555']
|
||||
description: "Neue Resource: ${{ parameters.name }}"
|
||||
description: "Anlage Ressource und Dokumentation: ${{ parameters.name }}"
|
||||
repoUrl: "privat.stommer.com?owner=Lars&repo=home-lab-catalog"
|
||||
branchName: main
|
||||
# FIX: Hier legen wir den Zielpfad fest
|
||||
targetPath: 'landscape/resources/${{ parameters.name }}'
|
||||
|
||||
- id: register
|
||||
name: Im Katalog registrieren
|
||||
action: catalog:register
|
||||
input:
|
||||
repoContentsUrl: ${{ steps['publish'].output.repoContentsUrl }}
|
||||
catalogInfoPath: '/landscape/resources/${{ parameters.name }}.yaml'
|
||||
# Verweist auf die Datei im neuen Unterordner
|
||||
catalogInfoPath: '/catalog-info.yaml'
|
||||
Loading…
Reference in New Issue