forked from kyma-project/kyma
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate logging, monitoring, kubeless tests to Prow (kyma-project#1922)
* Migrate logging, monitoring, kubeless tests to Prow
- Loading branch information
Showing
16 changed files
with
364 additions
and
0 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
|
||
# Gopkg.toml example | ||
# | ||
# Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md | ||
# for detailed Gopkg.toml documentation. | ||
# | ||
# required = ["github.com/user/thing/cmd/thing"] | ||
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"] | ||
# | ||
# [[constraint]] | ||
# name = "github.com/user/project" | ||
# version = "1.0.0" | ||
# | ||
# [[constraint]] | ||
# name = "github.com/user/project2" | ||
# branch = "dev" | ||
# source = "github.com/myfork/project2" | ||
# | ||
# [[override]] | ||
# name = "github.com/x/y" | ||
# version = "2.4.0" | ||
|
||
required = [ | ||
"github.com/golang/lint/golint" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
APP_NAME = kubeless-integration-tests | ||
IMG = $(DOCKER_PUSH_REPOSITORY)$(DOCKER_PUSH_DIRECTORY)/$(APP_NAME) | ||
TAG = $(DOCKER_TAG) | ||
|
||
|
||
resolve: | ||
dep ensure -vendor-only -v | ||
|
||
validate: | ||
go build -o golint-vendored ./vendor/github.com/golang/lint/golint | ||
./golint-vendored | ||
rm golint-vendored | ||
|
||
build: | ||
go generate ./... | ||
CGO_ENABLED=0 go build -o ./bin/app $(buildpath) | ||
|
||
build-image: | ||
docker build -t $(APP_NAME):latest . | ||
|
||
push-image: | ||
docker tag $(APP_NAME) $(IMG):$(TAG) | ||
docker push $(IMG):$(TAG) | ||
|
||
.PHONY: ci-pr | ||
ci-pr: resolve validate build build-image push-image | ||
|
||
.PHONY: ci-master | ||
ci-master: resolve validate build build-image push-image | ||
|
||
.PHONY: ci-release | ||
ci-release: resolve validate build build-image push-image | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
|
||
# Gopkg.toml example | ||
# | ||
# Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md | ||
# for detailed Gopkg.toml documentation. | ||
# | ||
# required = ["github.com/user/thing/cmd/thing"] | ||
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"] | ||
# | ||
# [[constraint]] | ||
# name = "github.com/user/project" | ||
# version = "1.0.0" | ||
# | ||
# [[constraint]] | ||
# name = "github.com/user/project2" | ||
# branch = "dev" | ||
# source = "github.com/myfork/project2" | ||
# | ||
# [[override]] | ||
# name = "github.com/x/y" | ||
# version = "2.4.0" | ||
|
||
required = [ | ||
"github.com/golang/lint/golint" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
APP_NAME = kubeless-tests | ||
IMG = $(DOCKER_PUSH_REPOSITORY)$(DOCKER_PUSH_DIRECTORY)/$(APP_NAME) | ||
TAG = $(DOCKER_TAG) | ||
|
||
|
||
resolve: | ||
dep ensure -vendor-only -v | ||
|
||
validate: | ||
go build -o golint-vendored ./vendor/github.com/golang/lint/golint | ||
./golint-vendored | ||
rm golint-vendored | ||
|
||
build: | ||
go generate ./... | ||
CGO_ENABLED=0 go build -o ./bin/app $(buildpath) | ||
|
||
build-image: | ||
docker build -t $(APP_NAME):latest . | ||
|
||
push-image: | ||
docker tag $(APP_NAME) $(IMG):$(TAG) | ||
docker push $(IMG):$(TAG) | ||
|
||
.PHONY: ci-pr | ||
ci-pr: resolve validate build build-image push-image | ||
|
||
.PHONY: ci-master | ||
ci-master: resolve validate build build-image push-image | ||
|
||
.PHONY: ci-release | ||
ci-release: resolve validate build build-image push-image | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
|
||
# Gopkg.toml example | ||
# | ||
# Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md | ||
# for detailed Gopkg.toml documentation. | ||
# | ||
# required = ["github.com/user/thing/cmd/thing"] | ||
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"] | ||
# | ||
# [[constraint]] | ||
# name = "github.com/user/project" | ||
# version = "1.0.0" | ||
# | ||
# [[constraint]] | ||
# name = "github.com/user/project2" | ||
# branch = "dev" | ||
# source = "github.com/myfork/project2" | ||
# | ||
# [[override]] | ||
# name = "github.com/x/y" | ||
# version = "2.4.0" | ||
|
||
required = [ | ||
"github.com/golang/lint/golint" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
APP_NAME = logging-tests | ||
IMG = $(DOCKER_PUSH_REPOSITORY)$(DOCKER_PUSH_DIRECTORY)/$(APP_NAME) | ||
TAG = $(DOCKER_TAG) | ||
|
||
|
||
resolve: | ||
dep ensure -vendor-only -v | ||
|
||
validate: | ||
go build -o golint-vendored ./vendor/github.com/golang/lint/golint | ||
./golint-vendored | ||
rm golint-vendored | ||
|
||
build: | ||
go generate ./... | ||
CGO_ENABLED=0 go build -o ./bin/app $(buildpath) | ||
|
||
build-image: | ||
docker build -t $(APP_NAME):latest . | ||
|
||
push-image: | ||
docker tag $(APP_NAME) $(IMG):$(TAG) | ||
docker push $(IMG):$(TAG) | ||
|
||
.PHONY: ci-pr | ||
ci-pr: resolve validate build build-image push-image | ||
|
||
.PHONY: ci-master | ||
ci-master: resolve validate build build-image push-image | ||
|
||
.PHONY: ci-release | ||
ci-release: resolve validate build build-image push-image | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
|
||
# Gopkg.toml example | ||
# | ||
# Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md | ||
# for detailed Gopkg.toml documentation. | ||
# | ||
# required = ["github.com/user/thing/cmd/thing"] | ||
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"] | ||
# | ||
# [[constraint]] | ||
# name = "github.com/user/project" | ||
# version = "1.0.0" | ||
# | ||
# [[constraint]] | ||
# name = "github.com/user/project2" | ||
# branch = "dev" | ||
# source = "github.com/myfork/project2" | ||
# | ||
# [[override]] | ||
# name = "github.com/x/y" | ||
# version = "2.4.0" | ||
|
||
required = [ | ||
"github.com/golang/lint/golint" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.