From 189722e2214a0f6e1a6cd3bf4f2e7bed8c9987ea Mon Sep 17 00:00:00 2001 From: Julien Eluard Date: Thu, 25 Feb 2021 15:47:18 +0100 Subject: [PATCH] Move to global templates --- .../berkeley-sp21/templates/node-template | 17 +---------------- .../industry-connect/templates/assignement | 13 +------------ .../production/templates/node-template | 13 +------------ conf/k8s/overlays/production/templates/recipes | 18 +----------------- .../overlays/staging/templates/node-template | 17 +---------------- conf/k8s/overlays/staging/templates/recipes | 18 +----------------- conf/k8s/overlays/staging/templates/substrate | 17 +---------------- conf/templates/assignement | 12 ++++++++++++ conf/templates/node-template | 16 ++++++++++++++++ conf/templates/recipes | 17 +++++++++++++++++ conf/templates/substrate | 16 ++++++++++++++++ 11 files changed, 68 insertions(+), 106 deletions(-) mode change 100644 => 120000 conf/k8s/overlays/berkeley-sp21/templates/node-template mode change 100644 => 120000 conf/k8s/overlays/industry-connect/templates/assignement mode change 100644 => 120000 conf/k8s/overlays/production/templates/node-template mode change 100644 => 120000 conf/k8s/overlays/production/templates/recipes mode change 100644 => 120000 conf/k8s/overlays/staging/templates/node-template mode change 100644 => 120000 conf/k8s/overlays/staging/templates/recipes mode change 100644 => 120000 conf/k8s/overlays/staging/templates/substrate create mode 100644 conf/templates/assignement create mode 100644 conf/templates/node-template create mode 100644 conf/templates/recipes create mode 100644 conf/templates/substrate diff --git a/conf/k8s/overlays/berkeley-sp21/templates/node-template b/conf/k8s/overlays/berkeley-sp21/templates/node-template deleted file mode 100644 index 4d959f6be..000000000 --- a/conf/k8s/overlays/berkeley-sp21/templates/node-template +++ /dev/null @@ -1,16 +0,0 @@ -image: paritytech/substrate-playground-template-node-template-theia:sha-a0bbe8f -repository: substrate-developer-hub/substrate-node-template -name: Node template -description: '## The Node template you know and love' -tags: - public: true -runtime: - ports: - - name: ssh - protocol: TCP - path: /ssh - port: 22 - - name: wss - protocol: TCP - path: /wss - port: 9944 diff --git a/conf/k8s/overlays/berkeley-sp21/templates/node-template b/conf/k8s/overlays/berkeley-sp21/templates/node-template new file mode 120000 index 000000000..085a23aa8 --- /dev/null +++ b/conf/k8s/overlays/berkeley-sp21/templates/node-template @@ -0,0 +1 @@ +/Users/julien/Documents/Projects/paritytech/substrate-playground/conf/templates/node-template \ No newline at end of file diff --git a/conf/k8s/overlays/industry-connect/templates/assignement b/conf/k8s/overlays/industry-connect/templates/assignement deleted file mode 100644 index 48cad425c..000000000 --- a/conf/k8s/overlays/industry-connect/templates/assignement +++ /dev/null @@ -1,12 +0,0 @@ -image: paritytech/substrate-playground-template-assignement-theia:sha-aa7538d -repository: SubstrateDevAcademy/assignment-1-template -name: Assignement -description: '## Industry connect assignement' -tags: - public: true -runtime: - ports: - - name: wss - protocol: TCP - path: /wss - port: 9944 diff --git a/conf/k8s/overlays/industry-connect/templates/assignement b/conf/k8s/overlays/industry-connect/templates/assignement new file mode 120000 index 000000000..5fd2681e6 --- /dev/null +++ b/conf/k8s/overlays/industry-connect/templates/assignement @@ -0,0 +1 @@ +/Users/julien/Documents/Projects/paritytech/substrate-playground/conf/templates/assignement \ No newline at end of file diff --git a/conf/k8s/overlays/production/templates/node-template b/conf/k8s/overlays/production/templates/node-template deleted file mode 100644 index ed8b3ff29..000000000 --- a/conf/k8s/overlays/production/templates/node-template +++ /dev/null @@ -1,12 +0,0 @@ -image: paritytech/substrate-playground-template-node-template-theia:sha-75194bc -repository: substrate-developer-hub/substrate-node-template -name: Node template -description: '## The Node template you know and love' -tags: - public: true -runtime: - ports: - - name: wss - protocol: TCP - path: /wss - port: 9944 diff --git a/conf/k8s/overlays/production/templates/node-template b/conf/k8s/overlays/production/templates/node-template new file mode 120000 index 000000000..085a23aa8 --- /dev/null +++ b/conf/k8s/overlays/production/templates/node-template @@ -0,0 +1 @@ +/Users/julien/Documents/Projects/paritytech/substrate-playground/conf/templates/node-template \ No newline at end of file diff --git a/conf/k8s/overlays/production/templates/recipes b/conf/k8s/overlays/production/templates/recipes deleted file mode 100644 index a7aca47e9..000000000 --- a/conf/k8s/overlays/production/templates/recipes +++ /dev/null @@ -1,17 +0,0 @@ -image: paritytech/substrate-playground-template-recipes-theia:sha-9a27604 -repository: substrate-developer-hub/recipes -name: Recipes -description: '## A Hands-On Cookbook for Aspiring Blockchain Chefs - - - Contains some real nodes! - - ' -tags: - public: true -runtime: - ports: - - name: wss - protocol: TCP - path: /wss - port: 9944 diff --git a/conf/k8s/overlays/production/templates/recipes b/conf/k8s/overlays/production/templates/recipes new file mode 120000 index 000000000..b348e174f --- /dev/null +++ b/conf/k8s/overlays/production/templates/recipes @@ -0,0 +1 @@ +/Users/julien/Documents/Projects/paritytech/substrate-playground/conf/templates/recipes \ No newline at end of file diff --git a/conf/k8s/overlays/staging/templates/node-template b/conf/k8s/overlays/staging/templates/node-template deleted file mode 100644 index 58e95adfb..000000000 --- a/conf/k8s/overlays/staging/templates/node-template +++ /dev/null @@ -1,16 +0,0 @@ -image: paritytech/substrate-playground-template-node-template-theia:sha-549e34b -repository: substrate-developer-hub/substrate-node-template -name: Node template -description: '## The Node template you know and love' -tags: - public: true -runtime: - ports: - - name: ssh - protocol: TCP - path: /ssh - port: 22 - - name: wss - protocol: TCP - path: /wss - port: 9944 diff --git a/conf/k8s/overlays/staging/templates/node-template b/conf/k8s/overlays/staging/templates/node-template new file mode 120000 index 000000000..085a23aa8 --- /dev/null +++ b/conf/k8s/overlays/staging/templates/node-template @@ -0,0 +1 @@ +/Users/julien/Documents/Projects/paritytech/substrate-playground/conf/templates/node-template \ No newline at end of file diff --git a/conf/k8s/overlays/staging/templates/recipes b/conf/k8s/overlays/staging/templates/recipes deleted file mode 100644 index 93b823b0e..000000000 --- a/conf/k8s/overlays/staging/templates/recipes +++ /dev/null @@ -1,17 +0,0 @@ -image: paritytech/substrate-playground-template-recipes-theia:sha-9a27604 -repository: substrate-developer-hub/recipes -name: Recipes -description: '## A Hands-On Cookbook for Aspiring Blockchain Chefs - - - Contains some real nodes! - - ' -tags: - public: true -runtime: - ports: - - name: wss - protocol: TCP - path: /wss - port: 9944 diff --git a/conf/k8s/overlays/staging/templates/recipes b/conf/k8s/overlays/staging/templates/recipes new file mode 120000 index 000000000..b348e174f --- /dev/null +++ b/conf/k8s/overlays/staging/templates/recipes @@ -0,0 +1 @@ +/Users/julien/Documents/Projects/paritytech/substrate-playground/conf/templates/recipes \ No newline at end of file diff --git a/conf/k8s/overlays/staging/templates/substrate b/conf/k8s/overlays/staging/templates/substrate deleted file mode 100644 index c3561076c..000000000 --- a/conf/k8s/overlays/staging/templates/substrate +++ /dev/null @@ -1,16 +0,0 @@ -image: paritytech/substrate-playground-template-substrate-theia:sha-c7e09e6 -repository: jeluard/substrate -name: Substrate -description: '## Substrate repository' -tags: - public: true -runtime: - ports: - - name: ssh - protocol: TCP - path: /ssh - port: 22 - - name: wss - protocol: TCP - path: /wss - port: 9944 diff --git a/conf/k8s/overlays/staging/templates/substrate b/conf/k8s/overlays/staging/templates/substrate new file mode 120000 index 000000000..82526d757 --- /dev/null +++ b/conf/k8s/overlays/staging/templates/substrate @@ -0,0 +1 @@ +/Users/julien/Documents/Projects/paritytech/substrate-playground/conf/templates/substrate \ No newline at end of file diff --git a/conf/templates/assignement b/conf/templates/assignement new file mode 100644 index 000000000..48cad425c --- /dev/null +++ b/conf/templates/assignement @@ -0,0 +1,12 @@ +image: paritytech/substrate-playground-template-assignement-theia:sha-aa7538d +repository: SubstrateDevAcademy/assignment-1-template +name: Assignement +description: '## Industry connect assignement' +tags: + public: true +runtime: + ports: + - name: wss + protocol: TCP + path: /wss + port: 9944 diff --git a/conf/templates/node-template b/conf/templates/node-template new file mode 100644 index 000000000..4049802e7 --- /dev/null +++ b/conf/templates/node-template @@ -0,0 +1,16 @@ +repository: substrate-developer-hub/substrate-node-template +image: paritytech/substrate-playground-template-node-template-theia:sha-11b4630 +name: Node template +description: '## The Node template you know and love' +tags: + public: true +runtime: + ports: + - name: ssh + protocol: TCP + path: /ssh + port: 22 + - name: wss + protocol: TCP + path: /wss + port: 9944 diff --git a/conf/templates/recipes b/conf/templates/recipes new file mode 100644 index 000000000..a7aca47e9 --- /dev/null +++ b/conf/templates/recipes @@ -0,0 +1,17 @@ +image: paritytech/substrate-playground-template-recipes-theia:sha-9a27604 +repository: substrate-developer-hub/recipes +name: Recipes +description: '## A Hands-On Cookbook for Aspiring Blockchain Chefs + + + Contains some real nodes! + + ' +tags: + public: true +runtime: + ports: + - name: wss + protocol: TCP + path: /wss + port: 9944 diff --git a/conf/templates/substrate b/conf/templates/substrate new file mode 100644 index 000000000..c3561076c --- /dev/null +++ b/conf/templates/substrate @@ -0,0 +1,16 @@ +image: paritytech/substrate-playground-template-substrate-theia:sha-c7e09e6 +repository: jeluard/substrate +name: Substrate +description: '## Substrate repository' +tags: + public: true +runtime: + ports: + - name: ssh + protocol: TCP + path: /ssh + port: 22 + - name: wss + protocol: TCP + path: /wss + port: 9944