Commit Graph

157 Commits

Author SHA1 Message Date
James Munnelly
178a3a5eea Fix up bugs in unit testing framework 2018-04-04 23:40:44 +01:00
James Munnelly
01efbca114 Merge branch 'master' into acmev2 2018-04-04 11:27:37 +01:00
James Munnelly
dd950c8b65 Increase http01 e2e test timeout 2018-03-23 18:50:46 +00:00
James Munnelly
42c5599305 Rename integration test framework to unit 2018-03-23 18:50:45 +00:00
James Munnelly
0a0747dac7 Move OrderURL into OrderStatus struct and fix up http solver 2018-03-23 18:50:45 +00:00
James Munnelly
e390021709 Add missing pebble test fixture values 2018-03-23 18:50:45 +00:00
James Munnelly
6efc97266d Use pebble instead of boulder in e2e tests 2018-03-23 18:50:45 +00:00
James Munnelly
3322d55424 Update acme e2e testing endpoint 2018-03-23 18:50:44 +00:00
Louis Taylor
f7cdf91626
Create quotas in e2e tests 2018-03-23 17:16:45 +00:00
James Munnelly
30c28975cb Update cluster resource namespace during e2e tests 2018-02-23 11:18:58 +00:00
James Munnelly
827dacc1c0 Ensure certificate is valid for given domains during e2e tests 2018-02-09 20:52:31 +00:00
James Munnelly
f502499288 Optionally write junit reports into artifacts during e2e tests 2018-01-24 12:49:47 +00:00
James Munnelly
fc4cc8d587 Increase test timeouts 2018-01-13 21:26:58 +00:00
James Munnelly
50506a3dce Set a 10 minute timeout when installing boulder 2018-01-13 19:53:30 +00:00
James Munnelly
643e285965 Fix testing ACME URL 2018-01-13 16:37:13 +00:00
James Munnelly
228e45e2bb Properly set ACMEURL in e2e tests 2018-01-13 16:07:59 +00:00
James Munnelly
9360fc1ed5 Use quay.io boulder image 2018-01-13 15:39:45 +00:00
James Munnelly
ffbf17cecd Fix passing boulder image args 2018-01-13 15:28:21 +00:00
James Munnelly
1125528aef Remove hostNetwork from cert-manager in e2e tests 2018-01-13 15:28:09 +00:00
James Munnelly
df279f3e63 Add boulder helm chart. Install boulder during e2e tests. 2018-01-13 15:19:48 +00:00
James Munnelly
b61fbdb446 Remove CA ClusterIssuer certificate e2e test 2018-01-13 01:43:01 +00:00
James Munnelly
1caf4d67ef Fix cluster issuer tests. Add hostNetwork option. Turn up log level. 2017-12-01 19:56:03 +00:00
James Munnelly
0706fb8847 Use cert-manager installed via helm in e2e tests
Print pod logs on test failure

Remove old flags from e2e_test makefile target
2017-12-01 18:53:42 +00:00
James Munnelly
2068f7bb57 Add dummy ingress path 2017-12-01 11:22:40 +00:00
James Munnelly
b2f5698145 Fix flag redefined error 2017-12-01 11:05:46 +00:00
James Munnelly
45c3c8b283 Remove unused var 2017-12-01 10:27:47 +00:00
James Munnelly
9b8a55d55c Import ingress e2e test suite 2017-12-01 01:53:57 +00:00
James Munnelly
70e2a2ec60 Fix check for certificate in ingress-shim e2e 2017-12-01 01:46:27 +00:00
James Munnelly
9d5620a84f Add ingress-shim e2e test 2017-12-01 01:20:20 +00:00
James Munnelly
fa7e052ac1 Move to github.com/jetstack/cert-manager repo 2017-11-03 16:41:39 +00:00
James Munnelly
6bd606a7ce Fix ClusterIssuers. Update test name. Add comments. 2017-11-03 15:51:34 +00:00
James Munnelly
103cafc77b Fix e2e test imports 2017-11-03 15:09:07 +00:00
James Munnelly
7875268247 Fix imports 2017-11-03 14:48:41 +00:00
James Munnelly
753db1ebbb Add e2e test for recovering account URI 2017-10-27 18:09:11 +01:00
James Munnelly
50f010cc4a Verify TLS certificate is produced in certificate_ca tests 2017-10-16 15:43:39 +01:00
James Munnelly
87f7cd8528 More assertions in acme_certificate.go 2017-10-16 15:10:16 +01:00
James Munnelly
8ca231b865 Check ACME account private key existence in acme e2e tests
Fix checking for not found error
2017-10-16 15:06:06 +01:00
James Munnelly
7adab485ff Wait for namespace to no longer exist in AfterEach
Wait longer for acme certificate e2e test

