build: Remove Heroku config

This commit is contained in:
Martin Polden 2020-08-23 17:11:36 +02:00
parent 11ad75c2d2
commit 702c1f1e23
4 changed files with 0 additions and 17 deletions

View File

@ -21,7 +21,3 @@ script:
deploy:
- provider: script
script: make docker-push
- provider: heroku
app: ifconfig-co
api_key:
secure: IQG/ls5Zu0yua5Ynn5EL9JCPjo1/WcmS0z7BSaXWdgW+JIWFm7oF5z54bUZHl/q1tTuWzAJk59zSTYJijtQqh2Ssl3fLu3uFDwyJSrOuUu1akPlETam8NpdbH4lPkFp75JSDdDXV08c0APmeLL6gqRuTrUuufu69Wigjq4gLo+o=

View File

@ -60,12 +60,6 @@ docker-test:
docker-push: docker-test docker-multiarch-builder docker-login
$(DOCKER) buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t $(DOCKER_IMAGE) --push .
heroku-run: geoip-download
ifndef PORT
$(error PORT must be set)
endif
echoip -C 1000000 -f data/country.mmdb -c data/city.mmdb -a data/asn.mmdb -p -r -H CF-Connecting-IP -H X-Forwarded-For -l :$(PORT)
xinstall:
env GOOS=$(XGOOS) GOARCH=$(XGOARCH) go install ./...

2
go.mod
View File

@ -1,5 +1,3 @@
// +heroku install ./...
// +heroku goVersion go1.13
module github.com/mpolden/echoip
go 1.13

View File

@ -1,5 +0,0 @@
build:
languages:
- go
run:
web: make heroku-run