This diff adds a setup-agent.sh script that turns a fresh Debian 9
server into a functional Teamcity agent.
It updates the gitian.sh script to allow for single shot gitian
installation, when the agent is setup with the setup-agent.sh script.
Differential D3197
Make Teamcity agent setup easier Fabien on Jun 4 2019, 18:03. Authored by
Details This diff adds a setup-agent.sh script that turns a fresh Debian 9 It updates the gitian.sh script to allow for single shot gitian Install an agent, run builds, gitian builds and ibd. After installation, check that root login is disabled and teamcity password login as well. Check the help: ./setup-agent.sh ./setup-agent.sh -h ./setup-agent.sh --help ./setup-agent.sh this call has way too much arguments
Diff Detail
Event TimelineThere are a very large number of changes, so older changes are hidden. Show Older Changes
Comment Actions The script now runs from the user machine, and connect to the
Comment Actions Pick libevent from buster. Comment Actions Don't fail on host key verification when ssh'ing the first time. Comment Actions Did a few test runs setting up new VMs and got a passing build with the gitian build on this diff. Comment Actions Came across these in another round of review.
Comment Actions My understanding is that this is an agent that will run the build raw, as this. This is a security disaster pending, in addition to having very little flexibility. If some package changes, it's all the agents that need to be reconstructed. In addition, the agent seems to have various credential for various things, and we'll run arbitrary code on it. Even with permission, this is a tremendously bad idea.
Comment Actions I will separate the gitian script update and rework the CI setup according to feedback.
|