Commit Graph
47 Commits
Author SHA1 Message Date
jetstack-botandGitHub 7292937057 Merge pull request #1010 from munnerz/tiller-e2e-notice
e2e: remove old notice about Tiller addon
2018-10-26 02:07:39 +01:00
James MunnellyandGitHub f402c674bb Update PodStartTimeout
This is to try and reduce test flakes relating to pod start timeouts during e2e's

Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-25 22:55:27 +01:00
James Munnelly 1bec153073 e2e: remove old notice about Tiller addon
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-25 18:58:24 +01:00
jetstack-botandGitHub 0d4c45d303 Merge pull request #988 from munnerz/cf-creds
Don't fail e2e's if cloudflare dns01 credentials are not provided
2018-10-23 19:33:01 +01:00
James Munnelly ca8d4cd085 Add WaitForAllPodsRunningInNamespace function as an addon helper
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-23 18:45:55 +01:00
James Munnelly 748da93d85 Use --wait flag when installing e2e charts
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-23 14:48:10 +01:00
James Munnelly 44b588b192 Load cloudflare credentials from environment instead of CLI args
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-23 14:36:46 +01:00
James Munnelly 5be82139d4 Add SkipError type
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-23 14:24:38 +01:00
James Munnelly af2faef241 Fix using Bazel built helm during e2e tests
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-23 01:40:08 +01:00
James Munnelly dc3eedda8f Create Addon as an exported var in addon package
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-19 11:41:11 +01:00
James Munnelly 6fb9858e17 Fix CA issuer ClusterIssuer e2e test
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-18 15:07:55 +01:00
James Munnelly 8562dfa897 Use unique domains in all HTTP01 and DNS01 tests
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-18 14:47:54 +01:00
James Munnelly f8f4d003ec Add --report-prefix option
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-18 14:38:45 +01:00
James Munnelly b60138c082 Fix waiting for test pods to become ready
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-18 14:19:05 +01:00
James Munnelly d37a7ecd99 Run helm init --client-only during tests
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-18 13:27:05 +01:00
James Munnelly 4665c1c022 Update boilerplate headers
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-18 13:27:05 +01:00
James Munnelly ecda543dcb Refactor e2e test framework
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-18 13:27:05 +01:00
William Lightning 3d09d98bd7 extract rbacClusterRoleHasAccessToResource out of certificate_rbac test to test framework util
Signed-off-by: William Lightning <wlightning@fuelmedical.com>
2018-09-19 10:19:04 -07:00
William Lightning 57bf83dea4 Add basic tests for certificate permissions
Signed-off-by: William Lightning <wlightning@fuelmedical.com>
2018-09-18 14:59:55 -07:00
James Munnelly db65d6a170 run //hack:update-bazel
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-09-13 11:24:48 +01:00
James Munnelly 51195e4c5f Update license header and add header to every file
Signed-off-by: James Munnelly <james.munnelly@jetstack.io>
2018-08-13 15:53:37 +01:00
Louis Taylor 4601c95557 Use new WaitCertificateIssuedValid everywhere 2018-07-19 16:26:15 +01:00
Louis Taylor 2e97514c5e Add test 2018-07-06 18:03:02 +01:00
James Munnelly 93ac442206 Increase timeout for wildcard and apex domain e2e test 2018-04-26 12:12:32 +01:00
James Munnelly 676d2f3ea6 Fix e2e test framework and ingress-shim unit tests 2018-04-09 18:33:23 +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 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 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 228e45e2bb Properly set ACMEURL in e2e tests 2018-01-13 16:07:59 +00:00
James Munnelly df279f3e63 Add boulder helm chart. Install boulder during e2e tests. 2018-01-13 15:19:48 +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 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 103cafc77b Fix e2e test imports 2017-11-03 15:09:07 +00: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 65366e986c Add ClusterIssuer e2e tests. Fix e2e tests. 2017-09-22 09:38:59 +01:00
James Munnelly ff0c62fa7e Tidy up imports 2017-09-09 18:43:52 +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 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