Skip to content

Commit ce7dca1

Browse files
chore: fix release build (#700)
1 parent 35262fd commit ce7dca1

File tree

6 files changed

+533
-5
lines changed

6 files changed

+533
-5
lines changed

.github/renovate.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
],
77
"commitMessagePrefix": "deps: ",
88
"ignorePresets": [":semanticPrefixFixDepsChoreOthers"],
9+
"ignorePaths": [".kokoro/requirements.txt"],
910
"prConcurrentLimit": 0,
1011
"rebaseStalePrs": true,
1112
"dependencyDashboard": true,

.kokoro/release.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,8 @@
1515

1616
set -eo pipefail
1717

18-
# Ensure that we have the latest versions of Twine, Wheel, and Setuptools.
19-
python3 -m pip install --upgrade twine wheel setuptools
20-
2118
# Start the releasetool reporter
22-
python3 -m pip install gcp-releasetool
19+
python3 -m pip install --require-hashes -r github/cloud-sql-python-connector/.kokoro/requirements.txt
2320
python3 -m releasetool publish-reporter-script > /tmp/publisher-script; source /tmp/publisher-script
2421

2522
# Disable buffering, so that the logs stream through.

.kokoro/release/common.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ action {
2424
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline"
2525

2626
# Use the trampoline script to run in docker.
27-
build_file: "cloud-sql-python-connector/.kokoro/trampoline_v2.sh"
27+
build_file: "cloud-sql-python-connector/.kokoro/trampoline.sh"
2828

2929
# Configure the docker image for kokoro-trampoline.
3030
env_vars: {

.kokoro/requirements.in

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
gcp-docuploader
2+
gcp-releasetool>=1.10.5 # required for compatibility with cryptography>=39.x
3+
importlib-metadata
4+
typing-extensions
5+
twine
6+
wheel
7+
setuptools
8+
nox>=2022.11.21 # required to remove dependency on py
9+
charset-normalizer<3
10+
click<8.1.0

0 commit comments

Comments
 (0)