diff options
author | Mike Crute <mike@crute.us> | 2022-12-21 22:06:29 -0800 |
---|---|---|
committer | Mike Crute <mike@crute.us> | 2022-12-21 22:06:29 -0800 |
commit | ed1504c2826f6a5d406dd72e51f5a90b77ffea45 (patch) | |
tree | 159733ceaf63026d36c39117fff6159e6247bed7 /Makefile | |
parent | e5629fb163c7cf303438afc5be6075299cfc6071 (diff) | |
download | cloud-identity-broker-ed1504c2826f6a5d406dd72e51f5a90b77ffea45.tar.bz2 cloud-identity-broker-ed1504c2826f6a5d406dd72e51f5a90b77ffea45.tar.xz cloud-identity-broker-ed1504c2826f6a5d406dd72e51f5a90b77ffea45.zip |
Upgrade to latest golib
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -1,8 +1,10 @@ | |||
1 | IMAGE=docker.crute.me/aws-access | 1 | IMAGE=docker.crute.me/aws-access |
2 | BINARY=cloud-identity-broker | 2 | BINARY=cloud-identity-broker |
3 | 3 | ||
4 | $(BINARY): main.go $(shell find . -name '*.go') | 4 | $(BINARY): $(shell find . -name '*.go') go.mod |
5 | go build -ldflags "-X main.appVersion=$(shell git describe --long --tags --dirty --always)" -o $@ $< | 5 | CGO_ENABLED=0 go build \ |
6 | -ldflags "-X main.appVersion=$(shell git describe --long --tags --dirty --always)" \ | ||
7 | -o $@ | ||
6 | 8 | ||
7 | .PHONY: vet | 9 | .PHONY: vet |
8 | vet: main.go | 10 | vet: main.go |
@@ -34,7 +36,6 @@ run-web: clean $(BINARY) | |||
34 | test -n "$(VAULT_SECRET_ID)" # Caller must also export VAULT_SECRET_ID | 36 | test -n "$(VAULT_SECRET_ID)" # Caller must also export VAULT_SECRET_ID |
35 | VAULT_ADDR="$(VAULT_ADDR)" \ | 37 | VAULT_ADDR="$(VAULT_ADDR)" \ |
36 | ./$(BINARY) --debug \ | 38 | ./$(BINARY) --debug \ |
37 | --mongodb-uri="$(MONGODB_URL)" \ | 39 | --hostname=dev.aws-access.crute.me \ |
38 | --mongodb-vault-path="$(MONGODB_VAULT_PATH)" \ | 40 | --issuer-endpoint="https://dev.aws-access.crute.me" \ |
39 | --github-oauth-vault-path="$(GITHUB_VAULT_PATH)" \ | ||
40 | web | 41 | web |