|
98 | 98 | "noxfile.py", |
99 | 99 | "CONTRIBUTING.rst", |
100 | 100 | "README.rst", |
101 | | - ".kokoro/continuous/continuous.cfg", |
102 | | - ".kokoro/presubmit/system-3.8.cfg", |
103 | | - ".kokoro/presubmit/prerelease-deps.cfg", |
104 | | - ".kokoro/continuous/prerelease-deps.cfg", |
105 | | - ".github/blunderbuss.yml", # blunderbuss assignment to python squad |
106 | | - ".github/workflows", # exclude gh actions as credentials are needed for tests |
107 | | - ".github/release-please.yml", # special support for a python2 branch in this repo |
| 101 | + ".kokoro/**", |
| 102 | + ".github/**", |
108 | 103 | ], |
109 | 104 | ) |
110 | 105 |
|
111 | | -s.replace( |
112 | | - ".kokoro/build.sh", |
113 | | - "export PYTHONUNBUFFERED=1", |
114 | | - """export PYTHONUNBUFFERED=1 |
115 | | -
|
116 | | -# Export variable to override api endpoint |
117 | | -export API_ENDPOINT_OVERRIDE |
118 | | -
|
119 | | -# Export variable to override api endpoint version |
120 | | -export API_VERSION_OVERRIDE |
121 | | -
|
122 | | -# Export dual region locations |
123 | | -export DUAL_REGION_LOC_1 |
124 | | -export DUAL_REGION_LOC_2 |
125 | | -
|
126 | | -# Setup universe domain testing needed environment variables. |
127 | | -export TEST_UNIVERSE_DOMAIN_CREDENTIAL=$(realpath ${KOKORO_GFILE_DIR}/secret_manager/client-library-test-universe-domain-credential) |
128 | | -export TEST_UNIVERSE_DOMAIN=$(gcloud secrets versions access latest --project cloud-devrel-kokoro-resources --secret=client-library-test-universe-domain) |
129 | | -export TEST_UNIVERSE_PROJECT_ID=$(gcloud secrets versions access latest --project cloud-devrel-kokoro-resources --secret=client-library-test-universe-project-id) |
130 | | -export TEST_UNIVERSE_LOCATION=$(gcloud secrets versions access latest --project cloud-devrel-kokoro-resources --secret=client-library-test-universe-storage-location) |
131 | | -
|
132 | | -""") |
133 | | - |
134 | 106 | python.py_samples(skip_readmes=True) |
135 | 107 |
|
136 | | -# Use a python runtime which is available in the owlbot post processor here |
137 | | -# https://github.com/googleapis/synthtool/blob/master/docker/owlbot/python/Dockerfile |
138 | | -s.shell.run(["nox", "-s", "blacken-3.10"], hide_output=False) |
| 108 | +s.shell.run(["nox", "-s", "blacken"], hide_output=False) |
0 commit comments