@echo " cleanup-hst - removes all docker containers and namespaces from last test run"
@echo " cleanup-perf - removes all kubernetes pods and namespaces from last test run"
@echo " list-tests - list all tests"
+ @echo " install-deps - install software dependencies"
+ @echo " install-kind-deps - install software dependencies for cluster"
@echo
@echo "'make build' and 'make test' arguments:"
@echo " UBUNTU_VERSION - ubuntu version for docker image"
install-deps:
@rm -f .deps.ok
@if [ -d "/usr/local/go" ]; then \
- echo "Go is already installed. You may have to update it manually if version < 1.22"; \
+ echo "Go is already installed. You may have to update it manually if version < 1.23.10"; \
go version; \
else \
- echo "Installing Go 1.22"; \
- wget https://go.dev/dl/go1.22.12.linux-amd64.tar.gz -O /tmp/go1.22.12.linux-amd64.tar.gz && sudo tar -C /usr/local -xzf /tmp/go1.22.12.linux-amd64.tar.gz; \
+ echo "Installing Go 1.23"; \
+ wget https://go.dev/dl/go1.23.10.linux-$(ARCH).tar.gz -O /tmp/go1.23.10.linux-$(ARCH).tar.gz && sudo tar -C /usr/local -xzf /tmp/go1.23.10.linux-$(ARCH).tar.gz; \
sudo ln -s /usr/local/go/bin/go /usr/bin/go ; \
fi
@sudo -E apt-get update
**Prerequisites**:
* Install hs-test dependencies with ``make install-deps``
-* `Install Go <https://go.dev/doc/install>`_, it has to be in path of both the running user (follow instructions on Go installation page) and root (run ``sudo visudo`` and edit ``secure_path`` line, run ``sudo go version`` to verify)
* Root privileges are required to run tests as it uses Linux ``ip`` command for configuring topology
* Tests use *hs-test*'s own docker image, they are rebuilt automatically when needed, you can run ``make build[-debug]`` to do so or use ``FORCE_BUILD=true`` make parameter