- Modify the configuration yaml file:
cp ./gomr.example.yaml ./gomr.yaml
vim gomr.yaml
...
-
Set up a mysql database and add details to configuration
-
Build the docker image:
docker build $GOPATH/src/github.com/tiwillia/gomr
- Run it:
docker run <image_id>
- Modify the configuration yaml file:
cp ./gomr.example.yaml ./gomr.yaml
vim gomr.yaml
...
- Process the template and deploy:
oc process -f ./openshift/templates/gomr-mysql.json | oc create -f -
- Watch the build happen with:
oc logs -f gomr-build-1
See the examplePlugin file for an example on adding your own plugin.