diskimage-builder/diskimage_builder/elements/apt-sources
Ian Wienand 0d37351031 Move apt-sources to ubuntu-minimal / move debian to skip list
The gate is currently extremley unstable, and these two issues are
causing most of the problems.  We need to commit them atomically so we
can get anything moving again

---

The gate is very unstable downloading the ubuntu tarballs from
upstream at the moment.  Move this to ubuntu-minimal which, in a later
change will source files from our local mirror.

We need a caching mechanism for these large files to avoid this
instability.  This is future work for the various image-based jobs.

---

Move debian to default skip lists

I don't know if it's mirrors being worked hard for the Stretch
release, but this is constantly failing the gate.  I will move this to
the -nv extras job

I am working on having the voting job use local mirrors for
everything.  Unfortunately debian infra mirrors don't have stretch yet
and we need to do some fiddling to get "stable" available.  Once we
have all this, we can consider making it voting again.

Change-Id: Iaf7b3888ef06c7aef63cbf76a94b33f96bc9c5c2
2017-06-21 10:34:53 +10:00
..
extra-data.d Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
test-elements/test-sources Move apt-sources to ubuntu-minimal / move debian to skip list 2017-06-21 10:34:53 +10:00
README.rst Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00

===========
apt-sources
===========

Specify an apt sources.list file which is used during image building and then
remains on the image when it is run.

Environment Variables
---------------------

DIB_APT_SOURCES
  :Required: No
  :Default: None (Does not replace sources.list file)
  :Description: Path to a file on the build host which is used in place of
    ``/etc/apt/sources.list``
  :Example: ``DIB_APT_SOURCES=/etc/apt/sources.list`` will use the same
    sources.list as the build host.