Commit Graph
3882 Commits
Author SHA1 Message Date
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
bmw 5c638bea38 Merge pull request #1487 from letsencrypt/whichhunt
Replace "which" with "command -v"
2015-11-13 09:50:44 -08:00
Peter Eckersley 3551ffbd64 Replace "which" with "command -v"
Since the latter is at least semi-POSIX compliant:

http://pubs.opengroup.org/onlinepubs/009696899/utilities/command.html

Avoids the need for #1486
2015-11-13 01:31:14 -08:00
Peter Eckersley 4cfd22e31f Merge pull request #1479 from joohoi/domains_flag
Possibility to use comma separated list of domains in config files and cli
2015-11-13 01:22:35 -08:00
Peter Eckersley 510da48263 Merge pull request #1439 from joohoi/modmacro_fix
More robust way of detecting the mod_macro vhosts
2015-11-13 00:41:14 -08:00
Peter Eckersley 765f601d41 Merge pull request #1477 from joohoi/fix_1454_tests
Fix test broken by #1454 if nginx installation not present in system
2015-11-13 00:35:31 -08:00
Peter Eckersley c7b1bc8c29 Merge pull request #1485 from TheReverend403/patch-1
Update readme to reflect current commands
2015-11-13 00:34:37 -08:00
Peter Eckersley ac3c11b1c1 Merge pull request #1457 from letsencrypt/apache_rollback
Apache rollback
2015-11-13 00:25:37 -08:00
Peter Eckersley 5d9c32b583 Merge pull request #1483 from letsencrypt/absolute2
Absolute paths (fixes #836)
2015-11-13 00:22:23 -08:00
Lee Watson 0db3814c13 Update readme to reflect current commands
auth -> certonly
2015-11-13 08:15:09 +00:00
Brad Warren 31b984adc5 Test RenwerConfiguration 2015-11-12 18:34:46 -08:00
Brad Warren 82614df6f0 What do YOU think os.path.isabs(mock.MagicMock()) returns? 2015-11-12 18:30:37 -08:00
Brad Warren b408ec765d Test absolute paths are used 2015-11-12 18:20:00 -08:00
Brad Warren 778b8797bb Ensure config_dir, work_dir, and logs_dir have absolute paths 2015-11-12 18:17:10 -08:00
Brad Warren 1dd1523680 Added cert, key, chain, and fullchain abspath tests 2015-11-12 17:47:36 -08:00
Brad Warren dc78f811ce Make cert_path,key_path,chain_path,fullchain_path absolute 2015-11-12 17:33:40 -08:00
Brad Warren 707df3d2c6 Add read_file tests 2015-11-12 17:27:56 -08:00
Brad Warren 211ca2420f Make read_file use abspath 2015-11-12 17:19:26 -08:00
Peter Eckersley 928534f890 Merge pull request #1481 from letsencrypt/plugins
Fixes plugins command
2015-11-12 15:33:17 -08:00
Brad Warren f5f9d4e309 Merge branch 'master' into apache_rollback 2015-11-12 15:20:03 -08:00
Brad Warren 08d7c06a54 Python2.6: It's called a set 2015-11-12 15:19:50 -08:00
Brad Warren 5422d1d34c Merge branch 'master' into plugins 2015-11-12 15:05:17 -08:00
Brad Warren a31be6d567 Added plugin_cmd tests 2015-11-12 15:04:41 -08:00
Peter Eckersley 153022c842 Merge pull request #1468 from letsencrypt/auto
Fix misplaced verbosity from pip
2015-11-12 14:34:55 -08:00
Peter Eckersley 9273c833f3 Merge pull request #1467 from letsencrypt/comment
Improve comments for letsencrypt-auto
2015-11-12 14:34:05 -08:00
Brad Warren 3ef0ed1191 Removed debugging statement 2015-11-12 14:24:31 -08:00
Brad Warren 4158e3b559 Revert "Removing stray debug statements, fixes #1308"
This reverts commit b11e556ae7.
2015-11-12 14:22:36 -08:00
Brad Warren 1d09a00d05 Merge branch 'master' into apache_rollback 2015-11-12 14:21:15 -08:00
Brad Warren fcbff2118f Merge branch 'master' into apache_rollback 2015-11-12 14:17:56 -08:00
Brad Warren 13a4987f69 Incorporated pde's and joohi's feedback 2015-11-12 13:58:55 -08:00
Brad Warren 2d827464f4 Updated error_handler tests 2015-11-12 13:35:30 -08:00
Brad Warren 4590adf545 Add *args and **kwargs to ErrorHandler 2015-11-12 13:23:01 -08:00
Peter Eckersley d7d4de851b Merge pull request #1386 from mimi1vx/suse
Add bootstrap for openSUSE based OS...
2015-11-12 10:46:54 -08:00
Joona Hoikkala 0ccbbdb120 Style fix 2015-11-12 17:46:44 +02:00
Joona Hoikkala 37e94e631d Added tests 2015-11-12 17:25:38 +02:00
Joona Hoikkala 56f21e1d35 Refactor --domain flag back to -- domains 2015-11-12 16:53:40 +02:00
Joona Hoikkala 3b8d6ec58b Modified -d help text to reflect the change 2015-11-12 16:42:58 +02:00
Joona Hoikkala 14e03f9af0 Parse possible multiple domain definitions to a list 2015-11-12 16:34:15 +02:00
Joona Hoikkala a0129f7818 Fix test broken by #1454 if nginx installation not present in system 2015-11-12 15:02:30 +02:00
Peter Eckersley ca05b35a24 Merge pull request #1412 from kuba/pep8
pep8 love
2015-11-12 00:29:15 -08:00
Peter Eckersley eda5b71a78 Merge remote-tracking branch 'origin/master' into comment 2015-11-11 23:53:42 -08:00
Peter Eckersley 9d68cda93f Merge remote-tracking branch 'origin/master' into auto 2015-11-11 23:53:21 -08:00
Peter Eckersley 29bb057ae1 Merge pull request #1470 from ArchimedesPi/try-travis-containers
Reenable containerised Travis infrastructure
2015-11-11 23:51:50 -08:00
Liam Marshall d2dacef313 Try reenabling container-based infrastructure
Try explicitly pulling from backports

Try travis's whitelisted Augeas PPA (not ours or backports)
2015-11-11 18:34:52 -06:00
Peter Eckersley 79646dc42d Fix misplaced verbosity from pip 2015-11-11 12:59:36 -08:00
Peter Eckersley b26a87a33c Comments on SUDO 2015-11-11 12:57:32 -08:00
Peter Eckersley 5ce9240200 Improve comments for letsencrypt-auto 2015-11-11 12:42:07 -08:00
Peter Eckersley 93faa29666 Merge pull request #1454 from pritambaral/fix/1281
Check for nginx binary before running letsencrypt-nginx
2015-11-11 12:18:57 -08:00
Peter Eckersley 64dff06f30 Merge pull request #1463 from sieben/correct_jwasignature
Redeclared names without usage
2015-11-11 12:08:14 -08:00
Peter Eckersley 33c52c106a Merge pull request #1464 from sieben/variable_already_existing
Variable key already existing in previous context
2015-11-11 12:06:12 -08:00