Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Replace go-dev base image #264

Merged
merged 28 commits into from
Oct 22, 2024
Merged
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
e46100f
Add shellcheck to bootstrap
christinalau0 Oct 21, 2024
5dff2af
Fix tabs and spaces
christinalau0 Oct 21, 2024
6fb3b15
Fix tab
christinalau0 Oct 21, 2024
efbc19c
Change shellcheck version
christinalau0 Oct 21, 2024
8bec532
Add xz-utils
christinalau0 Oct 21, 2024
98b3eb3
Remove sudo
christinalau0 Oct 21, 2024
8b118ab
Add azure cli
christinalau0 Oct 21, 2024
7862ee0
Add kubectl
christinalau0 Oct 21, 2024
ade55c8
Add k
christinalau0 Oct 21, 2024
acb8e29
Fix space
christinalau0 Oct 21, 2024
6924c7d
Put kubectl in /usr/local/bin
christinalau0 Oct 21, 2024
314876b
Add packer
christinalau0 Oct 21, 2024
d1e918b
Add jq
christinalau0 Oct 21, 2024
4d75405
Add all to apt-get install
christinalau0 Oct 21, 2024
4c1840d
Add apt-get upgrade
christinalau0 Oct 21, 2024
57d10fd
Update shellcheck
christinalau0 Oct 21, 2024
f6bda41
Remove packer archive
christinalau0 Oct 21, 2024
4f45954
Only unzip packer if it doesn't exist
christinalau0 Oct 21, 2024
d67aebe
Remove packer, add azcopy
christinalau0 Oct 21, 2024
9025621
Add trusted host to pip
christinalau0 Oct 22, 2024
dca98b4
Install azure-cli with apt-get
christinalau0 Oct 22, 2024
0ce9521
Fix suites and architectures
christinalau0 Oct 22, 2024
eae7dc8
Try echo -e
christinalau0 Oct 22, 2024
9241c1a
Try another eco
christinalau0 Oct 22, 2024
d653a45
Fix sign
christinalau0 Oct 22, 2024
05fb802
Set azure-cli to not upgrade
christinalau0 Oct 22, 2024
2da2c7d
Remove use of go-dev
christinalau0 Oct 22, 2024
e8533b2
Add bootstrap step to cluster.sh
christinalau0 Oct 22, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add azure cli
  • Loading branch information
christinalau0 committed Oct 21, 2024
commit 8b118abfd9ae41b48e9ffe8d11dbdc5137632573
12 changes: 9 additions & 3 deletions hack/tools/Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
GO ?= go
LOCALBIN = $(shell pwd)/bin
SHELLCHECK_VERSION ?= v0.8.0
AZCLI_VERSION ?= 2.56.0
PYWINRM_VERSION ?= 0.4.3

all: install

.PHONY: install
install: $(LOCALBIN)/go-bindata $(LOCALBIN)/gox $(LOCALBIN)/ginkgo $(LOCALBIN)/golangci-lint $(LOCALBIN)/pub $(LOCALBIN)/mockgen xz-utils $(LOCALBIN)/shellcheck
install: $(LOCALBIN)/go-bindata $(LOCALBIN)/gox $(LOCALBIN)/ginkgo $(LOCALBIN)/golangci-lint $(LOCALBIN)/pub $(LOCALBIN)/mockgen apt-get-install $(LOCALBIN)/shellcheck azure-cli

$(LOCALBIN)/go-bindata:
GOBIN=$(LOCALBIN) $(GO) install github.com/go-bindata/go-bindata/go-bindata@v3.1.2
Expand All @@ -25,12 +27,16 @@ $(LOCALBIN)/pub:
$(LOCALBIN)/mockgen:
GOBIN=$(LOCALBIN) $(GO) install github.com/golang/mock/mockgen@v1.2.0

xz-utils:
apt-get update && apt-get install -y xz-utils
apt-get-install:
apt-get update && apt-get install -y xz-utils python3 python3-dev python3-pip python3-setuptools

$(LOCALBIN)/shellcheck:
curl -sSL https://github.com/koalaman/shellcheck/releases/download/$(SHELLCHECK_VERSION)/shellcheck-$(SHELLCHECK_VERSION).linux.x86_64.tar.xz | tar -vxJ -C $(LOCALBIN) --strip=1

azure-cli:
pip3 install --disable-pip-version-check --no-cache-dir --upgrade pip
pip3 install --disable-pip-version-check --no-cache-dir --upgrade azure-cli==$(AZCLI_VERSION) PyJWT shyaml pywinrm==$(PYWINRM_VERSION)

.PHONY: reload
reload: clean install

Expand Down