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

Merge Havoc to CTF #1084

Merged
merged 7 commits into from
Aug 22, 2024
Merged

Merge Havoc to CTF #1084

merged 7 commits into from
Aug 22, 2024

Conversation

skudasov
Copy link
Collaborator

@skudasov skudasov commented Aug 22, 2024

This PR moves https://github.com/smartcontractkit/havoc to CTF.
It removes all CLI code, we'll use k8schaos library in the future, renamed this module to havoc.


Below is a summarization created by an LLM (gpt-4-0125-preview). Be mindful of hallucinations and verify accuracy.

Why

The changes introduce new functionality for chaos testing within Kubernetes environments, specifically targeting the Havoc testing framework. It includes the implementation of chaos experiments like network chaos, pod failures, stress testing, and integration with Grafana for observability. Additionally, it provides utilities for working with Kubernetes objects and executing shell commands, along with configuration files and test data for validation.

What

  • Added core functionality for chaos testing in Kubernetes with the Havoc framework.
  • Implemented various chaos experiment types (PodChaos, StressChaos, NetworkChaos, etc.).
  • Provided Grafana integration for annotating chaos events on dashboards.
  • Included utility functions for Kubernetes client creation and command execution.
  • Supplied configuration files, shell scripts, and test data for testing and demonstration purposes.

@cl-sonarqube-production
Copy link

Quality Gate failed Quality Gate failed

Failed conditions
15.3% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube

@skudasov skudasov marked this pull request as ready for review August 22, 2024 14:05
@skudasov skudasov requested review from sebawo and a team as code owners August 22, 2024 14:05
@skudasov skudasov merged commit df8e03c into main Aug 22, 2024
35 of 38 checks passed
@skudasov skudasov deleted the merge-havoc branch August 22, 2024 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants