|
117 | 117 | ".kokoro/release.sh", |
118 | 118 | ".kokoro/release/common.cfg", |
119 | 119 | ".kokoro/requirements*", |
| 120 | + ".kokoro/samples/python3.7/**", |
| 121 | + ".kokoro/samples/python3.8/**", |
120 | 122 | # exclude sample configs so periodic samples are tested against main |
121 | 123 | # instead of pypi |
122 | 124 | ".kokoro/samples/python3.9/common.cfg", |
|
127 | 129 | ".kokoro/samples/python3.10/periodic.cfg", |
128 | 130 | ".kokoro/samples/python3.11/periodic.cfg", |
129 | 131 | ".kokoro/samples/python3.12/periodic.cfg", |
| 132 | + ".github/auto-label.yaml", |
| 133 | + ".github/blunderbuss.yml", |
130 | 134 | ".github/CODEOWNERS", |
131 | 135 | ".github/PULL_REQUEST_TEMPLATE.md", |
132 | 136 | ".github/workflows", # exclude gh actions as credentials are needed for tests |
|
161 | 165 | "python3", |
162 | 166 | ) |
163 | 167 |
|
164 | | - # Update publish-docs to include gemini docs workflow. |
165 | | - s.replace( |
166 | | - ".kokoro/publish-docs.sh", |
167 | | - "# build docs", |
168 | | - """\ |
169 | | -# build Gemini docs |
170 | | -nox -s gemini_docs |
171 | | -# create metadata |
172 | | -python3 -m docuploader create-metadata \\ |
173 | | - --name="vertexai" \\ |
174 | | - --version=$(python3 setup.py --version) \\ |
175 | | - --language=$(jq --raw-output '.language // empty' .repo-metadata.json) \\ |
176 | | - --distribution-name="google-cloud-vertexai" \\ |
177 | | - --product-page=$(jq --raw-output '.product_documentation // empty' .repo-metadata.json) \\ |
178 | | - --github-repository=$(jq --raw-output '.repo // empty' .repo-metadata.json) \\ |
179 | | - --issue-tracker=$(jq --raw-output '.issue_tracker // empty' .repo-metadata.json) |
180 | | -cat docs.metadata |
181 | | -# upload docs |
182 | | -python3 -m docuploader upload gemini_docs/_build/html --metadata-file docs.metadata --staging-bucket "${STAGING_BUCKET}" |
183 | | -# Gemini docfx yaml files |
184 | | -nox -s gemini_docfx |
185 | | -# create metadata. |
186 | | -python3 -m docuploader create-metadata \\ |
187 | | - --name="vertexai" \\ |
188 | | - --version=$(python3 setup.py --version) \\ |
189 | | - --language=$(jq --raw-output '.language // empty' .repo-metadata.json) \\ |
190 | | - --distribution-name="google-cloud-vertexai" \\ |
191 | | - --product-page=$(jq --raw-output '.product_documentation // empty' .repo-metadata.json) \\ |
192 | | - --github-repository=$(jq --raw-output '.repo // empty' .repo-metadata.json) \\ |
193 | | - --issue-tracker=$(jq --raw-output '.issue_tracker // empty' .repo-metadata.json) \\ |
194 | | - --stem="/vertex-ai/generative-ai/docs/reference/python" |
195 | | -cat docs.metadata |
196 | | -# upload docs |
197 | | -python3 -m docuploader upload gemini_docs/_build/html/docfx_yaml --metadata-file docs.metadata --destination-prefix docfx --staging-bucket "${V2_STAGING_BUCKET}" |
198 | | -# build docs""", |
199 | | - ) |
200 | | - |
201 | 168 | s.shell.run(["nox", "-s", "blacken"], hide_output=False) |