I would like to setup a Concourse pipeline that will let me run Yocto builds.
A clean build takes about 4-5 hours with my 2.5Ghz i7 blasting at full capacity the whole time. It keeps a work directory that uses about 60Gb of disk space. If you keep the work folder around subsequent builds are considerably quicker.
How can I setup a pipeline that clears the work directory like only in the weekends?
Can I auto-scale a high powered worker just before a Yocto build starts somehow? Our other jobs are much, much more modest and I don’t want to waste heaps of money on keeping a high powered cloud instance on we only use a couple of hours a week.
All tips and tricks a very much appreciated.