X-Git-Url: https://git.tld-linux.org/?p=TLD.git;a=blobdiff_plain;f=pld-builder.new%2FREADME;fp=pld-builder.new%2FREADME;h=cc9fb47ab454bb7ab1af1c00ffc84b358391fd1b;hp=0000000000000000000000000000000000000000;hb=90809c8fec988489786ce00247d9a4150070748b;hpb=ab3934fab858112cd552359b18cb980ea07c310b diff --git a/pld-builder.new/README b/pld-builder.new/README new file mode 100644 index 0000000..cc9fb47 --- /dev/null +++ b/pld-builder.new/README @@ -0,0 +1,54 @@ +Roadmap: + + Makefile -- nothing interesting. + + PLD_Builder/ -- all python stuff live here. + + admin/ -- scripts for chroot admin. + + architektura.txt -- docs, in Polish. + + client/ -- scripts for clients, i.e. developers sending requests + + config/ -- configuration + + go.py -- testing script, don't touch + + bin/ -- scripts for builder account outside chroot + + request-handler.sh + Script to be run from procmail on src builder. It process incoming + request, authorizes it and stores in spool/queue. + + src-builder.sh + Script to be run from cron on src builder. It looks for new + requests in spool/queue, gets them from there, builds SRPM, and + stores request for binary builders in spool/req_queue (which is + mirrored in www/ directory, signed and compressed). SRPMS and + buildlogs are queued for transmission. + + request-fetcher.sh + Run on binary builder. + Fetch queue.gz from src-builder, and distribute requests for all + builders hosted on given account (to spool/queue- files). + + rpm-builder.sh + Run on binary builder. + Tries to aquire locks for and for job-slot. If that suceeds, + proccess one request from spool/queue-. + + load-balancer.sh + Run on binary builder. + Checks spool/got_lock. Then run rpm-builder.sh in order determined + from this file (if b1 had lock last time before b2, first run + rpm-builder.sh b1 and then rpm-builder.sh b2), so builders get + the same number of requests. + + file-sender.sh + Run on both binary and src builder. + Sends files queued in spool/{ftp,buildlogs}. + +Working directories: + lock/ + spool/ + log/