From c4c8f25c757d09fb9f061bd5e9b7a1e98a92089d Mon Sep 17 00:00:00 2001 From: Jeff Moe Date: Sat, 21 Sep 2019 21:11:02 -0600 Subject: [PATCH] Add gocd agent --- .../resources/apps/gocd/forksand-gocd-agent | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 source/resources/apps/gocd/forksand-gocd-agent diff --git a/source/resources/apps/gocd/forksand-gocd-agent b/source/resources/apps/gocd/forksand-gocd-agent new file mode 100755 index 0000000..995cc7b --- /dev/null +++ b/source/resources/apps/gocd/forksand-gocd-agent @@ -0,0 +1,20 @@ +#!/bin/bash +# +# HOWTOish set up gocd agent + +exit 0 + +echo "deb https://download.gocd.org /" | sudo tee /etc/apt/sources.list.d/gocd.list +curl https://download.gocd.org/GOCD-GPG-KEY.asc | sudo apt-key add - +sudo apt update +sudo apt install go-agent + +vim /usr/share/go-agent/wrapper-config/wrapper-properties.conf +# Set: +wrapper.app.parameter.101=https://localhost:8154/go +# To: +wrapper.app.parameter.101=https://gocd.forksand.com/go + +# Then +systemctl start go-agent.service +