From 0d44305a4e165402e2da55b41e4769e0dc74dfd6 Mon Sep 17 00:00:00 2001 From: blam Date: Tue, 23 Feb 2021 10:34:29 +0100 Subject: [PATCH] chore: commit some more mock sample data Signed-off-by: Johan Haals --- .../test-template-v2/template.yaml | 33 ++++++++++--------- .../catalog-info.yaml | 0 2 files changed, 18 insertions(+), 15 deletions(-) rename plugins/scaffolder-backend/sample-templates/test-template-v2/{{{cookiecutter.name}} => template}/catalog-info.yaml (100%) diff --git a/plugins/scaffolder-backend/sample-templates/test-template-v2/template.yaml b/plugins/scaffolder-backend/sample-templates/test-template-v2/template.yaml index f456093678..0ac7493895 100644 --- a/plugins/scaffolder-backend/sample-templates/test-template-v2/template.yaml +++ b/plugins/scaffolder-backend/sample-templates/test-template-v2/template.yaml @@ -101,24 +101,27 @@ spec: description: Copy https://github.com/aeothgiaetgh/aetkijhahte and hammer in some more letters steps: - - id: fetch - name: Fetch - action: fetch - parameters: - protocol: file - url: file:///Users/patriko/dev/backstage/plugins/scaffolder-backend/sample-templates/test-template-v2 - templater: - type: cookiecutter - values: - name: '{{ parameters.name }}' - - id: publish - name: Publish - action: legacy:publish + - id: fetch-base + name: Fetch Base + action: fetch:cookiecutter parameters: + url: ./template + targetDir: blob values: name: '{{ parameters.name }}' - storePath: '{{ parameters.storePath }}' - owner: kungen # not use + + - id: fetch-docs + name: Fetch Docs + action: fetch:plain + parameters: + url: https://github.com/aeothgiaetgh/aetkijhahte/tree/master/docs/template + - id: publish + name: Publish + action: publish + parameters: + name: '{{ parameters.name }}' + # storePath: github.com?owner=spotify&repo=name + storePath: '{{ parameters.storePath }}' - id: register name: Register action: catalog:register diff --git a/plugins/scaffolder-backend/sample-templates/test-template-v2/{{cookiecutter.name}}/catalog-info.yaml b/plugins/scaffolder-backend/sample-templates/test-template-v2/template/catalog-info.yaml similarity index 100% rename from plugins/scaffolder-backend/sample-templates/test-template-v2/{{cookiecutter.name}}/catalog-info.yaml rename to plugins/scaffolder-backend/sample-templates/test-template-v2/template/catalog-info.yaml