You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 26, 2019. It is now read-only.
...however when I run jobs using this image, my scripts haven't been run, and the environment variables aren't set.
Questions:
Am I configuring the right file? (/etc/default/go-agent)
Am I running without service_mode? I suppose I am (?) — and then my guess (judging from /go-agent/agent.sh) is that maybe my file won't be loaded:
$ grep "/etc/default" -B 1 -A 5 /go-agent/agent.sh
if [ "$2"=="service_mode" ];thenif [ -f /etc/default/${SERVICE_NAME} ];then. /etc/default/${SERVICE_NAME}fi# no point in not daemonizing the service
DAEMON=Y
fi
If that's the case, is there another way I should be telling the gocd agent to run my files for setting environment variables etc?