-
Notifications
You must be signed in to change notification settings - Fork 296
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🌱 Bump the all-go-mod-patch-and-minor group across 2 directories with…
… 5 updates (#3320) * 🌱 Bump the all-go-mod-patch-and-minor group across 2 directories with 5 updates Bumps the all-go-mod-patch-and-minor group with 3 updates in the / directory: [github.com/vmware/govmomi](https://github.com/vmware/govmomi), [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) and [golang.org/x/tools](https://github.com/golang/tools). Bumps the all-go-mod-patch-and-minor group with 3 updates in the /test directory: [github.com/vmware/govmomi](https://github.com/vmware/govmomi), [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) and [golang.org/x/tools](https://github.com/golang/tools). Updates `github.com/vmware/govmomi` from 0.46.3 to 0.47.1 - [Release notes](https://github.com/vmware/govmomi/releases) - [Changelog](https://github.com/vmware/govmomi/blob/main/CHANGELOG.md) - [Commits](https://github.com/vmware/govmomi/commits) Updates `github.com/onsi/ginkgo/v2` from 2.22.1 to 2.22.2 - [Release notes](https://github.com/onsi/ginkgo/releases) - [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md) - [Commits](onsi/ginkgo@v2.22.1...v2.22.2) Updates `github.com/onsi/gomega` from 1.36.1 to 1.36.2 - [Release notes](https://github.com/onsi/gomega/releases) - [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md) - [Commits](onsi/gomega@v1.36.1...v1.36.2) Updates `golang.org/x/tools` from 0.28.0 to 0.29.0 - [Release notes](https://github.com/golang/tools/releases) - [Commits](golang/tools@v0.28.0...v0.29.0) Updates `github.com/vmware/govmomi` from 0.46.3 to 0.47.1 - [Release notes](https://github.com/vmware/govmomi/releases) - [Changelog](https://github.com/vmware/govmomi/blob/main/CHANGELOG.md) - [Commits](https://github.com/vmware/govmomi/commits) Updates `github.com/onsi/ginkgo/v2` from 2.22.1 to 2.22.2 - [Release notes](https://github.com/onsi/ginkgo/releases) - [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md) - [Commits](onsi/ginkgo@v2.22.1...v2.22.2) Updates `github.com/onsi/gomega` from 1.36.1 to 1.36.2 - [Release notes](https://github.com/onsi/gomega/releases) - [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md) - [Commits](onsi/gomega@v1.36.1...v1.36.2) Updates `golang.org/x/tools` from 0.28.0 to 0.29.0 - [Release notes](https://github.com/golang/tools/releases) - [Commits](golang/tools@v0.28.0...v0.29.0) Updates `golang.org/x/crypto` from 0.31.0 to 0.32.0 - [Commits](golang/crypto@v0.31.0...v0.32.0) --- updated-dependencies: - dependency-name: github.com/vmware/govmomi dependency-type: direct:production update-type: version-update:semver-minor dependency-group: all-go-mod-patch-and-minor - dependency-name: github.com/onsi/ginkgo/v2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all-go-mod-patch-and-minor - dependency-name: github.com/onsi/gomega dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all-go-mod-patch-and-minor - dependency-name: golang.org/x/tools dependency-type: direct:production update-type: version-update:semver-minor dependency-group: all-go-mod-patch-and-minor - dependency-name: github.com/vmware/govmomi dependency-type: direct:production update-type: version-update:semver-minor dependency-group: all-go-mod-patch-and-minor - dependency-name: github.com/onsi/ginkgo/v2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all-go-mod-patch-and-minor - dependency-name: github.com/onsi/gomega dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all-go-mod-patch-and-minor - dependency-name: golang.org/x/tools dependency-type: indirect update-type: version-update:semver-minor dependency-group: all-go-mod-patch-and-minor - dependency-name: golang.org/x/crypto dependency-type: direct:production update-type: version-update:semver-minor dependency-group: all-go-mod-patch-and-minor ... Signed-off-by: dependabot[bot] <[email protected]> * fixes * fix govc installation --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information
1 parent
4d0cfa1
commit 598ef6f
Showing
10 changed files
with
148 additions
and
82 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
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,66 @@ | ||
#!/usr/bin/env bash | ||
# Copyright 2021 The Kubernetes Authors. | ||
# | ||
# 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 -o errexit | ||
set -o nounset | ||
set -o pipefail | ||
|
||
if [ -z "${1}" ]; then | ||
echo "must provide binary name as first parameter" | ||
exit 1 | ||
fi | ||
|
||
if [ -z "${2}" ]; then | ||
echo "must provide version as second parameter" | ||
exit 1 | ||
fi | ||
|
||
if [ -z "${GOBIN}" ]; then | ||
echo "GOBIN is not set. Must set GOBIN to install the bin in a specified directory." | ||
exit 1 | ||
fi | ||
|
||
GOVC_ARCH="x86_64" | ||
if [ "$(go env GOARCH)" == "arm64" ]; then | ||
GOVC_ARCH="arm64" | ||
fi | ||
|
||
GOVC_OS="Linux" | ||
if [ "$(go env GOOS)" == "darwin" ]; then | ||
GOVC_OS="Darwin" | ||
fi | ||
|
||
rm -f "${GOBIN}/${1}"* || true | ||
|
||
ORIGINAL_WORKDIR="$(pwd)" | ||
TMP_DIR="${1}.tmp" | ||
|
||
# Create TMP_DIR to download and unpack the govc tarball. | ||
rm -r "${TMP_DIR}" || true | ||
mkdir -p "${TMP_DIR}" | ||
cd "${TMP_DIR}" | ||
|
||
# Download govc | ||
|
||
wget "https://github.com/vmware/govmomi/releases/download/${2}/govc_${GOVC_OS}_${GOVC_ARCH}.tar.gz" | ||
tar -xvzf "govc_${GOVC_OS}_${GOVC_ARCH}.tar.gz" govc | ||
mv govc "${GOBIN}/${1}-${2}" | ||
|
||
# Get back to the original directory and cleanup the temporary directory. | ||
cd "${ORIGINAL_WORKDIR}" | ||
rm -r "${TMP_DIR}" | ||
|
||
# Link the unversioned name to the versioned binary. | ||
ln -sf "${GOBIN}/${1}-${2}" "${GOBIN}/${1}" |
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
Oops, something went wrong.