Commit Graph
4696 Commits
Author SHA1 Message Date
Erik Rose 134b7ab8de Add a test for when openssl signature verification fails during phase-1 upgrade. 2016-01-07 17:04:32 -05:00
Erik Rose e5e5c2d65b Don't stomp on the in-tree le-auto during tests. 2016-01-07 16:45:27 -05:00
Erik Rose 98b3c41f2b Add le-auto tests for "no upgrade needed" and "only a phase-2 upgrade needed". 2016-01-07 16:18:23 -05:00
Erik Rose 4b075df871 Cut down mock PyPI dir listing HTML. 2016-01-06 21:40:10 -05:00
Erik Rose 762709aa53 Remove needless message about reusing venv. Rebuild le-auto. 2016-01-06 17:10:44 -05:00
Erik Rose 4fd9d39b79 Mark changes in letsencrypt-auto-release-testing as having been incorporated into letsencrypt-auto-release.
We grabbed the bug fixes but left the changes specific to the infrastructure we mocked out for human testing.
2016-01-06 16:47:32 -05:00
Erik Rose ba6bf45753 Update pinning of LE packages to 0.1.1.
If we keep these at the latest release, something sane should happen if someone runs le-auto from master.
2016-01-06 16:46:42 -05:00
Erik Rose 4940ee2fcf Add hashes for new cffi 1.3.1 packages.
New ones for OS X 10.6 were released on 2015-12-16.
2016-01-06 16:46:42 -05:00
Peter EckersleyandErik Rose 8a3bbf97e0 Move sudo to the top
(So that people who want to audit can see it quickly)
2016-01-06 16:46:42 -05:00
Peter EckersleyandErik Rose 5aa9fe9e7f Survive unsuccessful apt-get update... 2016-01-06 16:46:42 -05:00
Erik Rose 275d3b4c68 Swap _ for - so the phase-1 upgrade doesn't 404. 2016-01-06 16:46:36 -05:00
Erik Rose d83dda815c Rebuild and re-sign le-auto. 2016-01-06 13:07:47 -05:00
Erik Rose 484b0321ae Add hashes for new cffi 1.3.1 packages.
New ones for OS X 10.6 were released on 2015-12-16.
2016-01-06 12:44:00 -05:00
Erik Rose 404de8429a Update le-auto requirements file to fake LE 0.1.22 release. 2016-01-06 12:38:02 -05:00
Peter Eckersley 0a122cbf4c Try baking in this 0.1.22 thing 2016-01-05 18:23:10 -08:00
Peter Eckersley b00877059f Resign 2016-01-05 16:26:56 -08:00
Peter Eckersley 88c42605cd Merge branch 'letsencrypt-auto-release-testing' of ssh://github.com/letsencrypt/letsencrypt into letsencrypt-auto-release-testing 2016-01-05 16:26:31 -08:00
Brad Warren 8bb0631ab6 Updated versions 2016-01-05 19:25:54 -05:00
Peter Eckersley f4011cc5c9 Move sudo to the top
(So that people who want to audit can see it quickly)
2016-01-05 16:25:48 -08:00
Peter Eckersley 56bda20529 Survive unsuccessful apt-get update... 2016-01-05 16:17:05 -08:00
Peter Eckersley 1ad21f9d1a Update signature! 2016-01-05 15:51:49 -08:00
Erik Rose 0f787533c3 Swap _ for - so the phase-1 upgrade doesn't 404. 2016-01-05 18:50:43 -05:00
Erik Rose 91812716d9 Change version of le-auto script to the one published in the pypi.json. 2016-01-05 18:47:23 -05:00
Peter Eckersley b2a0142e07 First attempt at signing with a throwaway key 2016-01-05 15:40:23 -08:00
Peter Eckersley d0bbe44757 Switch to a throwaway testing key 2016-01-05 15:37:07 -08:00
Peter Eckersley 14d3d4a7fc Merge branch 'letsencrypt-auto-release-testing' of ssh://github.com/letsencrypt/letsencrypt into letsencrypt-auto-release-testing 2016-01-05 14:57:36 -08:00
Peter Eckersley 726376f288 A real release signture key 2016-01-05 14:57:18 -08:00
Erik Rose 7d182c210d Substitute test-only values for the env vars.
To come: a test-only public key for letsencrypt-auto.sig.
2016-01-05 17:57:06 -05:00
Peter Eckersley 5f694e3381 Create a fake release in a PyPI-style json file 2016-01-05 14:39:02 -08:00
Erik Rose fa30625922 Update the built version of letsencrypt-auto. 2016-01-05 17:35:17 -05:00
Erik Rose cad4e98003 Merge in master to get up to date.
Bootstrap scripts and letsencrypt-auto itself required some merge work.
2016-01-05 17:29:52 -05:00
Erik Rose e6cece580d Document le-auto env vars. 2016-01-05 15:39:34 -05:00
Peter Eckersley b1de1cd289 Merge pull request #2093 from watercrossing/mixedListenFix
Fix for another apache configuration `Listen` special case
2016-01-05 12:32:31 -08:00
Erik Rose 7e04f52b90 Add built letsencrypt-auto.
We're going to keep the built artifact in the tree as per https://github.com/letsencrypt/letsencrypt/issues/1572#issuecomment-161379131 so that...

