v1.6.4/api update, chat thread styling

This commit is contained in:
2020-08-27 19:09:49 -04:00
parent 14c90d4cb9
commit fa887460eb
6 changed files with 36 additions and 3 deletions
+17
View File
@@ -0,0 +1,17 @@
# This file specifies files that are *not* uploaded to Google Cloud Platform
# using gcloud. It follows the same syntax as .gitignore, with the addition of
# "#!include" directives (which insert the entries of the given .gitignore-style
# file at that point).
#
# For more information, run:
# $ gcloud topic gcloudignore
#
.gcloudignore
# If you would like to upload your .git directory, .gitignore file or files
# from your .gitignore file, remove the corresponding line
# below:
.git
.gitignore
node_modules
#!include:.gitignore
+7
View File
@@ -0,0 +1,7 @@
foreach ($api in gcloud functions list --filter="name:( api- )" --format="csv[no-heading](NAME,REGION)") {
$apiData = $api.Split(",")
$apiName = $apiData[0]
$apiRegion = $apiData[1]
Write-Host "`n==========================================================`nAPI: $apiName `t REGION: $apiRegion `n==========================================================`n"
gcloud functions deploy $apiName --region $apiRegion --entry-point widgets
}
+8
View File
@@ -0,0 +1,8 @@
#!/bin/bash
for api in $(gcloud functions list --filter="name:( api- )" --format="csv[no-heading](NAME,REGION)")
do
apiName="$(cut -d',' -f1 <<<"$api")"
apiRegion="$(cut -d',' -f2 <<<"$api")"
echo $'\n'==========================================================$'\n'API: "$apiName" $'\t'REGION: "$apiRegion"$'\n'==========================================================$'\n'
$(gcloud functions deploy $apiName --region $apiRegion --entry-point widgets)
done