Increase delete namespace timeout
2017-10-16 13:17:10 +01:00
James Munnelly
1f278d659b Refactor e2e setup into scripts. Speed up e2e tests.
Build images whilst services are starting

Exit on setup boulder errors

Install nsenter

Don't build nsenter

Turn up e2e pod verbosity

Set pullPolicy IfNotPresent on HTTP challenge solver
2017-10-16 12:58:47 +01:00
James Munnelly
0ecb17bb6d Add ACME certificate http01 e2e test
Wait for nginx-ingress-controller rc to be installed

Enable minikube ingress addon

Print cert-manager logs after acme certificate test. Properly catch errors.

Move creation of cert-manager pod in e2e tests into framework

Update testingACMEURL

Fix panic

Add test to ensure ACME request fails for invalid domain

Adjust acme certificate failure test

Fix AfterEach steps for acme e2e tests

Don't error on cleanup
2017-10-16 12:58:21 +01:00
James Munnelly
7faf792b9d Use letsencrypt/boulder as ACME server in e2e tests 2017-10-14 01:28:18 +01:00
James Munnelly
40efa293a1 Fix tests for new CommonName 2017-10-13 12:52:36 +01:00
James Munnelly
b1d6d1f6af Update e2e tests 2017-10-13 11:47:56 +01:00
James Munnelly
c0b46b11dc Rearrange e2e tests into subdirectories based on types 2017-10-12 20:45:05 +01:00
James Munnelly
7b30b80dc5 Update ClusterIssuer to use 'kind' field instead of 'namespace' 2017-10-12 20:06:29 +01:00
James Munnelly
65366e986c Add ClusterIssuer e2e tests. Fix e2e tests. 2017-09-22 09:38:59 +01:00
James Munnelly
5872bbe6d2 Add simple CA Certificate issuance e2e test 2017-09-11 10:47:59 +01:00
James Munnelly
977573db9d Put UpdateStatus on *Issuer and *Certificate 2017-09-11 10:47:59 +01:00
James Munnelly
a86f151dbb Create signing keypair fixture in CA test 2017-09-11 10:47:59 +01:00
James Munnelly
5360497de6 Add CA issuer Setup() e2e test 2017-09-11 10:47:59 +01:00
James Munnelly
ff0c62fa7e Tidy up imports 2017-09-09 18:43:52 +01:00
James Munnelly
d8f73d8ea4 Fix test util package 2017-09-09 02:17:50 +01:00
James Munnelly
8f9524dd5e Fix e2e tests 2017-09-09 02:14:07 +01:00
James Munnelly
9e6bd026e3 Wait for CRD to no longer exist after each test 2017-09-08 22:51:01 +01:00
James Munnelly
329ffab15a Make Certificate loop use Issuer conditions 2017-09-08 22:37:48 +01:00
James Munnelly
6d302c57e3 Fix tests for conditions. Add test for failed registration. 2017-09-08 22:27:10 +01:00
James Munnelly
a6edfaf78b Add e2e test framework and basic Issuer test
Update Makefile and travis to run e2e tests

Add ubuntu-nsenter image

Fix typo in target name

Add image pull policy flag for e2e tests

Set config path env vars for e2e tests
2017-09-08 16:25:21 +01:00