Commit Graph

22 Commits

Author SHA1 Message Date
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