You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/testing/travis-build.md
+11-8Lines changed: 11 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -3,15 +3,18 @@
3
3
Travis is set to run once every 24hrs against the master branch. The results of the builds can be found [here](https://travis-ci.org/operator-framework/operator-sdk/builds).
4
4
5
5
## Tool Versions
6
-
* Kubernetes: 1.9.0
6
+
* Kubernetes: 1.10.0
7
7
* Minikube: 0.25.2
8
8
* Go: 1.10.1
9
9
10
10
## Test Workflow
11
-
1. Run unit tests
12
-
2. Ensure proper formatting
13
-
3. Install the sdk
14
-
4. Create memcached operator from [user-guide.md](https://github.com/operator-framework/operator-sdk/blob/master/doc/user-guide.md#build-and-run-the-operator)
15
-
5. Fill out handler.go and types.go
16
-
6. Generate and build the operator for k8s
17
-
7. Run the deployment
11
+
1. Build the operator-sdk binary
12
+
2. Run unit tests
13
+
3. Run end-to-end tests
14
+
- Memcached: Creates the example memcached-operator project using the operator-sdk
15
+
- Cluster: Runs the example memcached-operator in the cluster and spins up 3 memcached containers in a deployment and verifies that all 3 are available.
16
+
It then scales the deployment to 4 containers and verifies that there are 4 available containers in the deployment
17
+
- Local: Same as cluster test, but runs the operator using `up local` instead of in a deployment in the cluster.
18
+
4. Ensure proper formatting
19
+
5. Ensure all go files contain a license header
20
+
6. Ensure all error messages have consistent capitalization
0 commit comments