deps: use install from current HEAD for `hc-install` (#14786)

The `hc-install` tool we're using needed a patch for a specific bug, but that's
since been merged. We definitely want to switch to using a standard release from
that project once one is shipped with the CLI, but pinning to HEAD should keep
us for now.
This commit is contained in:
Tim Gross 2022-10-04 08:22:30 -04:00 committed by GitHub
parent ed3218c3dd
commit a3ff23608c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View File

@ -146,8 +146,7 @@ jobs:
run: | run: |
make bootstrap make bootstrap
make generate-all make generate-all
hc-install vault ${{env.VAULT_VERSION}} sudo hc-install install -version ${{env.VAULT_VERSION}} -path /usr/local/bin vault
hc-install consul ${{env.CONSUL_VERSION}} sudo hc-install install -version ${{env.CONSUL_VERSION}} -path /usr/local/bin consul
sudo sed -i 's!Defaults!#Defaults!g' /etc/sudoers sudo sed -i 's!Defaults!#Defaults!g' /etc/sudoers
sudo -E env "PATH=$PATH" make test-nomad sudo -E env "PATH=$PATH" make test-nomad

View File

@ -137,7 +137,7 @@ deps: ## Install build and development dependencies
go install github.com/bufbuild/buf/cmd/buf@v0.36.0 go install github.com/bufbuild/buf/cmd/buf@v0.36.0
go install github.com/hashicorp/go-changelog/cmd/changelog-build@latest go install github.com/hashicorp/go-changelog/cmd/changelog-build@latest
go install golang.org/x/tools/cmd/stringer@v0.1.12 go install golang.org/x/tools/cmd/stringer@v0.1.12
go install gophers.dev/cmds/hc-install/cmd/hc-install@v1.0.2 go install github.com/hashicorp/hc-install/cmd/hc-install@4487b02cbcbb92204e3416cef9852b6ad44487b2
.PHONY: lint-deps .PHONY: lint-deps
lint-deps: ## Install linter dependencies lint-deps: ## Install linter dependencies