From 2902f6d8d02e4b7278f0ce436ba876d46d80e427 Mon Sep 17 00:00:00 2001 From: unkcpz Date: Wed, 4 Oct 2023 14:37:28 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20aiidatea?= =?UTF-8?q?m/aiida-resource-registry@720493c532dcb4ac2fe662fec394d671f4b68?= =?UTF-8?q?b1b=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- database.json | 43 +++++++++++++++++++++++++++++++++++++++---- resource.schema.json | 8 ++++++-- 2 files changed, 45 insertions(+), 6 deletions(-) diff --git a/database.json b/database.json index 88219d8..5c675e0 100644 --- a/database.json +++ b/database.json @@ -3,8 +3,17 @@ "gpu": { "computer": { "computer-configure": { + "username": "{{ username }}", "safe_interval": 60, - "proxy_command": "ssh -q -Y {username}@ela.cscs.ch netcat daint.cscs.ch 22" + "proxy_command": "ssh -q -Y {username}@ela.cscs.ch netcat daint.cscs.ch 22", + "metadata": { + "tooltip": "

\n Setup up the SSH connection.\n

\n", + "username": { + "description": "The username to use for the SSH connection", + "type": "text", + "key_display": "SSH username" + } + } }, "computer-setup": { "label": "{{ label }}", @@ -94,8 +103,17 @@ "mc": { "computer": { "computer-configure": { + "username": "{{ username }}", "safe_interval": 60, - "proxy_command": "ssh -q -Y {username}@ela.cscs.ch netcat daint.cscs.ch 22" + "proxy_command": "ssh -q -Y {{ username }}@ela.cscs.ch netcat daint.cscs.ch 22", + "metadata": { + "tooltip": "

\n Setup up the SSH connection.\n

\n", + "username": { + "description": "The username to use for the SSH connection", + "type": "text", + "key_display": "SSH username" + } + } }, "computer-setup": { "label": "{{ label }}", @@ -215,7 +233,15 @@ "computer": { "computer-configure": { "safe_interval": 60, - "proxy_command": "ssh -q -Y {username}@ela.cscs.ch netcat daint.cscs.ch 22" + "username": "{{ username }}", + "metadata": { + "tooltip": "

\n Setup up the SSH connection.\n

\n", + "username": { + "description": "The username to use for the SSH connection", + "type": "text", + "key_display": "SSH username" + } + } }, "computer-setup": { "label": "{{ label }}", @@ -296,7 +322,16 @@ "cpu": { "computer": { "computer-configure": { - "safe_interval": 60 + "safe_interval": 60, + "username": "{{ username }}", + "metadata": { + "tooltip": "

\n Setup up the SSH connection.\n

\n", + "username": { + "description": "The username to use for the SSH connection", + "type": "text", + "key_display": "SSH username" + } + } }, "computer-setup": { "label": "{{ label }}", diff --git a/resource.schema.json b/resource.schema.json index de7eb14..688596c 100644 --- a/resource.schema.json +++ b/resource.schema.json @@ -153,6 +153,9 @@ "computer-configure.yml": { "type": "object", "properties": { + "username": { + "type": "string" + }, "safe_interval": { "type": "integer" }, @@ -164,9 +167,10 @@ } }, "required": [ - "safe_interval" + "safe_interval", + "username" ], - "additionalProperties": false, + "additionalProperties": true, "title": "Computer Configure" }, "code.yml": {