Skip to content

Commit

Permalink
Merge branch 'master' of github.com:rudderlabs/rudder-server into emp…
Browse files Browse the repository at this point in the history
…ty_load_files
  • Loading branch information
achettyiitr committed Sep 23, 2021
2 parents 215e4f8 + 094092d commit 79bfefe
Show file tree
Hide file tree
Showing 29 changed files with 1,121 additions and 24 deletions.
5 changes: 2 additions & 3 deletions Makefile
Expand Up @@ -23,7 +23,7 @@ build-sql-migrations: ./services/sql-migrator/migrations_vfsdata.go ## Prepare s
prepare-build: build-sql-migrations enterprise-prepare-build

./services/sql-migrator/migrations_vfsdata.go: $(shell find sql/migrations)
$(GO) run -tags=dev generate-sql-migrations.go
$(GO) run -mod=vendor -tags=dev cmd/generate-migrations/generate-sql-migrations.go

build: prepare-build ## Build rudder-server binary
$(eval BUILD_OPTIONS = )
Expand Down Expand Up @@ -66,5 +66,4 @@ enterprise-prepare-build: ## Create ./imports/enterprise.go, to link enterprise
install-tools:
# Try install for go 1.16+, fallback to get
go install github.com/golang/mock/mockgen@v1.6.0 || \
GO111MODULE=on go get github.com/golang/mock/mockgen@v1.6.0

GO111MODULE=on go get github.com/golang/mock/mockgen@v1.6.0
2 changes: 1 addition & 1 deletion build/buildspec.docker.dev.yml
Expand Up @@ -9,7 +9,7 @@ env:
phases:
install:
runtime-versions:
golang: 1.16.8
golang: 1.16
pre_build:
commands:
- env
Expand Down
4 changes: 2 additions & 2 deletions build/buildspec.docker.master.yml
Expand Up @@ -9,7 +9,7 @@ env:
phases:
install:
runtime-versions:
golang: 1.16.8
golang: 1.16
pre_build:
commands:
- docker login --username rudderlabs --password $dockerhub_passwd
Expand Down Expand Up @@ -43,7 +43,7 @@ phases:
reports:
GinkgoUnitTestReports:
files:
- '**/junit_*.xml'
- "**/junit_*.xml"
artifacts:
files:
- "**/*"
2 changes: 1 addition & 1 deletion build/buildspec.docker.saas.yml
Expand Up @@ -8,7 +8,7 @@ env:
phases:
install:
runtime-versions:
golang: 1.16.8
golang: 1.16
pre_build:
commands:
- docker login --username rudderlabs --password $dockerhub_passwd
Expand Down
4 changes: 2 additions & 2 deletions build/buildspec.docker.yml
Expand Up @@ -8,7 +8,7 @@ env:
phases:
install:
runtime-versions:
golang: 1.16.8
golang: 1.16
pre_build:
commands:
- docker login --username rudderlabs --password $dockerhub_passwd
Expand All @@ -29,7 +29,7 @@ phases:
# Build Enterprise version
- make enterprise-init
- GOOS=linux GOARCH=amd64 CGO_ENABLED=0 LDFLAGS="-s -w -X main.version=$VERSION -X main.commit=$CODEBUILD_RESOLVED_SOURCE_VERSION -X main.buildDate=$DATE -X main.builtBy=codebuild-$CODEBUILD_BUILD_ID " make build
- docker build -t rudderstack/rudder-server-enterprise:$VERSION -f build/Dockerfile-aws .
- docker build -t rudderstack/rudder-server-enterprise:$VERSION -f build/Dockerfile-aws .
post_build:
commands:
- docker push rudderlabs/rudder-server:$VERSION
Expand Down
2 changes: 1 addition & 1 deletion build/buildspec.e2e-tests.yml
Expand Up @@ -8,7 +8,7 @@ env:
phases:
install:
runtime-versions:
golang: 1.16.8
golang: 1.16
pre_build:
commands:
- mkdir -p ~/.ssh
Expand Down
8 changes: 4 additions & 4 deletions build/buildspec.pr.yml
Expand Up @@ -8,9 +8,9 @@ env:
phases:
install:
runtime-versions:
golang: 1.16.8
golang: 1.16
commands:
- apt-get install jq
- apt-get install jq
pre_build:
commands:
- env
Expand All @@ -21,7 +21,7 @@ phases:
- eval "$(ssh-agent -s)"
- ssh-add ~/.ssh/ssh_key
- (cd && go get github.com/onsi/ginkgo/ginkgo)
- (cd && go get github.com/golang/mock/mockgen)
- (cd && go get github.com/golang/mock/mockgen)
build:
commands:
- export GO111MODULE=on
Expand Down Expand Up @@ -60,4 +60,4 @@ reports:
- "**/junit_*.xml"
artifacts:
files:
- "**/*"
- "**/*"
6 changes: 3 additions & 3 deletions build/buildspec.release.yml
Expand Up @@ -8,7 +8,7 @@ env:
phases:
install:
runtime-versions:
golang: 1.16.8
golang: 1.16
pre_build:
commands:
- docker login --username rudderlabs --password $dockerhub_passwd
Expand All @@ -23,7 +23,7 @@ phases:
- DATE=$(date "+%F,%T")
- echo date.. $DATE
- TAG=$CODEBUILD_WEBHOOK_TRIGGER
- echo tag.. $TAG
- echo tag.. $TAG
- VERSION=$(echo $TAG | cut -d "/" -f 2)
- echo version.. $VERSION
# Build Open source version
Expand All @@ -39,4 +39,4 @@ phases:
- docker push rudderstack/rudder-server-enterprise:$VERSION
artifacts:
files:
- "**/*"
- "**/*"
4 changes: 2 additions & 2 deletions build/buildspec.saas.yml
Expand Up @@ -8,7 +8,7 @@ env:
phases:
install:
runtime-versions:
golang: 1.16.8
golang: 1.16
pre_build:
commands:
- docker login --username rudderlabs --password $dockerhub_passwd
Expand Down Expand Up @@ -40,4 +40,4 @@ phases:
- docker push rudderstack/rudder-server-enterprise:$VERSION
artifacts:
files:
- "**/*"
- "**/*"
2 changes: 1 addition & 1 deletion build/buildspec.yml
Expand Up @@ -3,7 +3,7 @@ version: 0.2
phases:
install:
runtime-versions:
golang: 1.16.8
golang: 1.16
build:
commands:
- ls
Expand Down
@@ -1,5 +1,3 @@
// +build ignore

