Commit Graph

28 Commits

Author SHA1 Message Date
James Munnelly
b425d77f1e Verify helm chart version is bumped when a chart is changed 2018-03-02 10:01:53 +00:00
James Munnelly
4a63f9a600 Run verify-deploy-gen as part of make verify 2018-01-25 16:28:19 +00:00
James Munnelly
f502499288 Optionally write junit reports into artifacts during e2e tests 2018-01-24 12:49:47 +00:00
jetstack-ci-bot
0c031b60d8
Merge pull request #216 from munnerz/e2e-helm
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Use cert-manager & boulder installed via helm in e2e tests. Run tests with Prow.

**What this PR does / why we need it**:

This switches our e2e tests to use cert-manager installed via helm instead of created as static pods.

This will allow us to test RBAC policies specified in the chart, as well as give a more realistic test environment for a normal use case.

**Release note**:
```release-note
End-to-end testing now covers the helm chart for cert-manager on Kubernetes 1.7-1.9
```
2018-01-15 18:20:38 +00:00
James Munnelly
df279f3e63 Add boulder helm chart. Install boulder during e2e tests. 2018-01-13 15:19:48 +00:00
James Munnelly
cee4610dd6 Enable go race detector and fix race 2017-12-01 22:54:12 +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
3ccadb5f73 Fix image-shim image in e2e tests 2017-12-01 01:38:30 +00:00
James Munnelly
8c7eaa1db8 Clean up Makefile and place Dockerfiles in subdirectory 2017-11-22 01:19:46 +00:00
James Munnelly
4cf492e729 Don't test pkg/client/ and third_party/ packages 2017-11-04 00:21:50 +00:00
James Munnelly
fa7e052ac1 Move to github.com/jetstack/cert-manager repo 2017-11-03 16:41:39 +00:00
James Munnelly
ed79785ac4 Update Makefile & update-client-gen script 2017-11-03 14:48:37 +00: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
01e5833825 Make acmesolver image configurable through CLI. Use tagged version as default. 2017-10-13 16:39:06 +01:00
James Munnelly
56a76ca9ee Add go_fmt check to verify 2017-09-11 16:35:44 +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
James Munnelly
d3ac6a0a00 Fix k8s.io/kubernetes version 2017-08-29 13:21:37 +01:00
James Munnelly
d5394b5096 Verify default and deepcopy code. Remove internal listers. 2017-08-22 12:22:58 +01:00
James Munnelly
39ea0a3064 Upgrade to use latest code-generators. Remove internal API version. 2017-08-22 12:12:46 +01:00
Christian Simon
8d7f46030a Enable gitlab-ci 2017-08-14 11:12:55 +01:00
James Munnelly
5be9dbdd9e Enable golang tests 2017-08-08 11:34:48 +01:00
James Munnelly
7937b0384c Update import paths 2017-08-07 14:46:58 +01:00
James Munnelly
0fba7e68eb Build acmesolver image 2017-08-06 23:51:53 +01:00
James Munnelly
76f7a16703 Fix kubernetes version to hash 2017-07-22 12:55:00 +01:00
James Munnelly
630654a6d4 Update import paths 2017-07-22 12:19:40 +01:00
James Munnelly
4440ac7349 Add Dockerfile. Update Makefile. 2017-07-22 02:54:54 +01:00
James Munnelly
c642807b8c Add Makefile and generator automation 2017-07-19 17:03:53 +01:00
James Munnelly
36308ae891 initial commit 2017-07-19 09:39:13 +01:00