-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathspec.json
More file actions
27 lines (27 loc) · 651 Bytes
/
Copy pathspec.json
File metadata and controls
27 lines (27 loc) · 651 Bytes
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
{
"pipeline": {
"name": "getfiles"
},
"description": "A pipeline that gets a file out of GCS",
"transform": {
"cmd": [ "/bin/bash" ],
"stdin": [
"echo $GCS_ACCESS > /app/rawcreds.txt",
"base64 --decode /app/rawcreds.txt > /app/creds.json",
"export GOOGLE_APPLICATION_CREDENTIALS=/app/creds.json",
"python /app/gcs.py"
],
"image": "tiwarid/mgmt590-gcs:5762b7372b2feb7cff9b2cec475d85e8c0c37a53",
"secrets": [ {
"name": "gcsaccess",
"env_var": "GCS_ACCESS",
"key": "creds"
} ]
},
"input": {
"cron": {
"name": "tick",
"spec": "@every 10s"
}
}
}