Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Docker-in-Docker (DinD) capabilities of public runners deactivated.
More info
Open sidebar
resinfo-cargo
CargoDay
cargoday-12
Commits
018e0dc4
Commit
018e0dc4
authored
Dec 10, 2021
by
RANDRIATOAMANANA Richard
Browse files
Update 3-reconfiguring_deploying.md
parent
be735685
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
3-reconfiguring_deploying.md
3-reconfiguring_deploying.md
+11
-0
No files found.
3-reconfiguring_deploying.md
View file @
018e0dc4
...
...
@@ -132,4 +132,15 @@ When accessing the API from outside Grid'5000, you **MUST** send your Grid'5000
curl
-k
-XGET
https://localhost:3443/sid/sites/nantes/clusters/econome | jq
```
### Submit a Job
https://api.grid5000.fr/doc/3.0/#tag/job (
*needs authentication*
)
-
submit a simple
`sleep`
command on a node by default
```
bash
curl
-k
-XPOST
https://localhost:3443/sid/sites/nantes/jobs
-d
"command=sleep 30"
| jq
```
-
submit a script
```
bash
curl
-k
-XPOST
https://localhost:3443/sid/sites/nantes/jobs
-d
"command=~/api_cmd.sh"
| jq
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment