Skip to content

Commit 2745ef9

Browse files
committed
Merge remote-tracking branch 'origin/master' into tests/multi-deployment
* origin/master: (43 commits) Disabled colorizing logs Persistent... Only remove namespace in cleanup phase Collecting logs in script Using panic safe resource watcher Ignore errors in `kubelet logs` Adding panic-safe ResourceWatcher Archive log files Prevent panic on duplicate Delete (storage) Prevent panic on duplicate Delete avoid ' ArangoDB operator -> ArangoDB Kubernetes Operator Follow file name conventions of main docs, move to Tutorials Fixed link Moved directory structure wrt docs Quickly fail when deployment no longer exists Renamed all enum values to title case Doc file rename Fixed build Typos ...
2 parents 73a3ff9 + d21279f commit 2745ef9

File tree

104 files changed

+3068
-542
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

104 files changed

+3068
-542
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
.DS_Store
22
.gobuild
33
bin
4-
4+
logs

CHANGELOG.md

+103
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
# Change Log
2+
3+
## [Unreleased](https://github.com/arangodb/kube-arangodb/tree/HEAD)
4+
5+
[Full Changelog](https://github.com/arangodb/kube-arangodb/compare/0.0.1...HEAD)
6+
7+
**Closed issues:**
8+
9+
- make sure scripts terminate to avoid hanging CI [\#63](https://github.com/arangodb/kube-arangodb/issues/63)
10+
- prefix environment variables [\#62](https://github.com/arangodb/kube-arangodb/issues/62)
11+
- warning when passing string literal "None" as spec.tls.caSecretName [\#60](https://github.com/arangodb/kube-arangodb/issues/60)
12+
13+
**Merged pull requests:**
14+
15+
- Added helper to prepull arangodb \(enterprise\) image. This allows the normal tests to have decent timeouts while prevent a timeout caused by a long during image pull. [\#94](https://github.com/arangodb/kube-arangodb/pull/94)
16+
- Tracking recent pod terminations [\#91](https://github.com/arangodb/kube-arangodb/pull/91)
17+
- Enable LONG on kube-arangodb-long test [\#90](https://github.com/arangodb/kube-arangodb/pull/90)
18+
- Tests/modes [\#88](https://github.com/arangodb/kube-arangodb/pull/88)
19+
- increase timeout for long running tests [\#87](https://github.com/arangodb/kube-arangodb/pull/87)
20+
- fix rocksdb\_encryption\_test [\#86](https://github.com/arangodb/kube-arangodb/pull/86)
21+
- fix - /api/version will answer on all servers \(not leader only\) [\#85](https://github.com/arangodb/kube-arangodb/pull/85)
22+
- fixes required after merge [\#84](https://github.com/arangodb/kube-arangodb/pull/84)
23+
- Deployment state -\> phase [\#83](https://github.com/arangodb/kube-arangodb/pull/83)
24+
- Added detection on unschedulable pods [\#82](https://github.com/arangodb/kube-arangodb/pull/82)
25+
- AsOwner no longer things the owner refers to a controller. It refers to the ArangoDeployment [\#81](https://github.com/arangodb/kube-arangodb/pull/81)
26+
- Store & compare hash of secrets. [\#80](https://github.com/arangodb/kube-arangodb/pull/80)
27+
- Control jenkins from git commit log. [\#79](https://github.com/arangodb/kube-arangodb/pull/79)
28+
- Fix scale-up [\#78](https://github.com/arangodb/kube-arangodb/pull/78)
29+
- Added terminated-pod cleanup to speed up re-creation of pods. [\#77](https://github.com/arangodb/kube-arangodb/pull/77)
30+
- add upgrade tests [\#76](https://github.com/arangodb/kube-arangodb/pull/76)
31+
- check result of api version call [\#75](https://github.com/arangodb/kube-arangodb/pull/75)
32+
- Also watch changes in PVCs and Services [\#74](https://github.com/arangodb/kube-arangodb/pull/74)
33+
- Feature/test individual pod deletion [\#72](https://github.com/arangodb/kube-arangodb/pull/72)
34+
- Moved low level resource \(pod,pvc,secret,service\) creation & inspection to resources sub-package. [\#71](https://github.com/arangodb/kube-arangodb/pull/71)
35+
- Moved reconciliation code to separate package [\#70](https://github.com/arangodb/kube-arangodb/pull/70)
36+
- Test/different deployments resilient [\#69](https://github.com/arangodb/kube-arangodb/pull/69)
37+
- Store accepted spec [\#68](https://github.com/arangodb/kube-arangodb/pull/68)
38+
- Fixed behavior for scaling UI integration wrt startup of the cluster [\#67](https://github.com/arangodb/kube-arangodb/pull/67)
39+
- Fixed immitable `mode` field. [\#66](https://github.com/arangodb/kube-arangodb/pull/66)
40+
- Integrate with scaling web-UI [\#65](https://github.com/arangodb/kube-arangodb/pull/65)
41+
- add test for different deployments [\#64](https://github.com/arangodb/kube-arangodb/pull/64)
42+
- Fixed validation of tls.caSecretName=None [\#61](https://github.com/arangodb/kube-arangodb/pull/61)
43+
- Feature/add tests for immutable cluster parameters [\#59](https://github.com/arangodb/kube-arangodb/pull/59)
44+
- rename test function [\#58](https://github.com/arangodb/kube-arangodb/pull/58)
45+
- Detecting ImageID & ArangoDB version. [\#57](https://github.com/arangodb/kube-arangodb/pull/57)
46+
- Adds ssl support for scaling test [\#53](https://github.com/arangodb/kube-arangodb/pull/53)
47+
- Rotation support for members. [\#49](https://github.com/arangodb/kube-arangodb/pull/49)
48+
- begin to add tests for `apis/storage/v1alpha` [\#36](https://github.com/arangodb/kube-arangodb/pull/36)
49+
50+
## [0.0.1](https://github.com/arangodb/kube-arangodb/tree/0.0.1) (2018-03-20)
51+
**Merged pull requests:**
52+
53+
- Changed scope of ArangoLocalStorage to Cluster. [\#56](https://github.com/arangodb/kube-arangodb/pull/56)
54+
- External crd creation [\#55](https://github.com/arangodb/kube-arangodb/pull/55)
55+
- Rename default docker image to kube-arangodb [\#54](https://github.com/arangodb/kube-arangodb/pull/54)
56+
- Splitting operator in two parts [\#52](https://github.com/arangodb/kube-arangodb/pull/52)
57+
- Turn on TLS by default [\#51](https://github.com/arangodb/kube-arangodb/pull/51)
58+
- Rename repository to `kube-arangodb` [\#48](https://github.com/arangodb/kube-arangodb/pull/48)
59+
- Use single image tag to prevent polluting the docker hub [\#47](https://github.com/arangodb/kube-arangodb/pull/47)
60+
- Renamed pkg/apis/arangodb to pkg/apis/deployment [\#46](https://github.com/arangodb/kube-arangodb/pull/46)
61+
- Added release code [\#45](https://github.com/arangodb/kube-arangodb/pull/45)
62+
- Cleaning up deployment, avoiding docker overrides [\#44](https://github.com/arangodb/kube-arangodb/pull/44)
63+
- TLS support [\#43](https://github.com/arangodb/kube-arangodb/pull/43)
64+
- Adds "Storage Resource" to user README [\#42](https://github.com/arangodb/kube-arangodb/pull/42)
65+
- Reworked TLS spec [\#41](https://github.com/arangodb/kube-arangodb/pull/41)
66+
- Set sesion affinity for coordinator [\#40](https://github.com/arangodb/kube-arangodb/pull/40)
67+
- Set PublishNotReadyAddresses on coordinator&syncmasters service [\#39](https://github.com/arangodb/kube-arangodb/pull/39)
68+
- Prepare test cluster [\#38](https://github.com/arangodb/kube-arangodb/pull/38)
69+
- Run tests on multiple clusters in parallel [\#37](https://github.com/arangodb/kube-arangodb/pull/37)
70+
- Implemented isDefault behavior of storage class [\#35](https://github.com/arangodb/kube-arangodb/pull/35)
71+
- add some tests for util/k8sutil/erros.go [\#32](https://github.com/arangodb/kube-arangodb/pull/32)
72+
- Adding `ArangoLocalStorage` resource \(wip\) [\#31](https://github.com/arangodb/kube-arangodb/pull/31)
73+
- Added custom resource spec for ArangoDB Storage operator. [\#30](https://github.com/arangodb/kube-arangodb/pull/30)
74+
- Added unit tests for k8s secrets & utility methods [\#28](https://github.com/arangodb/kube-arangodb/pull/28)
75+
- Added unit test for creating affinity [\#27](https://github.com/arangodb/kube-arangodb/pull/27)
76+
- More simple tests [\#26](https://github.com/arangodb/kube-arangodb/pull/26)
77+
- Changed default storage engine to RocksDB [\#24](https://github.com/arangodb/kube-arangodb/pull/24)
78+
- Adding command line tests for arangod commandlines. [\#23](https://github.com/arangodb/kube-arangodb/pull/23)
79+
- UnitTests for plan\_builder [\#22](https://github.com/arangodb/kube-arangodb/pull/22)
80+
- Unit tests for apis/arangodb/v1alpha package [\#21](https://github.com/arangodb/kube-arangodb/pull/21)
81+
- Fix bash error [\#20](https://github.com/arangodb/kube-arangodb/pull/20)
82+
- Renamed Controller to Operator [\#19](https://github.com/arangodb/kube-arangodb/pull/19)
83+
- Cleanup kubernetes after tests [\#18](https://github.com/arangodb/kube-arangodb/pull/18)
84+
- Adding rocksdb encryption key support [\#17](https://github.com/arangodb/kube-arangodb/pull/17)
85+
- Adding test design [\#16](https://github.com/arangodb/kube-arangodb/pull/16)
86+
- avoid sub-shell creation [\#15](https://github.com/arangodb/kube-arangodb/pull/15)
87+
- Adding authentication support [\#14](https://github.com/arangodb/kube-arangodb/pull/14)
88+
- Scaling deployments [\#13](https://github.com/arangodb/kube-arangodb/pull/13)
89+
- Test framework [\#11](https://github.com/arangodb/kube-arangodb/pull/11)
90+
- Change docs to "authentication default on" [\#10](https://github.com/arangodb/kube-arangodb/pull/10)
91+
- Pod monitoring [\#9](https://github.com/arangodb/kube-arangodb/pull/9)
92+
- Pod affinity [\#8](https://github.com/arangodb/kube-arangodb/pull/8)
93+
- Extended storage docs wrt local storage [\#7](https://github.com/arangodb/kube-arangodb/pull/7)
94+
- Adding event support [\#6](https://github.com/arangodb/kube-arangodb/pull/6)
95+
- Added pod probes [\#5](https://github.com/arangodb/kube-arangodb/pull/5)
96+
- Creating pods [\#4](https://github.com/arangodb/kube-arangodb/pull/4)
97+
- Extending spec & status object. Implementing service & pvc creation [\#3](https://github.com/arangodb/kube-arangodb/pull/3)
98+
- Initial API objects & vendoring [\#2](https://github.com/arangodb/kube-arangodb/pull/2)
99+
- Added specification of custom resource [\#1](https://github.com/arangodb/kube-arangodb/pull/1)
100+
101+
102+
103+
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*

Jenkinsfile.groovy

+2
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ def buildCleanupSteps(Map myParams, String kubeConfigRoot, String kubeconfig) {
101101
"DOCKERNAMESPACE=${myParams.DOCKERNAMESPACE}",
102102
"KUBECONFIG=${kubeConfigRoot}/${kubeconfig}",
103103
]) {
104+
sh "./scripts/collect_logs.sh ${env.DEPLOYMENTNAMESPACE} ${kubeconfig}"
105+
archive includes: 'logs/*'
104106
sh "make cleanup-tests"
105107
}
106108
}

0 commit comments

Comments
 (0)