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

94 Commits

Author SHA1 Message Date
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
Joona Hoikkala
3074ef996a Refactored the argument and the code to use --domain instead of --domains, which was semantically incorrect 2015-11-10 12:29:08 +02:00
Jakub Warmuz
5e8ed2bbd2 --dvsni-port -> --tls-sni-01-port 2015-11-07 18:24:17 +00:00
Jakub Warmuz
93e69ef7de tls-sni-01 for standalone 2015-11-07 18:24:17 +00:00
Jakub Warmuz
23d3c3b1e2 Rename --simple-http-port to --http-01-port 2015-11-01 11:01:23 +00:00
Jakub Warmuz
ea3611afe6 http-01 for standalone 2015-11-01 11:01:22 +00:00
Brad Warren
6906f293e5 Install listenbuddy 2015-10-27 22:35:17 -07:00
root
b13006ce1a Change -n flag in _commit.py to --no-redirect for clarity. 2015-10-25 00:14:46 +01:00
root
1f6cc52e66 Fix integration test bug 2015-10-25 00:07:00 +01:00
root
e8f90ff993 Add flag in to _common.sh integration test 2015-10-24 23:59:36 +01:00
Jakub Warmuz
aa4641b3b0 --agree-dev-preview
`git grep -i eula` to the rescue
2015-10-20 19:33:27 +00:00
Jakub Warmuz
6eae746735 Clean up after simplehttp port change to 5002.
Now, when https://github.com/letsencrypt/boulder/pull/998 is in, we
can remove all quick fixes for
https://github.com/letsencrypt/boulder/issues/985.
2015-10-17 18:06:21 +00:00
Jakub Warmuz
78c296bbd1 Integration tests: force le3.wtf over DVSNI.
Becuse of https://github.com/letsencrypt/boulder/issues/985, we need
to force standalone to one particular type of challenge at a
time. #895 didn't fix it properly - it forgot about issuance of
le3.wtf (CSR-initiated), which results in Travis builds failing 50% of
a time,
e.g. https://travis-ci.org/letsencrypt/letsencrypt/jobs/85875483#L3318.
2015-10-17 07:43:07 +00:00
Jakub Warmuz
523c7c3369 Merge remote-tracking branch 'github/letsencrypt/master' into standalone2 2015-10-16 06:39:23 +00:00
David Dworken
0614fba9df Make the script POSIX compliant so it works with dash (Fixes #977) 2015-10-15 20:21:41 -04:00
Jacob Hoffman-Andrews
b9b2114b33 Merge pull request #994 from kuba/simplehttp-5002
Integration tests: SimpleHTTP on port 5002.
2015-10-15 15:14:39 -07:00
Jacob Hoffman-Andrews
22b8446efb Get precompiled Goose from GithHub.
Rather than fetching from bitbucket and building. Bitbucket is often down, and
building from scratch is slow. Github is sometimes down, but at least now we
have our eggs in one basket.
2015-10-15 14:32:52 -07:00
Jakub Warmuz
d1b7b0553f Back to 5001, but with env var 2015-10-15 20:53:47 +00:00
Jakub Warmuz
5043574093 Integration tests: SimpleHTTP on port 5002.
Should be pulled by @jsha in lockstep with
6b8f1c2700.
2015-10-15 20:42:49 +00:00
Jakub Warmuz
18ddcc72f6 More quickfix for boulder#985 2015-10-14 19:40:07 +00:00
Jakub Warmuz
99a31463b0 Fix typo: porta -> port 2015-10-14 19:23:33 +00:00
Jakub Warmuz
371daa42ca Quickfix for boulder#985 2015-10-14 19:16:30 +00:00
Jakub Warmuz
73ae361559 Merge remote-tracking branch 'github/letsencrypt/master' into standalone2 2015-10-12 19:36:46 +00:00
Brandon Kreisel
8012382368 Merge branch 'master' into mac-psutil 2015-10-08 16:04:25 -04:00
Jakub Warmuz
1efec6b399 Merge remote-tracking branch 'github/letsencrypt/master' into standalone2 2015-10-07 20:07:01 +00:00
Jakub Warmuz
f0214ddf9a Merge commit 'a2c41ca7f539303cb413ba3e73d3669633063150' into standalone2 2015-10-07 19:07:44 +00:00
Jakub Warmuz
e4e94b20d4 Remove --no-simple-http-tls from integration tests 2015-10-07 06:23:40 +00:00
Brandon Kreisel
c9e28309ed Define constants for OS specific executables 2015-10-04 20:08:38 -04:00
Jakub Warmuz
827c66c667 Integration tests: standalone dvsni and simpleHttp. 2015-10-04 19:19:36 +00:00
Brandon Kreisel
a4d0188d21 Add Mac compatibility to integration tests 2015-10-03 12:50:18 -04:00
Brandon Kreisel
8409c9c658 Meddle with more documentation and learn how to bash flag 2015-10-03 11:27:39 -04:00
Brandon Kreisel
895faa7dc9 Add OS X bootstrap for integration enviornment
Installs requirements and sets up environment to run boulder and
integration tests
2015-10-02 22:36:56 -04:00
Brandon Kreisel
b6bbc9e0a2 Add inline Mac comment 2015-09-28 17:39:01 -04:00
Brandon Kreisel
756cfb75ef Merge remote-tracking branch 'upstream/master' 2015-09-27 14:58:34 -04:00
Brandon Kreisel
cbfdae88fc Add Mac compatibility to boulder-start
The version of sort that ships with OS X does not support the -V
version flag. Emulate that functionality with some sed-fu
2015-09-27 14:44:00 -04:00
James Kasten
8dc345a3a0 address naming conventions 2015-09-26 16:04:44 -07:00
James Kasten
395da0d7d5 Merge branch 'master' into fix_771
Conflicts:
	letsencrypt/cli.py
2015-09-25 20:11:15 -07:00
James Kasten
add23360a5 Take away confirmation screen for testing 2015-09-25 20:04:34 -07:00
James Kasten
5cc9061413 Merge pull request #780 from letsencrypt/integration
Make boulder-start.sh more robust & helpful
2015-09-23 14:18:06 -04:00
Peter Eckersley
740f516561 Make boulder-start.sh more robust & helpful 2015-09-16 19:09:04 -07:00
Jakub Warmuz
03e2f043df Address #726 review comments 2015-09-16 06:49:04 +00:00
Jakub Warmuz
67d6b89382 Fix paths in integration testing 2015-09-09 20:54:11 +00:00