forked from GoogleCloudPlatform/golang-samples
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcommon.cfg
84 lines (77 loc) · 2.5 KB
/
common.cfg
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# Format: //devtools/kokoro/config/proto/build.proto
# Download trampoline resources. These will be in ${KOKORO_GFILE_DIR}.
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline"
# Download key pair for testing Cloud IoT Core samples
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/go/golang-iot-keys"
# All builds use the trampoline script to run in docker.
build_file: "golang-samples/testing/kokoro/trampoline.sh"
# Tell the trampoline which build file to use.
env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/golang-samples/testing/kokoro/system_tests.sh"
}
# Keys to source from secret manager. Should be a comma deliminated list.
env_vars: {
key: "SECRET_MANAGER_KEYS"
value: "go-aws-secrets"
}
# Get the testing service account keys. They will be stored in
# $KOKORO_KEYSTORE_DIR/71386_$KEYNAME.
before_action {
fetch_keystore {
keystore_resource {
keystore_config_id: 71386
keyname: "kokoro-golang-samples-tests"
}
keystore_resource {
keystore_config_id: 71386
keyname: "kokoro-golang-samples-tests-2"
}
keystore_resource {
keystore_config_id: 71386
keyname: "kokoro-golang-samples-tests-3"
}
keystore_resource {
keystore_config_id: 71386
keyname: "kokoro-golang-samples-tests-4"
}
keystore_resource {
keystore_config_id: 71386
keyname: "kokoro-golang-samples-tests-5"
}
keystore_resource {
keystore_config_id: 71386
keyname: "kokoro-golang-samples-tests-6"
}
keystore_resource {
keystore_config_id: 71386
keyname: "kokoro-golang-samples-tests-7"
}
keystore_resource {
keystore_config_id: 71386
keyname: "kokoro-golang-samples-tests-8"
}
keystore_resource {
keystore_config_id: 71386
keyname: "kokoro-golang-samples-tests-9"
}
keystore_resource {
keystore_config_id: 71386
keyname: "kokoro-golang-samples-tests-10"
}
keystore_resource {
keystore_config_id: 71386
keyname: "golang-samples-kokoro-gcs-hmac-secret"
}
keystore_resource {
keystore_config_id: 71386
keyname: "golang-samples-kokoro-gcs-hmac-id"
}
}
}
action {
define_artifacts {
regex: "**/*sponge_log.log"
regex: "**/*sponge_log.xml"
}
}