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

[Merged by Bors] - Increase timeout for pip installation in test #535

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@ All notable changes to this project will be documented in this file.
- Operator-rs: 0.21.1 -> 0.22.0 ([#516]).
- Include chart name when installing with a custom release name ([#517], [#518]).
- Fixed bug where client TLS could not be disabled ([#529]).
- Replaced python image with testing-tools image for integration tests ([#535]).

[#516]: https://github.com/stackabletech/zookeeper-operator/pull/516
[#517]: https://github.com/stackabletech/zookeeper-operator/pull/517
[#518]: https://github.com/stackabletech/zookeeper-operator/pull/518
[#529]: https://github.com/stackabletech/zookeeper-operator/pull/529
[#535]: https://github.com/stackabletech/zookeeper-operator/pull/535

## [0.10.0] - 2022-06-23

Expand Down
2 changes: 1 addition & 1 deletion tests/templates/kuttl/smoke/01-install-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ spec:
spec:
containers:
- name: zk-test-helper
image: python:3.10-slim
image: docker.stackable.tech/stackable/testing-tools:0.1.0-stackable0.1.0
stdin: true
tty: true
2 changes: 1 addition & 1 deletion tests/templates/kuttl/smoke/02-assert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ kind: TestAssert
metadata:
name: test-regorule
commands:
- script: kubectl exec -n $NAMESPACE zk-test-helper-0 -- bash -c "source /tmp/venv/bin/activate && python /tmp/test_zookeeper.py -n $NAMESPACE"
- script: kubectl exec -n $NAMESPACE zk-test-helper-0 -- python /tmp/test_zookeeper.py -n $NAMESPACE
- script: kubectl exec -n $NAMESPACE test-zk-server-primary-0 -- /tmp/test_tls.sh $NAMESPACE
- script: kubectl exec -n $NAMESPACE test-zk-server-primary-0 -- /tmp/test_heap.sh
3 changes: 0 additions & 3 deletions tests/templates/kuttl/smoke/02-prepare-test-zookeeper.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,5 @@ apiVersion: kuttl.dev/v1beta1
kind: TestStep
commands:
- script: kubectl cp -n $NAMESPACE ./test_zookeeper.py zk-test-helper-0:/tmp
- script: kubectl cp -n $NAMESPACE ./requirements.txt zk-test-helper-0:/tmp
- script: kubectl exec -n $NAMESPACE zk-test-helper-0 -- python -m venv /tmp/venv
- script: kubectl exec -n $NAMESPACE zk-test-helper-0 -- bash -c 'source /tmp/venv/bin/activate && pip install -q -r /tmp/requirements.txt'
- script: kubectl cp -n $NAMESPACE ./test_tls.sh test-zk-server-primary-0:/tmp
- script: kubectl cp -n $NAMESPACE ./test_heap.sh test-zk-server-primary-0:/tmp
1 change: 0 additions & 1 deletion tests/templates/kuttl/smoke/requirements.txt

This file was deleted.