-
Notifications
You must be signed in to change notification settings - Fork 71
/etc/default/go-agent template is not replaced on run #66
Comments
@ayoyoness: I had recently changed the part of the description which talks about how to start the agent and didn't check whether it was working. :( Either of this should work:
OR:
Note that in the second form, it is expected that the server is at port 8154. I will be submitting a PR soon, to make the environment variable GO_SERVER_URL work. Thanks! |
Submitted a PR for this (#67). Changed description on DockerHub to show something which works for now. |
/etc/default/go-agent is getting imported on run replacing the provided environment var GO_SERVER_URL with the one in it, so it results in GO_SERVER_URL = https://127.0.0.1:8154/go |
@agalpin: Are you saying it's working fine now? Or not? |
@arvindsv I had to manually remove the first line of /etc/default/go-agent which is GO_SERVER_URL=https://127.0.0.1:8154/go to make it work |
For some reason we still have something like
in
/etc/default/go-agent
when the agent is started.And so the supplied GO_SERVER_URL is not used but instead stays as
go-server
.The log shows confirms:
Somehow this line https://github.com/gocd/gocd-docker/blob/master/phusion/agent/go-agent-start.sh#L10 fails or is not run...
The text was updated successfully, but these errors were encountered: