Skip to content

Commit c3731bc

Browse files
committed
chore: revert trampolinesrc to original and make owlbot changes idempotent
1 parent 1b7e61d commit c3731bc

2 files changed

Lines changed: 1 addition & 11 deletions

File tree

handwritten/logging/.trampolinerc

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,6 @@ required_envvars+=()
1919

2020
# Add env vars which are passed down into the container here.
2121
pass_down_envvars+=(
22-
"ENVIRONMENT"
23-
"RUNTIME"
24-
"ENVIRONMENT"
25-
"RUNTIME"
26-
"ENVIRONMENT"
27-
"RUNTIME"
28-
"ENVIRONMENT"
29-
"RUNTIME"
30-
"ENVIRONMENT"
31-
"RUNTIME"
3222
"ENVIRONMENT"
3323
"RUNTIME"
3424
"AUTORELEASE_PR"

handwritten/logging/owlbot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
)
4545
s.replace(
4646
"handwritten/logging/.trampolinerc",
47-
r"pass_down_envvars\+\=\(",
47+
r"pass_down_envvars\+\=\((?!\s*\"ENVIRONMENT\")",
4848
'pass_down_envvars+=(\n "ENVIRONMENT"\n "RUNTIME"'
4949
)
5050

0 commit comments

Comments
 (0)