Commit graph

421 commits

Author SHA1 Message Date
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
Jakub Warmuz
94fa851b01
Merge branch 'acme-directory' into revocation 2015-09-09 20:45:57 +00:00
Jakub Warmuz
ed051b7c28
Boulder Monolithic does not exist 2015-09-09 20:40:04 +00:00
Jakub Warmuz
c93564b99e
Travis: update --server to point at directory 2015-09-09 20:22:38 +00:00
Jakub Warmuz
302e3ceb7d
Revocation: integration testable 2015-09-09 20:04:28 +00:00
Brad Warren
3fed72f9ce Installs goose for boulder's create_db.sh 2015-08-27 11:22:38 -04:00
Jakub Warmuz
667ee132f4
boulder-start.sh: revert -e (fail faast) 2015-08-22 09:22:35 +00:00
Jakub Warmuz
cdb9c8b964
boulder-start.sh: go get with ... 2015-08-22 09:22:35 +00:00
Brad Warren
bda953a2cb Removed conditional around create_db 2015-08-13 12:31:13 -07:00
Brad Warren
f39e6c672d Create databases in travis 2015-08-13 12:24:34 -07:00
Brad Warren
283ccbfc45 Removed -e 2015-08-05 17:28:08 -07:00
Brad Warren
ffd0d6d148 Removed go get 2015-08-05 17:13:10 -07:00
Brad Warren
62ea10cd6c Fixed travis issues? 2015-08-05 16:38:09 -07:00
James Kasten
c29c7a0b64 Merge pull request #637 from letsencrypt/integration-path
Fix path for integration test.
2015-07-29 17:05:38 -07:00
Jacob Hoffman-Andrews
06e21d3578 Fix path for integration test. 2015-07-29 15:53:09 -07:00
Jeff Hodges
584f19fef5 add comment for mktemp for @Kuba 2015-07-29 15:08:22 -07:00
Jeff Hodges
6a90737bbb make mktemp in integration tests work on OS X 2015-07-29 14:54:35 -07:00
James Kasten
da1d6acd59 Merge pull request #622 from kuba/manual-integration
Manual plugin integration testing
2015-07-24 00:03:26 -07:00
Jakub Warmuz
3825633f46
Merge remote-tracking branch 'github/letsencrypt/master' into manual-integration
Conflicts:
	letsencrypt/auth_handler.py
