-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkokoro-job-configs.sh
175 lines (164 loc) · 3.48 KB
/
kokoro-job-configs.sh
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
# Use ls */publish.cfg in /google/src/cloud/franzih/kokoro/google3/devtools/kokoro/config/prod/cloud-devrel/client-libraries/nodejs/release/googleapis
FOLDERS="cloud-debug-nodejs
cloud-profiler-nodejs
cloud-trace-nodejs
code-suggester
eslint-plugin-gcp-samples
gaxios
gax-nodejs
gcp-metadata
gcs-resumable-upload
github-repo-automation
google-api-nodejs-client
google-auth-library-nodejs
google-cloud-node
google-p12-pem
jsdoc-fresh
jsdoc-region-tag
node-gtoken
nodejs-access-approval
nodejs-ai-platform
nodejs-analytics-admin
nodejs-analytics-data
nodejs-api-gateway
nodejs-apigee-connect
nodejs-appengine-admin
nodejs-area120-tables
nodejs-artifact-registry
nodejs-asset
nodejs-assured-workloads
nodejs-automl
nodejs-bigquery-connection
nodejs-bigquery-data-transfer
nodejs-bigquery
nodejs-bigquery-reservation
nodejs-bigquery-storage
nodejs-bigtable
nodejs-billing-budgets
nodejs-billing
nodejs-binary-authorization
nodejs-channel
nodejs-cloudbuild
nodejs-cloud-container
nodejs-cloud-shell
nodejs-cloud-tpu
nodejs-common-grpc
nodejs-common
nodejs-compute
nodejs-containeranalysis
nodejs-datacatalog
nodejs-datalabeling
nodejs-dataproc-metastore
nodejs-dataproc
nodejs-data-qna
nodejs-datastore-kvstore
nodejs-datastore
nodejs-datastore-session
nodejs-dialogflow-cx
nodejs-dialogflow
nodejs-dlp
nodejs-dms
nodejs-dns
nodejs-document-ai
nodejs-domains
nodejs-error-reporting
nodejs-essential-contacts
nodejs-firestore
nodejs-firestore-session
nodejs-functions
nodejs-game-servers
nodejs-gce-images
nodejs-gke-hub
nodejs-googleapis-common
nodejs-grafeas
nodejs-iam-credentials
nodejs-iot
nodejs-irm
nodejs-kms
nodejs-language
nodejs-local-auth
nodejs-logging-bunyan
nodejs-logging
nodejs-logging-winston
nodejs-managed-identities
nodejs-media-translation
nodejs-memcache
nodejs-monitoring-dashboards
nodejs-monitoring
nodejs-network-connectivity
nodejs-notebooks
nodejs-org-policy
nodejs-os-config
nodejs-os-login
nodejs-paginator
nodejs-phishing-protection
nodejs-policy-troubleshooter
nodejs-precise-date
nodejs-private-catalog
nodejs-projectify
nodejs-promisify
nodejs-proto-files
nodejs-pubsub
nodejs-rcloadenv
nodejs-recaptcha-enterprise
nodejs-recommendation-engine
nodejs-recommender
nodejs-redis
nodejs-resource-manager
nodejs-retail
nodejs-scheduler
nodejs-secret-manager
nodejs-security-center
nodejs-security-private-ca
nodejs-service-control
nodejs-service-directory
nodejs-service-management
nodejs-service-usage
nodejs-spanner
nodejs-speech
nodejs-storage
nodejs-talent
nodejs-tasks
nodejs-text-to-speech
nodejs-translate
nodejs-video-intelligence
nodejs-video-transcoder
nodejs-vision
nodejs-vpc-access
nodejs-web-risk
nodejs-web-security-scanner
nodejs-workflow-executions
nodejs-workflows
release-please
repo-automation-bots
sloth
teeny-request"
for f in $FOLDERS; do
echo "Processing $f"
echo "# Format: //devtools/kokoro/config/proto/job.proto
# Job for publishing up-to-date docs.
scm {
github_scm {
repository: \"$f\"
name: \"$f\"
}
}
chain_spec {
parent_job_name: \"cloud-devrel/client-libraries/nodejs/release/googleapis/$f/publish\"
child_job_name: \"cloud-devrel/client-libraries/nodejs/release/googleapis/$f/docs-devsite\"
threshold: SUCCESS
}
" > $f/docs.cfg
# Generate docs-devsite.cfg
echo "# Format: //devtools/kokoro/config/proto/job.proto
# Job for publishing ref docs to cloud.google.com
scm {
github_scm {
repository: \"$f\"
name: \"$f\"
}
}
chain_spec {
parent_job_name: \"cloud-devrel/client-libraries/nodejs/release/googleapis/$f/docs\"
}" > $f/docs-devsite.cfg
done