Configured CI/CD with docker and jenkins
This commit is contained in:
parent
a715a3c1b8
commit
e22e908ce5
11 changed files with 104 additions and 1 deletions
10
run.sh
Executable file
10
run.sh
Executable 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue