diff --git a/synthtool/gcp/templates/python_library/.kokoro/samples/python3.6/periodic-head.cfg b/synthtool/gcp/templates/python_library/.kokoro/samples/python3.6/periodic-head.cfg index f9cfcd33e..8e181c510 100644 --- a/synthtool/gcp/templates/python_library/.kokoro/samples/python3.6/periodic-head.cfg +++ b/synthtool/gcp/templates/python_library/.kokoro/samples/python3.6/periodic-head.cfg @@ -7,5 +7,5 @@ env_vars: { env_vars: { key: "TRAMPOLINE_BUILD_FILE" - value: "github/python-pubsub/.kokoro/test-samples-against-head.sh" + value: "github/{{ metadata['repo']['repo'].split('/')[1] }}/.kokoro/test-samples-against-head.sh" } diff --git a/synthtool/gcp/templates/python_library/.kokoro/samples/python3.7/periodic-head.cfg b/synthtool/gcp/templates/python_library/.kokoro/samples/python3.7/periodic-head.cfg index f9cfcd33e..8e181c510 100644 --- a/synthtool/gcp/templates/python_library/.kokoro/samples/python3.7/periodic-head.cfg +++ b/synthtool/gcp/templates/python_library/.kokoro/samples/python3.7/periodic-head.cfg @@ -7,5 +7,5 @@ env_vars: { env_vars: { key: "TRAMPOLINE_BUILD_FILE" - value: "github/python-pubsub/.kokoro/test-samples-against-head.sh" + value: "github/{{ metadata['repo']['repo'].split('/')[1] }}/.kokoro/test-samples-against-head.sh" } diff --git a/synthtool/gcp/templates/python_library/.kokoro/samples/python3.8/periodic-head.cfg b/synthtool/gcp/templates/python_library/.kokoro/samples/python3.8/periodic-head.cfg index f9cfcd33e..8e181c510 100644 --- a/synthtool/gcp/templates/python_library/.kokoro/samples/python3.8/periodic-head.cfg +++ b/synthtool/gcp/templates/python_library/.kokoro/samples/python3.8/periodic-head.cfg @@ -7,5 +7,5 @@ env_vars: { env_vars: { key: "TRAMPOLINE_BUILD_FILE" - value: "github/python-pubsub/.kokoro/test-samples-against-head.sh" + value: "github/{{ metadata['repo']['repo'].split('/')[1] }}/.kokoro/test-samples-against-head.sh" } diff --git a/synthtool/gcp/templates/python_library/.kokoro/samples/python3.9/periodic-head.cfg b/synthtool/gcp/templates/python_library/.kokoro/samples/python3.9/periodic-head.cfg index f9cfcd33e..8e181c510 100644 --- a/synthtool/gcp/templates/python_library/.kokoro/samples/python3.9/periodic-head.cfg +++ b/synthtool/gcp/templates/python_library/.kokoro/samples/python3.9/periodic-head.cfg @@ -7,5 +7,5 @@ env_vars: { env_vars: { key: "TRAMPOLINE_BUILD_FILE" - value: "github/python-pubsub/.kokoro/test-samples-against-head.sh" + value: "github/{{ metadata['repo']['repo'].split('/')[1] }}/.kokoro/test-samples-against-head.sh" }