<div dir="ltr"> I agree. We should snapshot a known-good starting point and start from there. It's a huge waste of time to do apt update / upgrade / install git, bzr, mercurial, etc every single time we run CI. That's like 1/3rd the time it takes to run the unit test CI job.</div><br><div class="gmail_quote"><div dir="ltr">On Wed, May 18, 2016 at 10:35 PM David Cheney <<a href="mailto:david.cheney@canonical.com">david.cheney@canonical.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This is a huge waste of wall time and bandwidth, and increases the<br>
chance of failure significantly. This is something I would like to see<br>
changed.<br>
<br>
On Thu, May 19, 2016 at 12:06 PM, John Meinel <<a href="mailto:john@arbash-meinel.com" target="_blank">john@arbash-meinel.com</a>> wrote:<br>
> CI does a build from scratch in a pristine VM. There is some discussion<br>
> about changing that in a variety of ways (in a container in a long running<br>
> VM, etc), but it doesn't have a local copy to work from so it has to pull it<br>
> from upstream each time.<br>
><br>
> John<br>
> =:-><br>
><br>
><br>
> On Wed, May 18, 2016 at 8:05 PM, David Cheney <<a href="mailto:david.cheney@canonical.com" target="_blank">david.cheney@canonical.com</a>><br>
> wrote:<br>
>><br>
>> We already have godeps which can take a set of vcs repos and flick<br>
>> them to the right revisions.<br>
>><br>
>> Why does CI check out every single dependency from upstream every<br>
>> single time we do a build ? That introduces wc -l dependencies.tsv<br>
>> points of failure to every single CI run -- not to mention the several<br>
>> minutes it spends laboriously checking out the code.<br>
>><br>
>> Thanks<br>
>><br>
>> Dave<br>
>><br>
>> --<br>
>> Juju-dev mailing list<br>
>> <a href="mailto:Juju-dev@lists.ubuntu.com" target="_blank">Juju-dev@lists.ubuntu.com</a><br>
>> Modify settings or unsubscribe at:<br>
>> <a href="https://lists.ubuntu.com/mailman/listinfo/juju-dev" rel="noreferrer" target="_blank">https://lists.ubuntu.com/mailman/listinfo/juju-dev</a><br>
><br>
><br>
<br>
--<br>
Juju-dev mailing list<br>
<a href="mailto:Juju-dev@lists.ubuntu.com" target="_blank">Juju-dev@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/juju-dev" rel="noreferrer" target="_blank">https://lists.ubuntu.com/mailman/listinfo/juju-dev</a><br>
</blockquote></div>