Skip to content

Commit

Permalink
Merge pull request #40 from devopsfaith/0.6.1-dev
Browse files Browse the repository at this point in the history
Bump version 0.6.1
  • Loading branch information
kpacha authored Oct 4, 2018
2 parents ae6d027 + f305a24 commit d5e4a32
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 9 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
language: go

go:
- "1.11.x"
- "1.10.x"

before_install:
Expand Down
7 changes: 4 additions & 3 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
revision = "7e79c257cab156a511315b5e3459b4f88ecfe622"

[[override]]
version = "0.6.0"
version = "0.6.1"
name = "github.com/devopsfaith/krakend"

[[constraint]]
Expand Down
10 changes: 6 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
BIN_NAME :=krakend
DEP_VERSION=0.5.0
OS := $(shell uname | tr '[:upper:]' '[:lower:]')
VERSION := 0.6.0
VERSION := 0.6.1
PKGNAME := krakend
LICENSE := Apache 2.0
VENDOR=
Expand All @@ -19,6 +19,8 @@ DESC := High performance API gateway. Aggregate, filter, manipulate and add midd
MAINTAINER := Daniel Ortiz <dortiz@devops.faith>
DOCKER_WDIR := /tmp/fpm
DOCKER_FPM := devopsfaith/fpm
DOCKER_DEP := instrumentisto/dep:0.5.0-alpine
GOLANG_VERSION := 1.11.1
GOBASEDIR=src/github.com/devopsfaith/krakend-ce

FPM_OPTS=-s dir -v $(VERSION) -n $(PKGNAME) \
Expand Down Expand Up @@ -67,12 +69,12 @@ build:
@echo "You can now use ./${BIN_NAME}"

docker_build:
docker run --rm -it -e "GOPATH=/go" -v "${PWD}:/go/${GOBASEDIR}" -w /go/${GOBASEDIR} lushdigital/docker-golang-dep ensure -v
docker run --rm -it -e "GOPATH=/go" -v "${PWD}:/go/${GOBASEDIR}" -w /go/${GOBASEDIR} golang:1.10.3 make build
docker run --rm -it -e "GOPATH=/go" -v "${PWD}:/go/${GOBASEDIR}" -w /go/${GOBASEDIR} ${DOCKER_DEP} ensure -v
docker run --rm -it -e "GOPATH=/go" -v "${PWD}:/go/${GOBASEDIR}" -w /go/${GOBASEDIR} golang:${GOLANG_VERSION} make build

docker_build_alpine:
docker build -t krakend_alpine_compiler builder/alpine
docker run --rm -it -e "GOPATH=/go" -v "${PWD}:/go/${GOBASEDIR}" -w /go/${GOBASEDIR} lushdigital/docker-golang-dep ensure -v
docker run --rm -it -e "GOPATH=/go" -v "${PWD}:/go/${GOBASEDIR}" -w /go/${GOBASEDIR} ${DOCKER_DEP} ensure -v
docker run --rm -it -e "BIN_NAME=krakend-alpine" -e "GOPATH=/go" -v "${PWD}:/go/${GOBASEDIR}" -w /go/${GOBASEDIR} krakend_alpine_compiler make -e build

krakend_docker:
Expand Down
2 changes: 1 addition & 1 deletion builder/alpine/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
FROM golang:1.10.3-alpine3.7
FROM golang:1.11.1-alpine3.7

RUN apk add --no-cache make curl git build-base

0 comments on commit d5e4a32

Please sign in to comment.