-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
41 lines (28 loc) · 869 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
.PHONY: lint test vendor clean
export GO111MODULE=on
default: lint test
install_build_tools:
go install github.com/traefik/yaegi/cmd/yaegi@latest
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
lint:
golangci-lint run
test:
go test -v -cover ./...
yaegi_test:
yaegi test -v .
vendor:
go mod vendor
clean:
rm -rf ./vendor
docker_build:
docker build . -t taliesins/traefik-plugin-oidc:latest
k8s:
helm repo add traefik https://helm.traefik.io/traefik
helm repo add cowboysysop https://cowboysysop.github.io/charts/
helm repo add bitnami https://charts.bitnami.com/bitnami
helm dependency update charts/traefik-plugin-oidc-example
helm upgrade --install example charts/traefik-plugin-oidc-example -n example --create-namespace
k8s_uninstall:
helm uninstall example -n example
k8s_remove:
helm uninstall example -n example