-
Notifications
You must be signed in to change notification settings - Fork 161
Expand file tree
/
Copy pathoutput.txt
More file actions
57 lines (46 loc) · 1.36 KB
/
output.txt
File metadata and controls
57 lines (46 loc) · 1.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
>>> [CLI] bundle plan -o json
>>> print_requests.py --get //jobs
>>> [CLI] bundle deploy --plan out.plan_create.json
Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-bundle/default/files...
Deploying resources...
Updating deployment state...
Deployment complete!
>>> print_requests.py --get //jobs
{
"method": "POST",
"path": "/api/2.2/jobs/create",
"body": {
"deployment": {
"kind": "BUNDLE",
"metadata_file_path": "/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/state/metadata.json"
},
"edit_mode": "UI_LOCKED",
"format": "MULTI_TASK",
"max_concurrent_runs": 1,
"name": "test-job",
"queue": {
"enabled": true
}
}
}
>>> [CLI] bundle plan -o json
>>> print_requests.py --get //jobs
{
"method": "GET",
"path": "/api/2.2/jobs/get",
"q": {
"job_id": "[NUMID]"
}
}
>>> [CLI] bundle deploy --plan out.plan_skip.json
Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-bundle/default/files...
Deploying resources...
Updating deployment state...
Deployment complete!
>>> print_requests.py --get //jobs
>>> [CLI] bundle destroy --auto-approve
The following resources will be deleted:
delete resources.jobs.job
All files and directories at the following location will be deleted: /Workspace/Users/[USERNAME]/.bundle/test-bundle/default
Deleting files...
Destroy complete!