v1.6.4/api update, chat thread styling
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
}
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user