We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b49ead7 commit 6f0be4bCopy full SHA for 6f0be4b
1 file changed
cleanup_watcher.py
@@ -3,6 +3,9 @@
3
import requests
4
from google.cloud import run_v2
5
6
+for name, value in os.environ.items():
7
+ print("{0}: {1}".format(name, value))
8
+
9
PROJECT = os.getenv("GOOGLE_CLOUD_PROJECT")
10
REGION = os.getenv("GOOGLE_CLOUD_REGION", "us-central1")
11
SERVICE_NAME = os.getenv("K_SERVICE")
@@ -11,6 +14,9 @@
14
12
15
13
16
def delete_service():
17
+ print("Deleting service")
18
+ for name, value in os.environ.items():
19
20
if not PROJECT or not SERVICE_NAME:
21
print("Cannot delete: missing env vars")
22
return
0 commit comments