-
Notifications
You must be signed in to change notification settings - Fork 1k
/
secrets-example.sh
155 lines (131 loc) · 4.16 KB
/
secrets-example.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
#!/bin/bash
# This file contains the necessary environment variables for the kokoro
# tests. Contact the repository owners if you need access to view or modify
# the variables.
#
# Run the following gcloud command to decrypt secrets.sh.enc as follows:
#
# gcloud kms decrypt --location=global --keyring=ci --key=ci \
# --ciphertext-file=.kokoro/secrets.sh.enc \
# --plaintext-file=.kokoro/secrets.sh
#
# Then run `source .kokoro/secrets.sh`
#
# To modify the file, edit .kokoro/secrets.sh then use the following gcloud
# command to encrypt it with the changes:
#
# gcloud kms encrypt --location=global --keyring=ci --key=ci \
# --ciphertext-file=.kokoro/secrets.sh.enc \
# --plaintext-file=.kokoro/secrets.sh
# General
export GOOGLE_PROJECT_ID=
export GOOGLE_STORAGE_BUCKET=$GOOGLE_PROJECT_ID
export GOOGLE_PROJECT_NUMBER=
export GOOGLE_CLIENT_ID=
export GOOGLE_CLIENT_SECRET=
export GCLOUD_PROJECT=$GOOGLE_PROJECT_ID
# For running tests in separate projects
export GOOGLE_ALT_PROJECT_ID=$GOOGLE_PROJECT_ID
# AppEngine
export MAILJET_APIKEY=
export MAILJET_SECRET=
export MAILGUN_APIKEY=
export MAILGUN_DOMAIN=
export MAILGUN_RECIPIENT=
export SENDGRID_APIKEY=
export SENDGRID_SENDER=
export TWILIO_ACCOUNT_SID=
export TWILIO_AUTH_TOKEN=
export TWILIO_FROM_NUMBER=
export TWILIO_TO_NUMBER=
# BigQuery
export GOOGLE_BIGQUERY_DATASET=test_dataset
export GOOGLE_BIGQUERY_TABLE=test_table
# CloudSQL
export CLOUDSQL_CONNECTION_NAME_MYSQL=
export CLOUDSQL_CONNECTION_NAME_POSTGRES=
export CLOUDSQL_CONNECTION_NAME=$CLOUDSQL_CONNECTION_NAME_MYSQL
export CLOUDSQL_DATABASE=
export CLOUDSQL_USER=
export CLOUDSQL_PASSWORD=
export MYSQL_DSN=
export MYSQL_DATABASE=
export MYSQL_USER=
export MYSQL_PASSWORD=
export POSTGRES_DSN=
export POSTGRES_DATABASE=
export POSTGRES_USER=
export POSTGRES_PASSWORD=
export SQLSERVER_DSN=
export SQLSERVER_DATABASE=
export SQLSERVER_USER=
export SQLSERVER_PASSWORD=
export DB_SOCKET_DIR=
# Datastore
export CLOUD_DATASTORE_NAMESPACE=
export DATASTORE_EVENTUALLY_CONSISTENT_RETRY_COUNT=
# DLP
export DLP_DEID_WRAPPED_KEY=
export DLP_DEID_KEY_NAME=projects/$GOOGLE_PROJECT_ID/locations/global/keyRings/ci/cryptoKeys/ci
# DocumentAI
export GOOGLE_DOCUMENTAI_PROCESSOR_ID=
# Firestore
export FIRESTORE_PROJECT_ID=
# IAP
export IAP_CLIENT_ID=
export IAP_PROJECT_ID=
export IAP_PROJECT_NUMBER=
export IAP_URL=
# IAM
export GOOGLE_IAM_USER=
# KMS
export GOOGLE_KMS_KEYRING=
export GOOGLE_KMS_CRYPTOKEY=
export GOOGLE_KMS_CRYPTOKEY_ALTERNATE=
export GOOGLE_KMS_SERVICEACCOUNTEMAIL=
# Memorystore
export REDIS_HOST=
export REDIS_PORT=
# PubSub
export GOOGLE_PUBSUB_SUBSCRIPTION=php-example-subscription
export GOOGLE_PUBSUB_TOPIC=php-example-topic
# GOOGLE_PUBSUB_BIGQUERY_TABLE excludes project_id
# for example if table is ${PROJECT_ID}.pubsub_test_dataset.pubsub_test_table
# the value of GOOGLE_PUBSUB_BIGQUERY_TABLE should be pubsub_test_dataset.pubsub_test_table
export GOOGLE_PUBSUB_BIGQUERY_TABLE=
# Security Center
export GOOGLE_ORGANIZATION_ID=
export GOOGLE_SECURITYCENTER_PUBSUB_TOPIC=
# Spanner
export GOOGLE_SPANNER_INSTANCE_ID=
export GOOGLE_SPANNER_DATABASE_ID=test-database
# Storage
export GOOGLE_STORAGE_OBJECT=storage/test_data.csv
export GOOGLE_STORAGE_KMS_KEYNAME=projects/$GOOGLE_PROJECT_ID/locations/us/keyRings/$GOOGLE_KMS_KEYRING/cryptoKeys/storage-bucket
export GOOGLE_REQUESTER_PAYS_STORAGE_BUCKET=$GOOGLE_STORAGE_BUCKET
# Tasks
export CLOUD_TASKS_APPENGINE_QUEUE=
export CLOUD_TASKS_LOCATION=
export CLOUD_TASKS_PULL_QUEUE=
# Redislabs Memcache
export MEMCACHE_USERNAME=
export MEMCACHE_PASSWORD=
export MEMCACHE_ENDPOINT=
# WordPress
export WORDPRESS_DB_INSTANCE_NAME=
export WORDPRESS_DB_USER=$CLOUDSQL_USER
export WORDPRESS_DB_PASSWORD=$CLOUDSQL_PASSWORD
# Laravel
export LARAVEL_CLOUDSQL_CONNECTION_NAME=$CLOUDSQL_CONNECTION_NAME_MYSQL
export LARAVEL_DB_DATABASE=laravel
export LARAVEL_DB_USERNAME=$CLOUDSQL_USER
export LARAVEL_DB_PASSWORD=$CLOUDSQL_PASSWORD
# Symfony
export SYMFONY_CLOUDSQL_CONNECTION_NAME=$CLOUDSQL_CONNECTION_NAME_MYSQL
export SYMFONY_DB_DATABASE=symfony
export SYMFONY_DB_USERNAME=$CLOUDSQL_USER
export SYMFONY_DB_PASSWORD=$CLOUDSQL_PASSWORD
# Functions
export BLURRED_BUCKET_NAME=$GCLOUD_PROJECT-functions
# Google Analytics APIs
export GA_TEST_PROPERTY_ID=