package main

import (
Expand Down
3 changes: 2 additions & 1 deletion go.mod
Expand Up @@ -63,6 +63,8 @@ require (
github.com/satori/go.uuid v1.2.0
github.com/segmentio/backo-go v0.0.0-20160424052352-204274ad699c // indirect
github.com/segmentio/ksuid v1.0.2
github.com/shurcooL/httpfs v0.0.0-20190707220628-8d4bc4ba7749 // indirect
github.com/shurcooL/vfsgen v0.0.0-20200824052919-0d455de96546
github.com/snowflakedb/gosnowflake v1.3.4
github.com/spaolacci/murmur3 v1.1.0
github.com/spf13/cast v1.3.1
Expand All @@ -81,7 +83,6 @@ require (
go.uber.org/zap v1.14.0
golang.org/x/net v0.0.0-20210805182204-aaa1db679c0d // indirect
golang.org/x/oauth2 v0.0.0-20201208152858-08078c50e5b5
golang.org/x/sync v0.0.0-20201207232520-09787c993a3a
golang.org/x/sys v0.0.0-20210809222454-d867a43fc93e // indirect
golang.org/x/time v0.0.0-20191024005414-555d28b269f0
google.golang.org/api v0.39.0
Expand Down
4 changes: 4 additions & 0 deletions go.sum
Expand Up @@ -545,7 +545,11 @@ github.com/segmentio/backo-go v0.0.0-20160424052352-204274ad699c/go.mod h1:kJ9mm
github.com/segmentio/ksuid v1.0.2 h1:9yBfKyw4ECGTdALaF09Snw3sLJmYIX6AbPJrAy6MrDc=
github.com/segmentio/ksuid v1.0.2/go.mod h1:BXuJDr2byAiHuQaQtSKoXh1J0YmUDurywOXgB2w+OSU=
github.com/shopspring/decimal v0.0.0-20180709203117-cd690d0c9e24/go.mod h1:M+9NzErvs504Cn4c5DxATwIqPbtswREoFCre64PpcG4=
github.com/shurcooL/httpfs v0.0.0-20190707220628-8d4bc4ba7749 h1:bUGsEnyNbVPw06Bs80sCeARAlK8lhwqGyi6UT8ymuGk=
github.com/shurcooL/httpfs v0.0.0-20190707220628-8d4bc4ba7749/go.mod h1:ZY1cvUeJuFPAdZ/B6v7RHavJWZn2YPVFQ1OSXhCGOkg=
github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc=
github.com/shurcooL/vfsgen v0.0.0-20200824052919-0d455de96546 h1:pXY9qYc/MP5zdvqWEUH6SjNiu7VhSjuVFTFiTcphaLU=
github.com/shurcooL/vfsgen v0.0.0-20200824052919-0d455de96546/go.mod h1:TrYk7fJVaAttu97ZZKrO9UbRa8izdowaMIZcxYMbVaw=
github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo=
github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q=
github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE=
Expand Down
Binary file modified rudder-cli/rudder-cli.darwin.x86_64
Binary file not shown.
Binary file modified rudder-cli/rudder-cli.linux.x86_64
Binary file not shown.
21 changes: 21 additions & 0 deletions vendor/github.com/shurcooL/httpfs/LICENSE

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

21 changes: 21 additions & 0 deletions vendor/github.com/shurcooL/httpfs/vfsutil/file.go

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

39 changes: 39 additions & 0 deletions vendor/github.com/shurcooL/httpfs/vfsutil/vfsutil.go

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

0 comments on commit 79bfefe

Please sign in to comment.