1. People's current behavior of cloning from git and running the le-auto script still works.
2. We don't have a deprecation timeline and process to babysit.

We'll enforce its up-to-dateness with a test.
2016-01-05 15:31:54 -05:00
Erik Rose d9cde2b9d3 Get the first end-to-end test of letsencrypt-auto passing.
To run it, cd letsencrypt_auto && ./build.py && docker build -t lea . && docker run --rm -t -i lea

So as not to depend on the state of the host machine, the test runs within an Ubuntu Docker image. This lets us sidestep interaction challenges by setting up passwordless sudo. It also lets us insert our own local CA for the mock HTTPS server. (openssl's SSL_CERT_FILE env var replaces rather than adds to the accepted CAs, meaning later connections to PyPI within the same process chain fail. SSL_CERT_DIR seems not to work at all on OS X.) This also demonstrates a way to test across various Linux distros, even within Travis if we like,

Also...

* Switch to an official release of ConfigArgParse.
* Don't redundantly re-bootstrap on --no-self-upgrade (that is, phase 2).
2016-01-05 15:31:45 -05:00
watercrossing 4d3d6ff031 Fix for listen bug 2016-01-05 16:51:34 +00:00
Peter Eckersley be4d56c353 Merge pull request #2041 from kuba/ietf-gh-pages
Use GH pages for IETF spec repo link
2016-01-02 18:07:25 -08:00
Peter Eckersley b6531afb8d Merge pull request #1992 from letsencrypt/apache-conf-test
Apache conf tests in travis
2016-01-02 17:49:38 -08:00
Peter Eckersley fcf79319ff Merge pull request #2042 from kuba/example-server-uri-dev
Staging URI in dev-cli.ini example
2016-01-02 17:46:59 -08:00
Peter Eckersley 082df18e26 Merge pull request #2038 from joohoi/apache_constants
Abstract the remaining OS specific constants from the code
2016-01-02 17:45:51 -08:00
Jakub Warmuz 7788799a9b Staging URI in dev-cli.ini example 2015-12-29 08:55:13 +00:00
Jakub Warmuz fd4f6fb2ee Use GH pages for IETF spec repo link 2015-12-29 08:47:14 +00:00
Joona Hoikkala 3fadfb5444 Fixed the find exe condition 2015-12-28 15:56:24 +02:00
Joona Hoikkala ab069741f2 Fix tests 2015-12-28 14:03:50 +02:00
Joona Hoikkala e3358bb153 Abstract the remaining commands to configurable ones 2015-12-28 13:47:14 +02:00
Joona Hoikkala 83812dc16a Abstract config file matching to os based constants 2015-12-28 12:56:44 +02:00
Peter Eckersley f20cd73e8d For now, disable apacheconftest in travis :( 2015-12-26 20:16:41 -08:00
Peter Eckersley ffd0d5aa56 Merge pull request #1811 from joohoi/multios_apache
Support apache plugin in different operating systems
2015-12-25 14:50:17 -08:00
Peter Eckersley 3e762483c5 Merge pull request #2021 from letsencrypt/revert-2009-issue_2002
Revert "Issue 2002" (logging function was actually calling an interactive iDisplay notification)
2015-12-25 13:25:42 -08:00
Peter Eckersley d6dcfa7b7f Revert "Issue 2002" 2015-12-25 13:18:19 -08:00