Hongchao Deng
4d8829ed24
ci: provide OPERATOR_IMAGE option
2017-05-02 15:19:49 -07:00
Hongchao Deng
9d9301565a
backup: use Deployment to manage sidecar instead od ReplicaSet
...
There are also code that handles backward compatibility:
```
Once operator is upgraded, all backup-enabled cluster will go through
an upgrade process that deletes backup sidecar's ReplicaSet and creates
new Deployment for sidecar. If upgrading failed for any reason, cluster
TPR's `status.phase` will be FAILED. Recreate of the cluster TPR is
needed on failure case.
```
2017-05-02 10:57:41 -07:00
Hongchao Deng
510adfb7cf
hack/test: add upgrade test
2017-04-28 13:46:36 -07:00
Hongchao Deng
9c4ecb80a7
Merge pull request #1020 from hongchaodeng/f
...
hack/test: clean up
2017-04-28 10:54:59 -07:00
Hongchao Deng
6634923fa7
hack/test: clean up
...
- indent
- combine two list packages into one var
2017-04-28 10:28:00 -07:00
Hongchao Deng
0bc16aa6cf
upgradetest: add framework for operator deploy
2017-04-28 10:25:53 -07:00
hasbro17
63696746ee
add unused and gosimple checks
2017-04-24 16:53:48 -07:00
Hongchao Deng
c1566b82b9
*: get rid of /bin/sh in container commands
2017-04-21 12:50:32 -07:00
Hongchao Deng
d28fec7652
rbac_util: make rbac setup/cleanup namespace specific
...
Test infra needs this for concurrent runs.
What's more, making this namespace specific is more manageable.
2017-04-21 00:55:39 -07:00
hasbro17
1b6c16a617
rbac_utils: check for TEST_NAMESPACE env variable
2017-03-21 11:27:04 -07:00
Narayanan Singaram
d7467efdb7
Modified build script to support both 'go build' & 'go compile'
2017-03-16 21:23:40 -07:00
Narayanan Singaram
356b617287
Fixed the build script to work on Mac
2017-03-16 14:23:47 -07:00
Xiang
b35646f80b
build: add OS and Arch evn
2017-03-13 11:08:44 -07:00
Hongchao Deng
77ae1c7c0e
ci: fix bad assumptions
2017-03-07 14:41:13 -08:00
hasbro17
1889079736
ci: add test selector flag in jenkins script
2017-03-06 09:25:49 -08:00
Hongchao Deng
8275422f9a
ci: mute untar message
2017-03-03 10:44:51 -08:00
hasbro17
84d43ddcee
ci: rbac_utils for setup and cleanup
2017-03-02 10:13:21 -08:00
hasbro17
e2974679a5
ci: create role and binding if rbac present
2017-03-01 17:10:42 -08:00
Hongchao Deng
3e84247b60
ci: run e2e against k8s master
2017-03-01 14:00:25 -08:00
Hongchao Deng
260ff31db7
test: refactor cliente2e as a test option
...
This helps us set up another jenkins for it separately.
2017-02-28 20:56:19 -08:00
Hongchao Deng
33ba21fbfb
test_check: ignore _test
2017-02-28 12:35:56 -08:00
Hongchao Deng
92cab92953
test: get rid of KUBERNETES_KUBECONFIG_PATH
...
That's jenkins specific variable.
We should use KUBECONFIG instead.
2017-02-28 09:55:07 -08:00
Haseeb Tariq
d5b7ed40d2
Merge pull request #810 from hasbro17/haseeb/code_coverage
...
hack/test: call codecov bash script from inside unittest
2017-02-22 11:54:19 -08:00
hasbro17
0b361dad8a
hack/test: call codecov bash script from inside unittest
2017-02-22 10:28:37 -08:00
Haseeb Tariq
e1a624916e
Merge pull request #804 from hasbro17/haseeb/code_coverage
...
hack/test: generate code coverage report
2017-02-21 09:40:23 -08:00
hasbro17
2e6df496dc
hack/test: add comment
2017-02-21 09:37:05 -08:00
hasbro17
4af972d0ec
hack/test: generate code coverage report
2017-02-21 00:45:30 -08:00
Hongchao Deng
43343c416b
client_e2e: in cluster test covering client
2017-02-18 15:43:08 -08:00
Xiang Li
883c0cf2a1
Merge pull request #745 from coreos/version
...
*: print out gitsha and go version
2017-02-06 11:33:32 -08:00
Xiang
f15700b120
*: print out gitsha and go version
2017-02-06 11:11:11 -08:00
Xiang
69557d1de0
test: enable race detector
2017-02-01 14:21:42 -08:00
Hongchao Deng
cb221bae36
dockerfile: version base image
2017-01-31 16:21:26 -08:00
Hongchao Deng
675d7e39b0
build: speed up using "go install"
2017-01-30 12:42:03 -08:00
Hongchao Deng
1b4b52f7b6
doc: add developer guide
...
move most of it from release doc to developer guide.
move release doc from hack/release to doc/dev.
2017-01-25 20:48:41 -08:00
dhilipkumars
5010683998
Add Developer Guide
2017-01-25 19:49:58 -08:00
Hongchao Deng
154760070e
glide: strip vendor
2017-01-19 18:38:21 -08:00
Hongchao Deng
6fd750180c
Revert "*: add glide install options"
2017-01-13 21:42:49 -08:00
Hongchao Deng
df6a504a38
*: add glide install options
...
add “--strip-vendor --skip-test” to glide install
2017-01-13 11:56:07 -08:00
Hongchao Deng
b2404fe6be
jenkins: mute glide and docker stdout
2017-01-09 16:25:55 -08:00
Hongchao Deng
97ef7713df
test: don't enable -v
2017-01-04 20:04:01 -08:00
Hongchao Deng
9ee250ea46
s3_backend: add (integration) test for purge
2016-12-20 14:51:41 -08:00
Hongchao Deng
5a0acb577b
add PARALLEL_TEST option
2016-12-19 21:54:44 -08:00
Hongchao Deng
a3e99199bf
e2e: add S3 test
...
note:
- jenkins config change: S3_TEST_ENABLED -> AWS_TEST_ENABLED
2016-12-14 11:43:12 -08:00
Hongchao Deng
d56ef1162e
jenkins: minor update to match new setup
...
We have new config setup in Jenkins jobs.
This change is to make use of the new config.
2016-12-13 17:32:14 -08:00
Hongchao Deng
ba28a67c32
e2e: framework use ns string param directly
...
We have changed the jenkins setup to create namespace outside.
We don't need to create ns again.
It also doesn't make sense to get the ns object from k8s again.
The 'Namespace' field in framework should be changed to string too
so that we can just use given param directly.
2016-12-13 16:44:15 -08:00
Hongchao Deng
63190ace4b
Dockerfile: add ca-certificates in alpine image
...
alpine doesn’t have CA certificates. We need to add them so that AWS
client could be created securely.
2016-12-08 18:40:10 -08:00
Hongchao Deng
efd0de93f3
e2e_test: increase timeout to 30m
2016-11-30 23:00:11 -08:00
Hongchao Deng
8e76a1a11e
backup: add test for version compatibility
2016-11-27 10:08:20 -08:00
Hongchao Deng
7590ff772c
build: shrink docker image size
2016-11-18 08:37:25 -08:00
Hongchao Deng
5022a2d523
combine backup into operator image
2016-11-02 13:37:31 -07:00