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

CI / Kind enhancements #24714

Merged
merged 8 commits into from Apr 4, 2023
Merged

CI / Kind enhancements #24714

merged 8 commits into from Apr 4, 2023

Conversation

aanm
Copy link
Member

@aanm aanm commented Apr 3, 2023

This PR contains a list of small bug fixes / enhancements done in our ginkgo and kind code base. Best if reviewed by commit basis.

@aanm aanm added kind/bug/CI This is a bug in the testing code. area/CI Continuous Integration testing issue or flake area/CI-improvement Topic or proposal to improve the Continuous Integration workflow release-note/ci This PR makes changes to the CI. labels Apr 3, 2023
aanm added 8 commits April 3, 2023 21:33
Knowing which kind command we are actually executing is useful for
reproducibility without using the kind.sh script.

Signed-off-by: André Martins <andre@cilium.io>
The current implementation of isTestFocused is only checking for the
FocusString. This causes some bugs in the test runs such as the
miss of some "AfterAll" executions since the ref count of all
"AfterEach"es is used by taking into account how many tests will be
executed. Checking how many tests will be executed is done by checking
if a particular test is "focused", when using a skip string, and the
test matches the test name, the test should not be marked as focused.

Signed-off-by: André Martins <andre@cilium.io>
unzip uses more resources than tar so we should us tar instead.

Signed-off-by: André Martins <andre@cilium.io>
Certain tests are relying on the node name while others are relying on
node labels. This commit fixes the uses of relying on the node name.

Signed-off-by: André Martins <andre@cilium.io>
The current egress-ip-deployment requires a VM to have a specific
interface name. Instead, always use the interface for outside traffic.

Signed-off-by: André Martins <andre@cilium.io>
This resource was missing from the list of Cilium components that should
have been deleted.

Signed-off-by: André Martins <andre@cilium.io>
The "192.168.56.13" IP address might not be always available on all
clusters. With this commit we will regenerate a manifest that uses the
IP addresses of the node instance running without Cilium, which will
make the test run on environments that are not specific to clusters with
the IP address "192.168.56.13".

Signed-off-by: André Martins <andre@cilium.io>
This taint should also be removed from all nodes since we want to use
all nodes for CI purposes.

Signed-off-by: André Martins <andre@cilium.io>
@aanm
Copy link
Member Author

aanm commented Apr 3, 2023

/test

@aanm aanm requested a review from jibi April 3, 2023 21:01
@aanm aanm marked this pull request as ready for review April 3, 2023 22:11
@aanm aanm requested review from a team as code owners April 3, 2023 22:11
@aanm aanm requested review from tklauser and nebril April 3, 2023 22:11
Copy link
Member

@jibi jibi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 for the egress-ip-deployment.yaml changes

@aanm aanm merged commit 89f9525 into cilium:master Apr 4, 2023
57 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/CI Continuous Integration testing issue or flake area/CI-improvement Topic or proposal to improve the Continuous Integration workflow kind/bug/CI This is a bug in the testing code. release-note/ci This PR makes changes to the CI.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants