Skip to content

Commit

Permalink
Add skeleton integration test
Browse files Browse the repository at this point in the history
In this first step, we add an empty integration test that does nothing
but list `Pipeline`s in a namespace harded coded to `arendelle`
(already used the Toy Story theme in knative/serving, needed something
different here, thanks @aaron-prindle XD).

This can be run manually against a developer's own cluster, so folks can
start adding integration tests in parallel if they want to.

This is based off the end to end tests in knative/serving
(https://github.com/knative/serving/tree/master/test#running-end-to-end-tests)
and uses the libs in knative/pkg extensively, which were made from the
libs in knative/serving. The docs weren't moved with the libs tho which
I'm trying to fix in:
* knative/serving#2097
* knative/pkg#102

The commit adds opencensus, since this is used by the test libs for
collecting and emitting metrics. We might want to use those eventually
too so that seems fine tho it would be nice if they were optional
¯\_(ツ)_/¯

This is the first step for #16, next I'll be looking into executing these
via Prow, either against a hardcoded cluster with the secrets in Prow or
going straight for kubetest + boskos.
  • Loading branch information
bobcatfish committed Oct 2, 2018
1 parent cd78d2d commit 272b618
Show file tree
Hide file tree
Showing 124 changed files with 22,249 additions and 29 deletions.
3 changes: 2 additions & 1 deletion DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ for your `KO_DOCKER_REPO` if required. To be able to push images to `gcr.io/<pro
gcloud auth configure-docker
```

4. The user you are using to interact with your k8s cluster must be a cluster admin to create role bindings:
The user you are using to interact with your k8s cluster must be a cluster admin to create role bindings:

```shell
# Using gcloud to get your current user
Expand All @@ -94,6 +94,7 @@ While iterating on the project, you may need to:
1. Update your (external) dependencies with: `./hack/update-deps.sh`.
1. Update your type definitions with: `./hack/update-codegen.sh`.
1. [Add new CRD types](#adding-new-types)
1. [Add and run tests](./test/README.md#tests)

To make changes to these CRDs, you will probably interact with:

Expand Down
110 changes: 89 additions & 21 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 272b618

Please sign in to comment.