Commit Graph

119 Commits

Author SHA1 Message Date
James Munnelly
e44bef7f03 Update hack scripts for vendorless build and tidy up invocations
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-26 12:56:15 +01:00
James Munnelly
9c0afc96d0 Only run 10 e2e test cases in parallel
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-08-02 17:33:41 +01:00
James Munnelly
fd2dd16f75 Change bazel build to only build for current --platform
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-07-02 16:10:05 +01:00
James Munnelly
c5d9830d30 Remove deploy-gen scripts
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-05-03 11:16:25 +01:00
James Munnelly
a2ed702ab1 Update Makefile and release.sh to use new release tool
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-05-03 11:16:25 +01:00
Michael FIG
afadbe27cd Build under MacOS.
Signed-off-by: Michael FIG <michael@liveblockauctions.com>
2019-04-30 10:07:26 -06:00
James Munnelly
41970407c6 Expose ginkgo.focus and skip-globals flags in e2e_test
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-04-30 12:36:18 +01:00
James Munnelly
455f99ce0c Generate LICENSES file automatically
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-04-16 14:41:05 +01:00
James Munnelly
f835a5a591 Update dependency management tools for go modules
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-04-14 15:51:38 +01:00
Solly Ross
42248a91d7 CA Injector Controller
This implements a CA injector controller using controller-runtime.
It looks at admission webhooks and APIServices with a particular
annotation, and injects the CA data from certificates.

Signed-off-by: Solly Ross <sollyross@google.com>
2019-02-26 21:47:34 -08:00
James Munnelly
149cbb30a7 Add arm32 and arm64 bazel image targets
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-08 15:10:45 +00:00
James Munnelly
4c3e305112 Use Bazel to version kubectl in e2e tests
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-01 00:21:13 +00:00
James Munnelly
ec87b60c94 Use Bazel images for nginx-ingress, vault and tiller
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-11 14:03:22 +00:00
James Munnelly
0fcc0c666c Update copyright header year
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-07 15:07:55 +00:00
jetstack-bot
8c553610ee
Merge pull request #990 from munnerz/fix-minikube
Fix up minikube e2e tests
2018-10-23 23:02:01 +01:00
James Munnelly
3c17240144 Fix up minikube e2e tests
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-23 15:10:29 +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
41e2c503ee Use bazel-built helm during e2e tests
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-18 15:29:33 +01:00
James Munnelly
d9d0a25a55 Fix DNSProvider setting BaseDomain
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-18 15:17:52 +01:00
James Munnelly
4f232495fc Pin to using tiller 2.10.0 in e2e tests
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-18 13:41:27 +01:00
James Munnelly
3c95b4b4af Don't skip RBAC tests
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-18 13:27:05 +01:00
James Munnelly
a6c5f80e6e Update run-e2e-kind.sh script
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-18 13:27:05 +01:00
James Munnelly
7a465f2618 Workaround quay.io not support v2.2 docker image manifests
Signed-off-by: James Munnelly <james.munnelly@jetstack.io>
2018-09-21 13:25:29 +01:00
James Munnelly
5ff5022344 Add 'make generate' target to run all hack generators
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-09-14 15:44:05 +01:00
James Munnelly
1ae1935e94 Use bazel for Makefile targets
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-09-13 11:25:04 +01:00
jetstack-bot
420523071d
Merge pull request #884 from munnerz/fix-junit
Fix JUnit e2e test output
2018-09-08 19:41:38 +01:00
James Munnelly
0291207551 Fix JUnit e2e test output
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-09-08 19:17:04 +01:00
James Munnelly
a80c9c6959 Standardise verify make targets
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-09-08 17:42:08 +01:00
James Munnelly
f0234a0868 Add e2e test script utilising 'kind'
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-09-07 19:55:14 +01:00
James Munnelly
e1fd5caa7e Add verify_boilerplate script to CI
Signed-off-by: James Munnelly <james.munnelly@jetstack.io>
2018-08-13 15:53:37 +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
James Munnelly
7b2f84e4d6 Add verify-reference-docs step to Makefile
Exclude docs/generated from go test checks

Add hack/verify-reference-docs.sh
2018-07-05 14:47:36 +01:00
James Munnelly
5e3360ccb4 Update dep verify step to also ensure vendor is up to date 2018-06-26 13:16:14 +01:00
James Munnelly
f7a72c42f3 Run dep status as part of CI 2018-06-26 01:02:03 +01:00
JrCs
c7b14b6027 Add DOCKER_BUILD_FLAGS environment variable
This environment variable can be use to add some flags to the docker
build command.

For example it allow the build of docker images when the developper is
behind a http proxy by using the '--build-arg http_proxy --build-arg
https_proxy' flags.
2018-05-30 10:07:56 +02:00
Ergin Babani
ffa7107158 Add back the commit sha in the org.label-schema.vcs-ref label.
It looks like it was accidentally removed in commit
8c7eaa1db8
2018-04-16 22:27:46 -04:00
James Munnelly
600dc0f018 Let bash expand api-key variables 2018-04-10 00:45:30 +01:00
James Munnelly
ce441d604f Enable DNS01 provider tests using cloudflare 2018-04-10 00:27:52 +01:00
James Munnelly
6efc97266d Use pebble instead of boulder in e2e tests 2018-03-23 18:50:45 +00:00
Euan Kemp
9233e30ef5 make: split 'verify_pr' out
This allows a developer to type 'make verify' and get working useful
output. The new char_verify behavior can't currently be run on a
developer's machine since it depends on a git pr sha being set.

I also fixed up the list of phony targets
2018-03-15 19:09:21 -07:00
Euan Kemp
9f76e28d02 make: default to building, not verifying 2018-03-15 19:09:21 -07:00
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