conductor

CI task system
git clone git://git.finwo.net/app/conductor
Log | Files | Refs | README | LICENSE

006_project_workdir.sql (778B)


      1 -- 006_project_workdir.sql - where a job's tree is put in its container
      2 --
      3 -- The tree used to be bind mounted from the worker at a path the worker
      4 -- chose. It is now unpacked inside the container instead, which means the
      5 -- path is a property of the build rather than of the machine running it,
      6 -- and is worth being able to choose.
      7 --
      8 -- Three answers, most specific first: the workdir key in the repository's
      9 -- pipeline, this column, and failing both the server default of /work.
     10 -- Null means the project has no opinion.
     11 --
     12 -- A repository may override its project because the path belongs with the
     13 -- code: an image that expects to build in /usr/src/app knows that, and
     14 -- whoever registered the project should not have to.
     15 
     16 ALTER TABLE projects ADD COLUMN workdir TEXT;