certbot/letsencrypt-auto-source
Adrien Ferrand a27bd28b39 Configure jessie repos in LTS mode during Docker build (#6887)
Currently, `tox -e le_auto_jessie` job fails. It breaks in particular the cron pipeline that test everything each night.

The failure occurs while setting up the Jessie Docker container to run the tests for certbot-auto, when `apt-get update` is invoked, with this error:
```
W: Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/main/binary-amd64/Packages  404  Not Found
```

Indeed, if there are `stretch-updates`, `buster-updates` and so on in the repository, there is no `jessie-updates`. I do not know exactly the logic of Debian here, but as `*-updates` folders store stable updates, a distribution moving to LTS support like Jessie has no stable updates anymore. I suppose `jessie-updates have been decommissioned recently, and the official Docker has not been updated yet to use the LTS configuration for repositories.

This PR does that live in the Dockerfile, using official instructions from https://wiki.debian.org/LTS/Using, and fixes this specific job.

An example of a successful job with this modification can be found here: https://travis-ci.com/certbot/certbot/jobs/187864341
2019-03-26 11:35:43 -07:00
..
pieces Construct the sanitized, pinned and hashed requirements file for certbot-auto (#6839) 2019-03-25 18:52:59 +01:00
tests Protect certbot-auto against automated downgrades (#6448) 2018-11-19 14:28:59 -08:00
build.py Pin dependency versions when using tools/venv.sh (#4629) 2017-05-11 10:06:05 -07:00
certbot-auto.asc Release 0.32.0 2019-03-06 12:47:27 -08:00
Dockerfile.centos6 Update setuptools pinned in pipstrap (#6699) (#6704) 2019-01-25 11:53:29 -08:00
Dockerfile.jessie Configure jessie repos in LTS mode during Docker build (#6887) 2019-03-26 11:35:43 -07:00
Dockerfile.trusty Explicitly add six as a dependency in letsencrypt-auto-source dockerfiles (#5808) 2018-03-29 15:34:38 -07:00
Dockerfile.xenial Update outdated tests (#6515) 2019-01-16 13:17:37 -08:00
letsencrypt-auto Construct the sanitized, pinned and hashed requirements file for certbot-auto (#6839) 2019-03-25 18:52:59 +01:00
letsencrypt-auto.sig Release 0.32.0 2019-03-06 12:47:27 -08:00
letsencrypt-auto.template Construct the sanitized, pinned and hashed requirements file for certbot-auto (#6839) 2019-03-25 18:52:59 +01:00
rebuild_dependencies.py Construct the sanitized, pinned and hashed requirements file for certbot-auto (#6839) 2019-03-25 18:52:59 +01:00
version.py Cleanup test farm tests and add test_sdists (#4089) 2017-01-30 19:37:23 -08:00