Configuring Jenkins

Leon Wright edited this page Aug 9, 2015 · 5 revisions

Updating docker

Docker containers run on a separate machine to ci.ksp-ckan.org, and can be updated like so:

yourhost:~$ ssh root@jenkins-slave-1.ksp-ckan.org
jenkins-slave-1~# docker.io run -i -t jenkins-1 /bin/bash
(somehash)~# apt-get install ...; # Or whatever changes you wish to make.
(somehash)~# exit
jenkins-slave-1~# docker.io commit (somehash) jenkins-1

Obviously you'll need access to jenkins-slave-1 to do this. Contact nlight or pjf for permissions.

Once you're happy with the changes, push a copy of the image up to up to S3 with the following script

root@ckan-ci:~# scripts/backup-docker.sh

Restarting docker slaves

Docker Slaves are spawned on demand, this is no longer necessary.

Giving people admin access

http://ci.ksp-ckan.org/configureSecurity/ and add their username to the list.

Clone this wiki locally
You can’t perform that action at this time.
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.
Press h to open a hovercard with more details.