From 74ad3d33957b413fe483dff3e911e1d7c8916c28 Mon Sep 17 00:00:00 2001 From: blam Date: Thu, 29 Dec 2022 16:29:51 +0100 Subject: [PATCH 1/2] chore: added a mock template for testing Signed-off-by: blam --- .github/uffizzi/uffizzi.production.app-config.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/uffizzi/uffizzi.production.app-config.yaml b/.github/uffizzi/uffizzi.production.app-config.yaml index 56055c8342..f45b640b35 100644 --- a/.github/uffizzi/uffizzi.production.app-config.yaml +++ b/.github/uffizzi/uffizzi.production.app-config.yaml @@ -36,6 +36,9 @@ catalog: - type: url target: https://github.com/backstage/backstage/blob/master/packages/catalog-model/examples/all.yaml + - type: url + target: https://github.com/backstage/software-templates/blob/main/scaffolder-templates/react-ssr-template/template.yaml + proxy: '/circleci/api': target: https://circleci.com/api/v1.1 From 4b88c9b48a8a6b58d1817c179d0da61d24410e5f Mon Sep 17 00:00:00 2001 From: blam Date: Thu, 29 Dec 2022 19:23:07 +0100 Subject: [PATCH 2/2] chore: fixing importing of the urls Signed-off-by: blam --- .github/uffizzi/uffizzi.production.app-config.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/uffizzi/uffizzi.production.app-config.yaml b/.github/uffizzi/uffizzi.production.app-config.yaml index f45b640b35..2e45740875 100644 --- a/.github/uffizzi/uffizzi.production.app-config.yaml +++ b/.github/uffizzi/uffizzi.production.app-config.yaml @@ -37,7 +37,14 @@ catalog: target: https://github.com/backstage/backstage/blob/master/packages/catalog-model/examples/all.yaml - type: url - target: https://github.com/backstage/software-templates/blob/main/scaffolder-templates/react-ssr-template/template.yaml + target: https://github.com/backstage/backstage/blob/master/packages/catalog-model/examples/acme-corp.yaml + rules: + - allow: [User, Group] + + - type: url + target: https://github.com/backstage/backstage/blob/master/plugins/scaffolder-backend/sample-templates/all-templates.yaml + rules: + - allow: [Template] proxy: '/circleci/api':