Configured CI/CD with docker and jenkins

This commit is contained in:
Artyom Belousov 2019-10-15 00:21:15 +03:00
parent a715a3c1b8
commit e22e908ce5
11 changed files with 104 additions and 1 deletions

10
run.sh Executable file
View file

@ -0,0 +1,10 @@
#!/bin/bash
if [[ $MODE = "test" ]]
then
go test ./...
elif [[ $MODE = "prod" ]]
then
go build .
export GIN_MODE="release"
./go-mtg-vk
fi