005_drop_source_mode.sql (832B)
1 -- 005_drop_source_mode.sql - one way to get the source, not two 2 -- 3 -- A project could choose between having the worker download a tarball of 4 -- the commit from the conductor, or clone the repository itself. Clone 5 -- mode is gone. 6 -- 7 -- It existed to save bandwidth on large repositories, and cost a great 8 -- deal for it: the worker needed git, needed credentials for the 9 -- repository, and could reach any ref rather than only the commit it was 10 -- given work for. The tarball has none of those properties, and is now 11 -- streamed straight into the job container, so the worker needs no 12 -- working directory of its own either. 13 -- 14 -- The column is dropped rather than left in place, since a setting that 15 -- is still offered and no longer does anything is worse than one that is 16 -- gone. 17 18 ALTER TABLE projects DROP COLUMN source_mode;