2015-07-19 07:49:32 +00:00
Jakub Warmuz
fe3c3be675
Travis: run Boulder in AMQP mode (fixes #620). 2015-07-18 19:31:56 +00:00
Jakub Warmuz
0d63c94b8e
Move nginx-boulder integration tests to subpkg dir. 2015-07-17 08:41:27 +00:00
Jakub Warmuz
5a15af5abe
Change integration nginx port to 8081.
Ref https://github.com/letsencrypt/boulder/issues/482.
2015-07-17 08:30:34 +00:00
Jakub Warmuz
7dc64e0387
Rewrite acccounts and registration.
Save accounts to:

    /etc/letsencrypt/accounts/www.letsencrypt-dmeo.org/acme/new-reg/ \
    kuba.le.wtf@2015-07-04T14:04:10Z/ \
    {regr.json,meta.json,private_key.json}

Account now represents a combination of private key, Registration
Resource and client account metadata. `Account.id` based on the
account metadata (creation host and datetime). UI interface
(`cli._determine_account`) based on the `id`, and not on email as
previously.

Add `AccountStorage` interface and `AccountFileStorage`,
`AccountMemoryStorage` implementations (latter, in-memory, useful for
testing).

Create Account only after Registration Resource is received
(`register()` returns `Account`).

Allow `client.Client(..., acme=acme, ...)`: API client might reuse
acme.client.Client as returned by `register()`.

Move report_new_account to letsencrypt.account, client.Client.register
into client.register.

Use Registration.from_data acme API.

achallenges.AChallenge.key is now the `acme.jose.JWK`, not
`le_util.Key`. Plugins have to export PEM/DER as necessary
(c.f. `letsencrypt.plugins.common.Dvsni.get_key_path`)

Add --agree-tos, save --agree-eula to "args.eula". Prompt for EULA as
soon as client is launched, add prompt for TOS.

Remove unnecessary letsencrypt.network. Remove, now irrelevant,
`IConfig.account_keys_dir`.

Based on the draft from
https://github.com/letsencrypt/letsencrypt/pull/362#issuecomment-97946817.
2015-07-09 06:43:45 +00:00
Jakub Warmuz
74ce332b5a
Manual SimpleHTTP integration tests. 2015-07-03 09:49:14 +00:00
James Kasten
1bd49cef82 Merge pull request #575 from kuba/nginx-integration
Do not include /etc/nginx/mime.types in nginx integration testing.
2015-07-02 09:22:11 -07:00
Jakub Warmuz
a7a863e1f2
Do not include /etc/nginx/mime.types in nginx integration testing.
This file (or /etc/nginx in whole) might not exist on the target
system.
2015-06-30 14:52:48 +00:00
James Kasten
abe1aa999a Merge pull request #568 from kuba/cover
Bump coverage
2015-06-29 09:04:41 -07:00
Jakub Warmuz
7abff038dc
Display tests: move test_visual to tests/display.py script. 2015-06-28 09:31:42 +00:00
Jakub Warmuz
096920b8b3
Refactor integration scripts, use --debug. 2015-06-27 13:34:23 +00:00
Jakub Warmuz
49b02e7740
Travis CI: test nginx plugin. 2015-06-27 09:20:37 +00:00
Jakub Warmuz
9652656e14
Integration tests for nginx plugin (without root). 2015-06-27 09:20:37 +00:00
Jakub Warmuz
79252e7940
Merge remote-tracking branch 'github/letsencrypt/master' into 485-cleanup
Conflicts:
	tests/boulder-integration.sh
2015-06-26 21:11:42 +00:00
James Kasten
3705594628 Merge pull request #554 from letsencrypt/renew_before_deploy
Try to renew certs before trying to deploy them
2015-06-26 16:25:30 -04:00
Jakub Warmuz
abbd2483a5
install --key-path (fixes #550) 2015-06-26 13:26:09 +00:00
Jakub Warmuz
c8dc9af7bf
Fix integration test for install. 2015-06-26 13:26:09 +00:00
Jakub Warmuz
7d775ae9f3
Add null installer, integration tests for install/run
Fixes #438.
2015-06-26 13:26:09 +00:00
Jakub Warmuz
3383dedbcf
boulder-integration.sh: SERVER env variable
Blocks https://github.com/letsencrypt/boulder/pull/416
2015-06-26 07:20:01 +00:00
Seth Schoen
fbb0058bcd Enable renewer test that was failing 2015-06-25 18:15:59 -07:00
Jakub Warmuz
eb149b9129
CLI debug log file 2015-06-25 19:55:16 +00:00
Jakub Warmuz
3ade1d13f3
Merge remote-tracking branch 'github/letsencrypt/master' into renewer
Conflicts:
	tests/boulder-integration.sh
2015-06-25 19:07:21 +00:00
Jakub Warmuz
040f434a61
Renewer integration tests for standalone. 2015-06-25 17:43:17 +00:00
Jakub Warmuz
4057734c33
Add integrations tests for CSR. 2015-06-25 16:05:25 +00:00
Jakub Warmuz
e0bc6aeb50
Travis CI setup for integration testing (fixes #530).
Candidate issues to be addressed:

- race condition: start.sh might fail to start Boulder WFE before
  ./tests/boulder-integration.sh is run (unlikely, but possible,
  leading to flaky tests)

- intertwined build logs (./start.sh boostraps in the background,
  integration test debug logs on server and client side)
2015-06-25 09:50:23 +00:00
Jakub Warmuz
8bde250ff2
boulder-integration.sh: agree-tos -> agree-eula, force standalone. 2015-06-25 08:25:10 +00:00
Jakub Warmuz
5f01a90ce6
Add simple Boulder integration test 2015-06-12 18:14:33 +00:00