mirror of
https://github.com/niusmallnan/steve.git
synced 2025-04-27 11:01:35 +00:00
Adds a validate phase to the CI which runs a linter. Also fixes linter issues discovered during the initial run
17 lines
442 B
Makefile
17 lines
442 B
Makefile
build:
|
|
docker build -t steve .
|
|
|
|
build-bin:
|
|
bash scripts/build-bin.sh
|
|
|
|
run: build
|
|
docker run $(DOCKER_ARGS) --rm -p 8989:9080 -it -v ${HOME}/.kube:/root/.kube steve --https-listen-port 0
|
|
|
|
run-host: build
|
|
docker run $(DOCKER_ARGS) --net=host --uts=host --rm -it -v ${HOME}/.kube:/root/.kube steve --kubeconfig /root/.kube/config --http-listen-port 8989 --https-listen-port 0
|
|
|
|
test:
|
|
bash scripts/test.sh
|
|
|
|
validate:
|
|
bash scripts/validate.sh
|