-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add error messages when errors are returned --> There are still too many way where we just ignore errors * Add custom Prometheus metric to track when tests are in progress * Add annotation query to show when tests are in progress * Extend Gosbench example k8s test by a second test and make them run longer
- Loading branch information
Showing
9 changed files
with
160 additions
and
62 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -2,4 +2,5 @@ | |
testconf.yaml | ||
modd.conf | ||
main | ||
dist/ | ||
dist/ | ||
k8s/gosbench.yaml |
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 |
---|---|---|
@@ -1,15 +1,21 @@ | ||
BUILD_DATE = $(shell date -u +"%Y-%m-%dT%H:%M:%SZ") | ||
VCS_REF = $(shell git rev-parse HEAD) | ||
BUILD_DATE := $(shell date -u +"%Y-%m-%dT%H:%M:%SZ") | ||
UNIX_DATE := $(shell date -u +"%s") | ||
VCS_REF := $(shell git rev-parse HEAD) | ||
|
||
build: | ||
docker build --tag quay.io/mulbc/goroom-server:dev --build-arg "TYPE=server" --build-arg "BUILD_DATE=$(BUILD_DATE)" --build-arg "VCS_REF=$(VCS_REF)" . | ||
docker build --tag quay.io/mulbc/goroom-worker:dev --build-arg "TYPE=worker" --build-arg "BUILD_DATE=$(BUILD_DATE)" --build-arg "VCS_REF=$(VCS_REF)" . | ||
docker build --tag quay.io/mulbc/gosbench-server:$(VCS_REF) --build-arg "TYPE=server" --build-arg "BUILD_DATE=$(BUILD_DATE)" --build-arg "VCS_REF=$(VCS_REF)" . | ||
docker build --tag quay.io/mulbc/gosbench-worker:$(VCS_REF) --build-arg "TYPE=worker" --build-arg "BUILD_DATE=$(BUILD_DATE)" --build-arg "VCS_REF=$(VCS_REF)" . | ||
debug-server: | ||
docker run --rm --name=goroom-server -it quay.io/mulbc/goroom-server:dev sh | ||
docker run --rm --name=gosbench-server -it quay.io/mulbc/gosbench-server:$(VCS_REF) sh | ||
debug-worker: | ||
docker run --rm --name=goroom-worker -it quay.io/mulbc/goroom-worker:dev sh | ||
docker run --rm --name=gosbench-worker -it quay.io/mulbc/gosbench-worker:$(VCS_REF) sh | ||
release: | ||
docker tag quay.io/mulbc/goroom-server:dev quay.io/mulbc/goroom-server:latest | ||
docker tag quay.io/mulbc/goroom-worker:dev quay.io/mulbc/goroom-worker:latest | ||
docker push quay.io/mulbc/goroom-server:latest | ||
docker push quay.io/mulbc/goroom-worker:latest | ||
docker tag quay.io/mulbc/gosbench-server:$(VCS_REF) quay.io/mulbc/gosbench-server:latest | ||
docker tag quay.io/mulbc/gosbench-worker:$(VCS_REF) quay.io/mulbc/gosbench-worker:latest | ||
docker push quay.io/mulbc/gosbench-server:latest | ||
docker push quay.io/mulbc/gosbench-worker:latest | ||
push-dev: | ||
docker build --tag quay.io/mulbc/gosbench-server:$(UNIX_DATE) --build-arg "TYPE=server" --build-arg "BUILD_DATE=$(BUILD_DATE)" --build-arg "VCS_REF=$(VCS_REF)" . | ||
docker build --tag quay.io/mulbc/gosbench-worker:$(UNIX_DATE) --build-arg "TYPE=worker" --build-arg "BUILD_DATE=$(BUILD_DATE)" --build-arg "VCS_REF=$(VCS_REF)" . | ||
docker push quay.io/mulbc/gosbench-server:$(UNIX_DATE) | ||
docker push quay.io/mulbc/gosbench-worker:$(UNIX_DATE) |
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
Large diffs are not rendered by default.
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
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
Oops, something went wrong.