1
0
mirror of https://github.com/certbot/certbot.git synced 2026-01-24 19:22:07 +03:00
Commit Graph

135 Commits

Author SHA1 Message Date
Peter Eckersley
fffe965d68 Merge pull request #2018 from letsencrypt/faster-testfarm
[letstest] create and reuse a persistent boulder AMI
2016-01-07 07:40:42 -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
df56e850d3 Merge remote-tracking branch 'origin/master' into faster-testfarm 2015-12-25 11:38:43 -08:00
Peter Eckersley
3e1bc19e0f Optional flag for faster AMIs 2015-12-25 10:43:52 -08:00
Peter Eckersley
6029bd5fe4 Merge pull request #2013 from letsencrypt/testfarm
Fixes to test farm scripts
2015-12-25 03:20:15 -08:00
Peter Eckersley
e0837ad41f [letstest] create & reuse a persistent boulder server
Reduces minimum multitester.py runtime to just a bit under 10 minutes
2015-12-25 02:39:48 -08:00
Peter Eckersley
dc5c0933df Definitely need --debug for this 2015-12-24 21:39:28 -08:00
Peter Eckersley
c271dc58ce Fix the letsencrypt-auto update script 2015-12-24 20:55:44 -08:00
Peter Eckersley
49721c7d01 Merge remote-tracking branch 'letstest/upgrade-test' into testfarm 2015-12-23 15:14:30 -08:00
bmw
d6003e26fa Merge pull request #1971 from letsencrypt/testfarm
Import letstest test farm (with less git magic)
2015-12-23 11:33:39 -05:00
Peter Eckersley
ef1973ae28 Move recently included tests to the new apache-conf-test location 2015-12-22 15:58:09 -08:00
Peter Eckersley
c77a6fa674 Merge remote-tracking branch 'origin/master' into apache-conf-test 2015-12-22 15:57:20 -08:00
Dominic Cleal
bccff905db Add passing test for quote inside RewriteRule
Already fixed recently by commit a72e498.

Closes: #1960
2015-12-22 22:14:53 +00:00
Peter Eckersley
d777e7faba This sort of works in tox; travis is unlikely due to sudo 2015-12-21 16:09:26 -08:00
Peter Eckersley
9129dcbc87 Make sure there's always a domain name to prompt a question 2015-12-21 16:09:25 -08:00
Peter Eckersley
d0810a1306 Merge remote-tracking branch 'letstest/git-move-to-subdir' into testfarm 2015-12-21 11:15:35 -08:00
Peter Eckersley
87dfe8c2b2 Move everything into tests/letstest 2015-12-21 11:12:01 -08:00
Dominic Cleal
a72e498c97 Merge Augeas lens fix for quotes in directive arguments
From d4d7ea9771

Closes: #1934
2015-12-18 08:11:19 +00:00
Dominic Cleal
3e7072e131 Add failing test from ticket #1934
Augeas fails to parse a directive argument with a quote inside (expecting
either fully quoted or unquoted values).
2015-12-18 08:09:00 +00:00
Peter Eckersley
babb33991b Neaten things with a Setup() function 2015-12-16 19:51:45 -08:00
Peter Eckersley
9013fecc9c Prep for testfarming. 2015-12-16 19:41:35 -08:00
Peter Eckersley
bf764e4852 Support appending to non-Debianish Apache setups 2015-12-16 18:38:49 -08:00
Peter Eckersley
3c6af7094c Bugfix, and use --staging 2015-12-16 17:21:47 -08:00
Peter Eckersley
52705107ff let the environment determine how letsencrypt is run 2015-12-16 17:01:36 -08:00
Peter Eckersley
e7226d2804 Automate testing with the apache-conf-library 2015-12-16 16:45:38 -08:00
Peter Eckersley
16f66acba7 Merge pull request #1869 from letsencrypt/apache-conf-library
Apache conf library
2015-12-11 12:34:35 -08:00
Peter Eckersley
0fa4b4c93f This is a hackish script to run all of these "tests". 2015-12-11 12:21:54 -08:00
Peter Eckersley
6fc65505f7 Add test case for #1724 2015-12-11 12:21:48 -08:00
Peter Eckersley
de9e43de0c Update apache conf library 2015-12-11 12:21:43 -08:00
Peter Eckersley
bdfca70d55 Another #1531 2015-12-11 12:21:33 -08:00
Peter Eckersley
2321237d1e Embodiement of Apache bug #1755 2015-12-11 12:21:24 -08:00
Peter Eckersley
a878e48624 Add another failing case 2015-12-11 12:21:18 -08:00
Dominic Cleal
6b40313311 Merge Augeas lens fix for partially quoted arguments
From 50fb756580

