Skip to content
Snippets Groups Projects
Unverified Commit a1f3679e authored by anarcat's avatar anarcat
Browse files

expand on job execution

parent 43cc0763
No related branches found
No related tags found
No related merge requests found
......@@ -173,13 +173,33 @@ No Git consumers using SCM API plugin for: https://git.torproject.org/admin/tsa-
Which comes straight out of the plain text output of the web hook.
### Job execution
The actual job configuration defines what happens next. But in
general, the `jenkins/tools.git` repository has a lot of common code
that gets ran in jobs. In practice, we generally copy-paste a bunch of
stuff until things work.
TODO: this is obviously incomplete, but it might not be worth walking
through the entire `jenkins/tools.git` repository...
NOTE: this is obviously incomplete, but it might not be worth walking
through the entire `jenkins/tools.git` repository... A job generally
will run a command line:
SUITE=buster ARCHITECTURE=amd64 /home/jenkins/jenkins-tools/slaves/linux/build-wrapper
... which then runs inside a `buster_amd64.tar.gz` chroot on the
builders. The `build-wrapper` takes care of unpacking the chroot and
find the right job script to run.
Scripts are generally the `build` command inside a directory, for
example Hugo websites are built with
[slaves/linux/hugo-website/build](https://gitweb.torproject.org/project/jenkins/tools.git/tree/slaves/linux/hugo-website/build), because the base name of the job
template is `hugo-website`.. The build ends up in
`RESULT/output.tar.gz`, which gets passed to the `install` job
(e.g. `hugo-website-$site-install`). That job then ships the files off
to the static source server for deployment.
See [the static mirror jenkins docs](howto/static-component#jenkins-build-jobs) for more information on how
static sites are built.
### Interfaces
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment