Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 1.08 KB

README.md

File metadata and controls

17 lines (13 loc) · 1.08 KB

Jarvis - Feature Switch Slack Bot developed in Golang

Build Status codecov Go Report Card License: MIT

Setup the environment variables in my_env.list

SLACK_TOKEN=token Z_AUTH_KEY_QA=authKey EXP_API_URL_QA=expApiUrl

Compile go source code

CGO_ENABLED=0 GOOS=linux go build -a --installsuffix cgo --ldflags="-s" -o app

Build docker image

docker build -t feature-switch-slack-bot -f Dockerfile .

Run docker image in a container

docker run --rm -d --env-file ./my_env.list feature-switch-slack-bot