maestrodev/build-agentA preinstalled CentOS build agent running Jenkins swarm slave with typical build software, installed using Puppet.
To run a Docker container customizing the different tools with your credentials
docker run \
-e JENKINS_USERNAME=jenkins \
-e JENKINS_PASSWORD=jenkins \
-e JENKINS_MASTER=http://jenkins:8080 \
-e RUBYGEMS_API_KEY=xxxxx \
-e GEMINABOX=https://xxx:[email protected] \
-e PUPPETFORGE_USERNAME=john \
-e PUPPETFORGE_PASSWORD=doe \
maestrodev/build-agent
Jenkins master will be autodiscovered by Jenkins Swarm, but JENKINS_MASTER environment variable can be set to the master url, as well as JENKINS_USERNAME and JENKINS_PASSWORD if needed.
If you are deploying to rubygems.org you can set RUBYGEMS_API_KEY, or if deploying to a private geminabox repo its url can be set with the GEMINABOX envvar.
Setting PUPPETFORGE_USERNAME and PUPPETFORGE_PASSWORD will configure Puppet Blacksmith to deploy to the Puppet Forge.
See site.pp and common.yaml for the Puppet configuration in each dir.
# Puppet modules are checked in for Docker hub auto builds
# gem install librarian-puppet
# librarian-puppet install
docker build -t maestrodev/build-agent .
Content type
Image
Digest
sha256:4420d63a4…
Size
432.4 MB
Last updated
almost 11 years ago
docker pull maestrodev/build-agent