This is an automated email from the ASF dual-hosted git repository.
pabloem pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/master by this push:
new b2271d9122c [Playground] - Cloudfunction rename (#27139)
b2271d9122c is described below
commit b2271d9122cc1b83fc365ff233cd60b09597abaa
Author: MakarkinSAkvelon <67...@users.noreply.github.com>
AuthorDate: Thu Jun 22 03:17:47 2023 +0600
[Playground] - Cloudfunction rename (#27139)
* Change CloudFunction name
* Fix function name
* revert gradle file and change terraform file
* Minor changes in Readme file
* readme file update
---------
Co-authored-by: Sergey Makarkin <se...@akvelon.com>
---
playground/terraform/README.md | 6 +++---
playground/terraform/build.gradle.kts | 3 +--
playground/terraform/infrastructure/cloudfunctions/main.tf | 4 ++--
3 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/playground/terraform/README.md b/playground/terraform/README.md
index 0d072e6f9b0..a16c69b5b36 100644
--- a/playground/terraform/README.md
+++ b/playground/terraform/README.md
@@ -210,9 +210,9 @@ static_ip_name: <ip_address_name>
tag: <docker-tag>
datastore_name: <datastore-namespace>
dns_name: <dns-name>
-func_clean: playground-function-cleanup-<env>
-func_put: playground-function-delete-<env>
-func_view: playground-function-view-<env>
+func_clean: https://<region>-<project_id>.cloudfunctions.net/playground-function-cleanup-<env>
+func_put: https://<region>-<project_id>.cloudfunctions.net/playground-function-put-<env>
+func_view: https://<region>-<project_id>.cloudfunctions.net/playground-function-view-<env>
```
6. Execute following command to update HELM:
```
diff --git a/playground/terraform/build.gradle.kts b/playground/terraform/build.gradle.kts
index 4fdb1007b35..fb1520e50df 100644
--- a/playground/terraform/build.gradle.kts
+++ b/playground/terraform/build.gradle.kts
@@ -384,7 +384,6 @@ func_view: ${pgfuncview}
}
}
-
task("applyMigrations") {
doLast {
val namespace = if (project.hasProperty("datastore-namespace")) (project.property("datastore-namespace") as String) else ""
@@ -436,4 +435,4 @@ tasks.register("gkebackend") {
indexcreateTask.mustRunAfter(pushFrontTask)
applyMigrations.mustRunAfter(indexcreateTask)
helmTask.mustRunAfter(applyMigrations)
-}
+}
\ No newline at end of file
diff --git a/playground/terraform/infrastructure/cloudfunctions/main.tf b/playground/terraform/infrastructure/cloudfunctions/main.tf
index 690b032f3b8..57cd6fee031 100644
--- a/playground/terraform/infrastructure/cloudfunctions/main.tf
+++ b/playground/terraform/infrastructure/cloudfunctions/main.tf
@@ -25,8 +25,8 @@ locals {
entry_point = "cleanupSnippets"
},
{
- name = "playground-function-delete-${var.env}"
- description = "Playground function delete-${var.env}"
+ name = "playground-function-put-${var.env}"
+ description = "Playground function put-${var.env}"
entry_point = "putSnippet"
},
{