Skip to content
This repository was archived by the owner on Mar 20, 2026. It is now read-only.

Commit 487402f

Browse files
build: use trampoline_v2 for python samples and allow custom dockerfile (#715)
Source-Link: googleapis/synthtool@a7ed11e Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:6e7328583be8edd3ba8f35311c76a1ecbc823010279ccb6ab46b7a76e25eafcc Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent ad17b8d commit 487402f

2 files changed

Lines changed: 15 additions & 10 deletions

File tree

.github/.OwlBot.lock.yaml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
# Copyright 2021 Google LLC
2-
#
3-
# Use of this source code is governed by a BSD-style
4-
# license that can be found in the LICENSE file or at
5-
# https://developers.google.com/open-source/licenses/bsd
6-
71
docker:
82
image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest
9-
digest: sha256:87eee22d276554e4e52863ec9b1cb6a7245815dfae20439712bf644348215a5a
3+
digest: sha256:6e7328583be8edd3ba8f35311c76a1ecbc823010279ccb6ab46b7a76e25eafcc

.trampolinerc

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,26 @@
1616

1717
# Add required env vars here.
1818
required_envvars+=(
19-
"STAGING_BUCKET"
20-
"V2_STAGING_BUCKET"
2119
)
2220

2321
# Add env vars which are passed down into the container here.
2422
pass_down_envvars+=(
23+
"NOX_SESSION"
24+
###############
25+
# Docs builds
26+
###############
2527
"STAGING_BUCKET"
2628
"V2_STAGING_BUCKET"
27-
"NOX_SESSION"
29+
##################
30+
# Samples builds
31+
##################
32+
"INSTALL_LIBRARY_FROM_SOURCE"
33+
"RUN_TESTS_SESSION"
34+
"BUILD_SPECIFIC_GCLOUD_PROJECT"
35+
# Target directories.
36+
"RUN_TESTS_DIRS"
37+
# The nox session to run.
38+
"RUN_TESTS_SESSION"
2839
)
2940

3041
# Prevent unintentional override on the default image.

0 commit comments

Comments
 (0)