Configuring Jenkins - HebaruSan/CKAN GitHub Wiki
Updating docker
Docker containers run on a separate machine to ci.ksp-ckan.space
, and can be updated like so:
yourhost:~$ ssh [email protected]
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.space/configureSecurity/ and add their username to the list.