I have the go server and agent installed (linux), and I've hit a few issues in setting up my first pipeline.
What I'd like to do is have go monitor a particular branch of a github repo for new pushes, and when it finds one it should run a command line script (either capistrano or a shell wrapper) to deploy that branch. I've been able to add the git repo as material to the job, and verified that the connection works, so that's fine. I haven't been able to get the agent to run capistrano successfully, which is installed on the machine and can be run fine from the command line as the go user. I have two specific questions relating to this: 1) Where do I need to put the scripts so that the agent can find them? I tried putting them directly in the sandbox directory (/var/lib/go-agent/), but I still get Error happened while attempting to execute 'staging_deploy_wrapper.sh'. Please make sure [staging_deploy_wrapper.sh] can be executed on this agent. when executing the build. I have confirmed that I can also run the wrapper script from the command line as the go user. 2) Does the repo being monitored need to be cloned to the agent? I noticed that it was downloaded to the build directory - is there any way to prevent that? Thanks! -- You received this message because you are subscribed to the Google Groups "go-cd" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