Closes: #1724
2015-12-10 14:37:58 +00:00
Dominic Cleal
5804d03336 Add failing test from ticket #1724
Augeas fails to parse the ErrorDocument argument that starts with a
double quote and ends with an EOL.
2015-12-10 14:36:25 +00:00
Peter Eckersley
ce14851232 Merge pull request #1809 from domcleal/1693-augeas-section-ends
Merge Augeas lens fix for closing multiple sections on one line
2015-12-08 23:43:15 -08:00
Dominic Cleal
d761646167 Merge Augeas lens fix for SSLRequire wordlists
From f86a28d03a

Closes: #1766
2015-12-08 08:09:45 +00:00
Dominic Cleal
f479497d6c Add failing test from ticket #1766
Augeas fails to parse the wordlist (args inside braces) in the
SSLRequire directive.
2015-12-08 08:09:45 +00:00
Peter Eckersley
3838ea4ad1 Merge pull request #1692 from letsencrypt/1531
Merge augeas lens fix for backslashes at the start of regexps
2015-12-08 00:01:53 -08:00
Dominic Cleal
312669c64d Merge Augeas lens fix for closing multiple sections on one line
From f44a7a55cc

Closes: #1693
2015-12-07 10:49:40 +00:00
Peter Eckersley
3add88c641 Add another apache conf test case 2015-12-03 15:25:54 -08:00
Peter Eckersley
55d51530d9 This should fix parsing of drupal .htaccess files 2015-12-03 12:56:29 -08:00
Brad Warren
462139fca9 Kill --agree-dev-preview 2015-12-01 16:51:05 -08:00
Brad Warren
1e3cca8e5c Added simple confs and compatibility-test tarball 2015-11-30 21:09:40 -08:00
bmw
11a056f3c6 Merge pull request #1641 from letsencrypt/apache-conf-library
Start a library of apache2 conf files for tests
2015-11-30 21:04:29 -08:00
Jacob Hoffman-Andrews
4072ff3e1a Run RabbitMQ setup during test setup.
This was recently introduced on the Boulder side.

Note: long-term we want to have the client tests run the same setup steps as
Boulder does, with the same script. This is a quick fix to unbreak the build.
2015-11-30 19:58:38 -08:00
Peter Eckersley
bbc9cf3b6e Start a library of apache2 conf files for tests
With examples of passing and failing conf files sourced from our github
tickets.
2015-11-30 19:49:23 -08:00
Peter Eckersley
7901c59cd0 Merge pull request #1524 from letsencrypt/email
Better UI when asking for email
2015-11-20 19:16:02 -08:00
Peter Eckersley
f74da52320 Avoid hacky --email "" case for integration tests 2015-11-17 16:06:49 -08:00
Jeff Hodges
d3806a926c use boulder's integration-test.py
This prevents the integration tests from getting run before the boulder
processes have finished booting in most cases. There's still some small
races with debug ports going up before RPC ports, but this flushes the
big ones (specifically, the WFE ports), and the boulder devs going to
fix the rest in integration-test.py over time.

This also makes boulder-start.sh a blocking operation. Now the TravisCI
integration tests no longer requires boulder-start.sh, we can let the
other priority of being easier for users to control (that is, basically,
make it easy to Ctrl-C) take over. That plus the idea that
self-daemonizing code is tricky to get right, especially over multiple
platforms led me to not trying to get start.py to make itself
asynchronous.

Most of this change is code movement in order to allow developers to run
boulder-start.sh once and boulder-integration.sh many times while also
not duplicating that code in order to run the tests in TravisCI.

I'm not a huge fan of both the letsencrypt's shell scripts and boulder's
integration-test.py having hard-coded file dependencies in the other's
repo.

This, however, seemed like the smallest path to code that would
spuriously break less. All the designs I was able to come up that were
maybe smaller changes either had the "starts tests before the servers
are up" problem or with a "each repo uses another repo's test code file"
problem. Those problem on top of the "it's a bigger change" problem led
me here.
2015-11-13 12:39:29 -08:00
Joona Hoikkala
56f21e1d35 Refactor --domain flag back to -- domains 2015-11-12 16:53:40 +02:00