This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
services:gitbuilders [2016/08/31 19:20] dgalloway [Gotchas creating new gitbuilders] |
services:gitbuilders [2018/04/06 18:35] (current) djgalloway |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Gitbuilders ====== | + | ====== Gitbuilders - RETIRED ====== |
===== Summary ===== | ===== Summary ===== | ||
- | Gitbuilders are VMs (QEMU or LXC) typically found on the [[hardware:irvingi]] or [[hardware:senta]] nodes. They run [[https://github.com/ceph/autobuild-ceph/|autobuild-ceph]] and are maintained using [[https://github.com/ceph/autobuild-ceph/blob/master/fabfile.py|fabric]]. | + | Gitbuilders were VMs (QEMU or LXC) typically found on the [[hardware:irvingi]] or [[hardware:senta]] nodes. They ran [[https://github.com/ceph/autobuild-ceph/|autobuild-ceph]] and were maintained using [[https://github.com/ceph/autobuild-ceph/blob/master/fabfile.py|fabric]]. |
They're in the process of being phased out in favor of CI infra being built by Alfredo and Andrew so I won't go into a ton of detail on them. | They're in the process of being phased out in favor of CI infra being built by Alfredo and Andrew so I won't go into a ton of detail on them. | ||
===== Gotchas creating new gitbuilders ===== | ===== Gotchas creating new gitbuilders ===== | ||
- | Assuming fabric actually completes successfully, you'll need to find the sha1 of the master commit and remove it from ''/srv/autobuild-ceph/gitbuilder.git/out/pass/$SHA1'' to force a build on it. | + | Assuming fabric actually completes successfully, you'll need to find the sha1 of the master commit (check the gitbuilder's http page and click master in the top bar) and ''rm'' it from ''/srv/autobuild-ceph/gitbuilder.git/out/pass/$SHA1'' to force a build on it. |
Also ''chown autobuild-ceph:autobuild-ceph /srv/autobuild-ceph/logs/*'' | Also ''chown autobuild-ceph:autobuild-ceph /srv/autobuild-ceph/logs/*'' | ||
- | Copy ''/srv/gnupg/{pubring.gpg,secring.gpg}'' to ''/srv/gnupg''. | + | Copy ''/srv/gnupg/{pubring.gpg,secring.gpg}'' from another gitbuilder to ''/srv/gnupg''. |
+ | |||
+ | Grab ''/srv/autobuild-ceph/{rsync-key,rsync-key.pub}'' from a newer gitbuilder (gitbuilder-kernel-deb-xenial-amd64-basic.front.sepia.ceph.com has them). Just make sure it's RSA. | ||
<code> | <code> | ||
Line 19: | Line 21: | ||
==== On gitbuilder-kernel-deb-xenial-amd64-basic... ==== | ==== On gitbuilder-kernel-deb-xenial-amd64-basic... ==== | ||
''apt-get install libssl-dev bc'' | ''apt-get install libssl-dev bc'' | ||
+ | |||
+ | Also had to comment ''libunwind7-dev'' from fabfile.py. |