-
Notifications
You must be signed in to change notification settings - Fork 1
/
.katapod_config.json
55 lines (54 loc) · 1.89 KB
/
.katapod_config.json
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
{
"layout": {
"terminals": [
{
"id": "cqlsh",
"name": "main"
}
]
},
"navigation": {
"onLoadCommands": {
"step1-cassandra": {
"install-dependencies": [
{
"command": "echo \"Setting up config for local Cassandra...\";cp /workspace/httpie-katapod/assets/config-cassandra.json /home/gitpod/.config/httpie/config.json",
"maxInvocations": "unlimited"
}
]
},
"finish-astra": {
"cqlsh": [
{
"command": "HOME=/root sudo /home/gitpod/.pyenv/shims/http --auth-type astra -a swag: POST :/rest/v2/keyspaces/swag/metrics key=$GITPOD_INSTANCE_ID path=astra date=`date +%s`",
"maxInvocations": "1"
}
]
},
"finish-cassandra": {
"sqlsh": [
{
"command": "HOME=/root sudo /home/gitpod/.pyenv/shims/http --auth-type astra -a swag: POST :/rest/v2/keyspaces/swag/metrics key=$GITPOD_INSTANCE_ID path=cassandra date=`date +%s`",
"maxInvocations": "1"
}
]
},
"thanks-astra": {
"sqlsh": [
{
"command": "HOME=/root sudo /home/gitpod/.pyenv/shims/http --auth-type astra -a swag: POST :/rest/v2/keyspaces/swag/emails email=$GITPOD_GIT_USER_EMAIL path=astra date=`date +%s`",
"maxInvocations": "1"
}
]
},
"thanks-cassandra": {
"sqlsh": [
{
"command": "HOME=/root sudo /home/gitpod/.pyenv/shims/http --auth-type astra -a swag: POST :/rest/v2/keyspaces/swag/metrics email=$GITPOD_GIT_USER_EMAIL path=cassandra date=`date +%s`",
"maxInvocations": "1"
}
]
}
}
}
}