From 4c829cb7ca3b18428c49f9e77ac681003797a04a Mon Sep 17 00:00:00 2001 From: bpatyi Date: Sun, 10 Mar 2019 10:27:03 +0100 Subject: [PATCH] add: gitlab source to Makefile and Dockerfile --- Dockerfile | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8e95bac42..18438ffa1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ COPY . ./ ENV GO111MODULE=on ENV DATABASES="postgres mysql redshift cassandra spanner cockroachdb clickhouse mongodb" -ENV SOURCES="file go_bindata github aws_s3 google_cloud_storage" +ENV SOURCES="file go_bindata github aws_s3 google_cloud_storage gitlab" RUN go build -a -o build/migrate.linux-386 -ldflags="-X main.Version=${VERSION}" -tags "$DATABASES $SOURCES" ./cmd/migrate diff --git a/Makefile b/Makefile index 0cb226e8e..b1afc221b 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -SOURCE ?= file go_bindata github aws_s3 google_cloud_storage godoc_vfs +SOURCE ?= file go_bindata github aws_s3 google_cloud_storage godoc_vfs gitlab DATABASE ?= postgres mysql redshift cassandra spanner cockroachdb clickhouse mongodb VERSION ?= $(shell git describe --tags 2>/dev/null | cut -c 2-) TEST_FLAGS ?=