Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enhancement(tests): Kubernetes E2E test framework #2702

Merged
merged 69 commits into from
Jul 29, 2020
Merged
Changes from 1 commit
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
d2ea174
Correct test-integration-kubernetes at Makefile
MOZGIII May 28, 2020
8eff64c
Fix the tag overwrite logic at scripts/deploy-kubernetes-test.sh
MOZGIII May 28, 2020
656df58
Make scripts/test-integration-kubernetes.sh more tweakable
MOZGIII May 28, 2020
e2f03f2
Reorder namespace and global config deletion command
MOZGIII Jun 15, 2020
fd97475
Add kubernetes-test-framework
MOZGIII May 28, 2020
eff8b30
Implement a first PoC kubernetes test
MOZGIII May 28, 2020
3b4fd8e
K8s integration test is really an e2e test, rename accordingly
MOZGIII Jun 1, 2020
ff65e04
Do not even publish container image at CI since we use "none" minikub…
MOZGIII Jun 1, 2020
17d6af9
Isolate kubernetes e2e tests via requried-features
MOZGIII Jun 1, 2020
81fc716
Add lock to the test framework
MOZGIII Jun 10, 2020
ef47617
Add some test cases to k8s e2e tests
MOZGIII Jun 10, 2020
c1c36ac
Add the ability to use quick debug builds in e2e tests
MOZGIII Jun 15, 2020
ab5703d
Use a single thread for test
MOZGIII Jun 15, 2020
0783690
Made test framework async
MOZGIII Jun 15, 2020
0d5a541
Allow specifying scope
MOZGIII Jun 15, 2020
291e513
Correct arguments preparation for cargo test at scripts/test-e2e-kube…
MOZGIII Jun 16, 2020
b067258
Get rid of $(RUN) at test-e2e-kubernetes target at Makefile
MOZGIII Jun 16, 2020
e241e62
Set LOG at distribution/kubernetes/vector-namespaced.yaml
MOZGIII Jun 16, 2020
5459179
Add a test to validate the pods are properly excluded
MOZGIII Jun 18, 2020
2289834
Fix a typo
MOZGIII Jun 18, 2020
c96c14c
Add test to assert we properly collect logs from multiple namespaces
MOZGIII Jun 18, 2020
b22a26d
Polish the test framework API
MOZGIII Jun 18, 2020
ea926d7
Add E2E tests section to the contribution guide
MOZGIII Jun 18, 2020
3a23d85
Kubernetes E2E tests are no longer experimental, should work consiste…
MOZGIII Jun 18, 2020
d82e44b
Add kubernetes version to the test name
MOZGIII Jun 18, 2020
1716843
Bump minikube
MOZGIII Jun 18, 2020
1b3631c
Bump kubernetes releases
MOZGIII Jun 18, 2020
c3656b9
Use minikube cache instead of manually moving image around
MOZGIII Jun 23, 2020
ae62815
Test against multiple container runtimes
MOZGIII Jun 23, 2020
e27ade7
Remove unused repeating_echo_cmd
MOZGIII Jun 23, 2020
b34f78f
Display timeout
MOZGIII Jun 23, 2020
a619453
Shorter title
MOZGIII Jun 23, 2020
4b56580
Switch to docker driver at minikube
MOZGIII Jun 23, 2020
6aaa21d
Remove the no_newline_at_eol test
MOZGIII Jun 25, 2020
d0d02cb
Increase timeout to rollout vector to 30s
MOZGIII Jun 25, 2020
945ac52
Temporarily disable crio
MOZGIII Jun 25, 2020
977d5fc
Apply workaround for CRIO
MOZGIII Jun 25, 2020
3f2e1d0
Fix clippy
MOZGIII Jun 25, 2020
c793ab3
Unset log level in skaffold dev config to fallback to the one set in …
MOZGIII Jul 1, 2020
9bcd7a9
Add exec_tail to the test framework
MOZGIII Jul 2, 2020
e9548cc
Fix a typo at the comment
MOZGIII Jul 7, 2020
2691e10
Fix the typos and styling at the crate doccomment
MOZGIII Jul 7, 2020
71690f3
Bump k8s versions for E2E tests at CI
MOZGIII Jul 7, 2020
7cb5dc7
Rename template params to pascal case
MOZGIII Jul 19, 2020
db531ca
Remove Drop from ResourceFile
MOZGIII Jul 19, 2020
de903fd
Proper authors
MOZGIII Jul 21, 2020
97af531
Rename crate to k8s-test-framework
MOZGIII Jul 21, 2020
0ca655d
Correct kubectl comment at the interface
MOZGIII Jul 21, 2020
3ae989f
Bumped k8s and minikube versions at CI
MOZGIII Jul 22, 2020
3110bb8
Add a comment explaining the timeout at pod filtering test
MOZGIII Jul 22, 2020
5b7f17b
Rollback minikube to 0.11.0
MOZGIII Jul 22, 2020
bf37696
Update CONTRIBUTING.md
MOZGIII Jul 23, 2020
dba975f
Update distribution/kubernetes/vector-namespaced.yaml
MOZGIII Jul 23, 2020
a173f5d
Fix an error at CONTRIBUTING.md
MOZGIII Jul 23, 2020
ff84036
Remove a trivial line from the doc
MOZGIII Jul 23, 2020
f29e56f
Do second attemtp to start up minikube if the first one failed
MOZGIII Jul 24, 2020
3f4fdd7
Print minikube logs if it fails to start
MOZGIII Jul 24, 2020
f1bd433
Provide a default for CONTAINER_IMAGE_REPO if USE_MINIKUBE_CACHE is set
MOZGIII Jul 24, 2020
b418c47
Update the CONTRIBUTING.md for CONTAINER_IMAGE_REPO default if USE_MI…
MOZGIII Jul 24, 2020
949cae4
Increase all rollout/wait timeouts to one minute
MOZGIII Jul 24, 2020
b995cbc
Fix syntax error around minikube start command
MOZGIII Jul 24, 2020
c73c968
Rollback k8s v1.16.13 to v1.16.12 at CI
MOZGIII Jul 25, 2020
a9b63c8
Add minikube cache autodetection
MOZGIII Jul 28, 2020
ec3f9c5
Document USE_MINIKUBE_CACHE=auto mode
MOZGIII Jul 28, 2020
c418e3a
Add a note on minikube bug to CONTRIBUTING.md
MOZGIII Jul 28, 2020
7f16dce
Add a note on minikube on ZFS to CONTRIBUTING.md
MOZGIII Jul 28, 2020
1e702ba
Fix the doc comment at scripts/deploy-kubernetes-test.sh
MOZGIII Jul 28, 2020
ae93ca3
Apply a workaround for kubectl from snap
MOZGIII Jul 28, 2020
ce7284c
Extract and reuse scripts/skaffold-dockerignore.sh
MOZGIII Jul 28, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Unset log level in skaffold dev config to fallback to the one set in …
…container

Signed-off-by: MOZGIII <mike-n@narod.ru>
  • Loading branch information
MOZGIII committed Jul 23, 2020
commit c793ab30fa899f5f62767735d3c924485a2c674b
3 changes: 3 additions & 0 deletions kustomization.yaml
Original file line number Diff line number Diff line change
@@ -8,3 +8,6 @@ resources:
- skaffold/manifests/namespace.yaml
- skaffold/manifests/config.yaml
- distribution/kubernetes/vector-namespaced.yaml

patchesStrategicMerge:
- skaffold/manifests/patches/env.yaml
12 changes: 12 additions & 0 deletions skaffold/manifests/patches/env.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: vector
spec:
template:
spec:
containers:
- name: vector
env:
- name: LOG
$patch: delete