-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Release] Regenerate api clients on release (#3910)
* [Release] Regenerate api clients on release * Fix hack/release.sh * Add a script to check required tools * update * Update * Update clean up
- Loading branch information
Showing
5 changed files
with
65 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
#!/bin/bash | ||
# | ||
# Copyright 2020 Google LLC | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
set -e | ||
|
||
echo "The following tools are needed when releasing KFP:" | ||
echo "jq>=1.6" | ||
which jq || (echo "jq not found in PATH" && exit 1) | ||
echo "yq>=3.3" | ||
which yq || (echo "yq not found in PATH" && exit 1) | ||
yq -V | grep 3. || (echo "yq version 3.x should be used" && exit 1) | ||
echo "java>=8" | ||
which java || (echo "java not found in PATH" && exit 1) | ||
echo "bazel==0.24.0" | ||
which bazel || (echo "bazel not found in PATH" && exit 1) | ||
bazel version | grep 0.24.0 || (echo "bazel not 0.24.0 version" && exit 1) | ||
echo "python>3" | ||
which python || (echo "python not found in PATH" && exit 1) | ||
python -c "import setuptools" || (echo "setuptools should be installed in python" && exit 1) | ||
|
||
echo "All tools installed" | ||
echo "Please add another needed tools if above list is not complete" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters