From 257f78d63ceec58d72b8d0434375dda44975ef75 Mon Sep 17 00:00:00 2001 From: sadarunnisa-sf Date: Wed, 8 May 2024 18:04:25 +0530 Subject: [PATCH 1/6] ARC-103 - Add repo and catlog links --- .../microservice-repo-bootstrap/template.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scaffolder-templates/microservice-repo-bootstrap/template.yaml b/scaffolder-templates/microservice-repo-bootstrap/template.yaml index 820af71..79859d4 100644 --- a/scaffolder-templates/microservice-repo-bootstrap/template.yaml +++ b/scaffolder-templates/microservice-repo-bootstrap/template.yaml @@ -197,3 +197,9 @@ spec: output: remoteUrl: ${{ steps.publish.output.remoteUrl }} entityRef: ${{ steps.register.output.entityRef }} + links: + - title: Repository + url: ${{ steps['publish'].output.remoteUrl }} + - title: Open in catalog + icon: catalog + entityRef: ${{ steps['register'].output.entityRef }} From f0201d1797755679e3185384e534f3f647a39a22 Mon Sep 17 00:00:00 2001 From: sadarunnisa-sf Date: Wed, 8 May 2024 18:58:19 +0530 Subject: [PATCH 2/6] ARC-103 - Add repo and catlog links --- .../microservice-repo-bootstrap/template.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scaffolder-templates/microservice-repo-bootstrap/template.yaml b/scaffolder-templates/microservice-repo-bootstrap/template.yaml index 79859d4..1b76679 100644 --- a/scaffolder-templates/microservice-repo-bootstrap/template.yaml +++ b/scaffolder-templates/microservice-repo-bootstrap/template.yaml @@ -194,12 +194,12 @@ spec: catalogInfoPath: "/catalog-info.yml" optional: true - output: - remoteUrl: ${{ steps.publish.output.remoteUrl }} - entityRef: ${{ steps.register.output.entityRef }} + output: links: - title: Repository url: ${{ steps['publish'].output.remoteUrl }} - title: Open in catalog icon: catalog entityRef: ${{ steps['register'].output.entityRef }} + remoteUrl: ${{ steps.publish.output.remoteUrl }} + entityRef: ${{ steps.register.output.entityRef }} From 908bf3b5466dd564a8a8445c64675245adf5c478 Mon Sep 17 00:00:00 2001 From: sadarunnisa-sf Date: Wed, 8 May 2024 19:35:17 +0530 Subject: [PATCH 3/6] ARC-103 - Add repo and catlog links --- .../microservice-repo-bootstrap/template.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scaffolder-templates/microservice-repo-bootstrap/template.yaml b/scaffolder-templates/microservice-repo-bootstrap/template.yaml index 1b76679..4c8392a 100644 --- a/scaffolder-templates/microservice-repo-bootstrap/template.yaml +++ b/scaffolder-templates/microservice-repo-bootstrap/template.yaml @@ -197,9 +197,9 @@ spec: output: links: - title: Repository - url: ${{ steps['publish'].output.remoteUrl }} + url: ${{ steps.publish.output.remoteUrl }} - title: Open in catalog icon: catalog - entityRef: ${{ steps['register'].output.entityRef }} + entityRef: ${{ steps.register.output.entityRef }} remoteUrl: ${{ steps.publish.output.remoteUrl }} entityRef: ${{ steps.register.output.entityRef }} From 12df623a5e54c9802069acf9fa9b3596db275af9 Mon Sep 17 00:00:00 2001 From: sadarunnisa-sf Date: Wed, 8 May 2024 20:00:26 +0530 Subject: [PATCH 4/6] ARC-103 - Add repo and catlog links --- .../microservice-repo-bootstrap/template.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scaffolder-templates/microservice-repo-bootstrap/template.yaml b/scaffolder-templates/microservice-repo-bootstrap/template.yaml index 4c8392a..2caec31 100644 --- a/scaffolder-templates/microservice-repo-bootstrap/template.yaml +++ b/scaffolder-templates/microservice-repo-bootstrap/template.yaml @@ -200,6 +200,4 @@ spec: url: ${{ steps.publish.output.remoteUrl }} - title: Open in catalog icon: catalog - entityRef: ${{ steps.register.output.entityRef }} - remoteUrl: ${{ steps.publish.output.remoteUrl }} - entityRef: ${{ steps.register.output.entityRef }} + entityRef: ${{ steps.register.output.entityRef }} \ No newline at end of file From 92076cb2f8304aa5f0ae0064187bbf9da68e4baf Mon Sep 17 00:00:00 2001 From: sadarunnisa-sf Date: Wed, 8 May 2024 20:16:16 +0530 Subject: [PATCH 5/6] ARC-103 - Add repo and catlog links --- .../microservice-repo-bootstrap/template.yaml | 24 ++++++++----------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/scaffolder-templates/microservice-repo-bootstrap/template.yaml b/scaffolder-templates/microservice-repo-bootstrap/template.yaml index 2caec31..036e941 100644 --- a/scaffolder-templates/microservice-repo-bootstrap/template.yaml +++ b/scaffolder-templates/microservice-repo-bootstrap/template.yaml @@ -186,18 +186,14 @@ spec: description: This is ${{ parameters.name }} repoUrl: ${{ parameters.repoUrl }} - - id: register - name: Register - action: catalog:register - input: - repoContentsUrl: ${{ steps.publish.output.repoContentsUrl }} - catalogInfoPath: "/catalog-info.yml" - optional: true + # - id: register + # name: Register + # action: catalog:register + # input: + # repoContentsUrl: ${{ steps.publish.output.repoContentsUrl }} + # catalogInfoPath: "/catalog-info.yml" + # optional: true - output: - links: - - title: Repository - url: ${{ steps.publish.output.remoteUrl }} - - title: Open in catalog - icon: catalog - entityRef: ${{ steps.register.output.entityRef }} \ No newline at end of file + output: + remoteUrl: ${{ steps.publish.output.remoteUrl }} + entityRef: ${{ steps.register.output.entityRef }} From 34e035988785ad9fb40746015b5bde90ec4595fb Mon Sep 17 00:00:00 2001 From: sadarunnisa-sf Date: Wed, 8 May 2024 21:13:26 +0530 Subject: [PATCH 6/6] ARC-103 - Add repo and catlog links --- .../microservice-repo-bootstrap/template.yaml | 20 ++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/scaffolder-templates/microservice-repo-bootstrap/template.yaml b/scaffolder-templates/microservice-repo-bootstrap/template.yaml index 036e941..b7817a2 100644 --- a/scaffolder-templates/microservice-repo-bootstrap/template.yaml +++ b/scaffolder-templates/microservice-repo-bootstrap/template.yaml @@ -186,14 +186,20 @@ spec: description: This is ${{ parameters.name }} repoUrl: ${{ parameters.repoUrl }} - # - id: register - # name: Register - # action: catalog:register - # input: - # repoContentsUrl: ${{ steps.publish.output.repoContentsUrl }} - # catalogInfoPath: "/catalog-info.yml" - # optional: true + - id: register + name: Register + action: catalog:register + input: + repoContentsUrl: ${{ steps.publish.output.repoContentsUrl }} + catalogInfoPath: "/catalog-info.yml" + optional: true output: + links: + - title: Repository + url: ${{ steps.publish.output.remoteUrl }} + - title: Open in catalog + icon: catalog + entityRef: ${{ steps.register.output.entityRef }} remoteUrl: ${{ steps.publish.output.remoteUrl }} entityRef: ${{ steps.register.output.entityRef }}