diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 7ad12f0..0f8c20e 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -48,6 +48,13 @@ "command": "ssh mf@${input:host}", "problemMatcher": [], "group": "build" + }, + { + "label": "Argo Submmit --log", + "type": "shell", + "command": "argo submit ${file} -n $(yq 'select(.kind == \"Workflow\") | .metadata.namespace' ${file}) --log", + "problemMatcher": [], + "group": "none" } ] } \ No newline at end of file diff --git a/README.md b/README.md index db7a9b4..ccf04c4 100644 --- a/README.md +++ b/README.md @@ -1,20 +1,7 @@ # nodes.mngt -## icarus - cluster nodes - mngt - Requirements: - -### nodes - get info - -``` bash -argo submit ./icarus-mngt/workflows/nodes-get-info.yml -n icarus-nodes-mngt --log -``` - -### nodes - update os - -``` bash -argo submit ./icarus-mngt/workflows/nodes-update-os.yml -n icarus-nodes-mngt --log -``` - +Use [vscode actions](.vscode/tasks.json) to run workflows.