Skip to content

Commit f4bfd9f

Browse files
committed
CI: use latest govc in CI
1 parent 301d314 commit f4bfd9f

File tree

1 file changed

+3
-6
lines changed
  • ci/tasks/build-docker-args

1 file changed

+3
-6
lines changed

ci/tasks/build-docker-args/run.sh

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ set -eu -o pipefail
33

44
# install needed dependencies so that this task can be run on a stock ubuntu image
55
apt-get update -y
6-
apt-get install -y curl jq
6+
apt-get install -y ca-certificates curl jq
77

88
bosh_cli_url="$(curl -H "Authorization: token ${GITHUB_ACCESS_TOKEN}" -s https://api.github.com/repos/cloudfoundry/bosh-cli/releases/latest \
99
| jq -r '.assets[] | select(.name | contains ("linux-amd64")) | .browser_download_url')"
@@ -15,11 +15,8 @@ ruby_install_url="$(curl -H "Authorization: token ${GITHUB_ACCESS_TOKEN}" -s htt
1515
| jq -r '.assets[] | select(.name | endswith ("tar.gz")) | .browser_download_url')"
1616
golangci_lint_install_url="$(curl -H "Authorization: token ${GITHUB_ACCESS_TOKEN}" -s https://api.github.com/repos/golangci/golangci-lint/releases/latest \
1717
| jq -r '.assets[] | select(.name | match("golangci-lint-[0-9]+.[0-9]+.[0-9]+-linux-amd64.tar.gz")) | .browser_download_url')"
18-
19-
# TODO: figure out why v0.50.0 fails with 'govc: A specified parameter was not correct: spec.identity.userData.fullName'
20-
govc_install_url="https://github.com/vmware/govmomi/releases/download/v0.29.0/govc_Linux_x86_64.tar.gz"
21-
#govc_install_url="$(curl -H "Authorization: token ${GITHUB_ACCESS_TOKEN}" -s https://api.github.com/repos/vmware/govmomi/releases/latest \
22-
# | jq -r '.assets[] | select(.name | match("govc_Linux_x86_64.tar.gz")) | .browser_download_url')"
18+
govc_install_url="$(curl -H "Authorization: token ${GITHUB_ACCESS_TOKEN}" -s https://api.github.com/repos/vmware/govmomi/releases/latest \
19+
| jq -r '.assets[] | select(.name | match("govc_Linux_x86_64.tar.gz")) | .browser_download_url')"
2320

2421
gem_home="/usr/local/bundle"
2522
ruby_version="$(cat bosh-windows-stemcell-builder-ci/.ruby-version)"

0 commit comments

Comments
 (0)