Skip to content

Commit 5786e94

Browse files
partheacopybara-github
authored andcommitted
Copybara import of the project:
-- 7e73802 by Anthonios Partheniou <partheniou@google.com>: chore: configure release please to use manifest COPYBARA_INTEGRATE_REVIEW=googleapis#2063 from googleapis:configure-release-please 1b4c56b PiperOrigin-RevId: 523687803
1 parent 2c45123 commit 5786e94

4 files changed

Lines changed: 53 additions & 0 deletions

File tree

.github/release-please.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
releaseType: python
22
handleGHRelease: true
3+
manifest: true
34
# NOTE: this section is generated by synthtool.languages.python
45
# See https://github.com/googleapis/synthtool/blob/master/synthtool/languages/python.py
56
branches:

.release-please-manifest.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
".": "1.23.0"
3+
}

owlbot.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@
7878
"google/cloud/aiplatform/__init__.py",
7979
f"google/cloud/aiplatform/{library.name}/schema/**/services/",
8080
"testing/constraints-3.7.txt",
81+
"**/gapic_version.py", # exclude gapic_version.py to avoid reverting the version to 0.1.0
8182
],
8283
)
8384
has_generator_updates = True
@@ -117,6 +118,7 @@
117118
".github/PULL_REQUEST_TEMPLATE.md",
118119
".github/workflows", # exclude gh actions as credentials are needed for tests
119120
"README.rst",
121+
".github/release-please.yml", # use release please manifest
120122
],
121123
) # the microgenerator has a good coveragerc file
122124

release-please-config.json

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
{
2+
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
3+
"packages": {
4+
".": {
5+
"release-type": "python",
6+
"extra-files": [
7+
"google/cloud/aiplatform/version.py",
8+
"google/cloud/aiplatform/gapic_version.py",
9+
"google/cloud/aiplatform_v1/gapic_version.py",
10+
"google/cloud/aiplatform/v1/schema/trainingjob/definition_v1/gapic_version.py",
11+
"google/cloud/aiplatform/v1/schema/trainingjob/definition/gapic_version.py",
12+
"google/cloud/aiplatform/v1/schema/predict/instance/gapic_version.py",
13+
"google/cloud/aiplatform/v1/schema/predict/instance_v1/gapic_version.py",
14+
"google/cloud/aiplatform/v1/schema/predict/prediction/gapic_version.py",
15+
"google/cloud/aiplatform/v1/schema/predict/prediction_v1/gapic_version.py",
16+
"google/cloud/aiplatform/v1/schema/predict/params/gapic_version.py",
17+
"google/cloud/aiplatform/v1/schema/predict/params_v1/gapic_version.py",
18+
"google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/gapic_version.py",
19+
"google/cloud/aiplatform/v1beta1/schema/trainingjob/definition_v1beta1/gapic_version.py",
20+
"google/cloud/aiplatform/v1beta1/schema/predict/instance/gapic_version.py",
21+
"google/cloud/aiplatform/v1beta1/schema/predict/prediction_v1beta1/gapic_version.py",
22+
"google/cloud/aiplatform/v1beta1/schema/predict/prediction/gapic_version.py",
23+
"google/cloud/aiplatform/v1beta1/schema/predict/params/gapic_version.py",
24+
"google/cloud/aiplatform/v1beta1/schema/predict/params_v1beta1/gapic_version.py",
25+
"google/cloud/aiplatform/v1beta1/schema/predict/instance_v1beta1/gapic_version.py",
26+
"google/cloud/aiplatform_v1beta1/gapic_version.py",
27+
{
28+
"type": "json",
29+
"path": "samples/generated_samples/snippet_metadata_google.cloud.aiplatform.v1beta1.json",
30+
"jsonpath": "$.clientLibrary.version"
31+
},
32+
{
33+
"type": "json",
34+
"path": "samples/generated_samples/snippet_metadata_google.cloud.aiplatform.v1.json",
35+
"jsonpath": "$.clientLibrary.version"
36+
}
37+
]
38+
}
39+
},
40+
"release-type": "python",
41+
"plugins": [
42+
{
43+
"type": "sentence-case"
44+
}
45+
],
46+
"initial-version": "0.1.0"
47+
}

0 commit comments

Comments
 (0)