This repository has been archived by the owner on Mar 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Extend terminateProcess.sh with other victims * Add 5s sleep into all shell experiments * Fix version file generation * Fix the tag version of the Maven image used in CICD * Automatic update of copyright in docs * Fix YEAR property definition * Version update to 1.5.0 * Add additional details to list of configuration parameters * Add memorystore module * Add gcp common module * GCP credentials provider service moved to gcp-common module * Add assembly plugin * Renamed GcpService to GcpCredentialsProviderService * POC of a failover experiment * Always expose Anchore scan results * Increment Dockerfile to build from OpenJDK 11.0.6 * Cleaning unintentionally committed pom changes * Fix version of parent module * Fix version of parent module * Add new gcp modules into coverage module dependencies * Add second failover flavour * Move GcpConstants to gcp-common module * Use wildcard instead of user defined locations * Redesign roster generation * Set DataDogIdentifier * Platform health check added * PlatformHealth bean implementation * Load projectID from credentials metadata * Update compute unit test with GcpCredentialsMetadata bean * Memorystore error codes * Version update to 1.5.0 * Cleaning unintentionally committed pom changes * Add instance filtering * GcpMemorystoreHealth unit test * Fix incorrect package name * Remove instance state property * compareUniqueIdentifierInner implementation * GcpMemorystoreInstanceContainer unit tests * Throw an exception when recycle attempt is done * All static fields must be final * Remove redundant null check * GcpMemorystorePlatform unit tests * Remove IOException from method signature * Remove commented methods * Update GCP compute configuration variables * Update credentials warning * Remove redundant dependency * Include filter is not mandatory * Add Memorystore module to README.md * Memorystore module documentation * Fix python path * Add `Error Codes Numbering Convention` to developer documentation * Add `Error Codes Numbering Convention` to developer documentation * Add memorystore module * Add gcp common module * GCP credentials provider service moved to gcp-common module * Add assembly plugin * Renamed GcpService to GcpCredentialsProviderService * POC of a failover experiment * Fix version of parent module * Fix version of parent module * Add new gcp modules into coverage module dependencies * Add second failover flavour * Move GcpConstants to gcp-common module * Use wildcard instead of user defined locations * Redesign roster generation * Set DataDogIdentifier * Platform health check added * PlatformHealth bean implementation * Load projectID from credentials metadata * Update compute unit test with GcpCredentialsMetadata bean * Memorystore error codes * Add instance filtering * GcpMemorystoreHealth unit test * Fix incorrect package name * Remove instance state property * compareUniqueIdentifierInner implementation * GcpMemorystoreInstanceContainer unit tests * Throw an exception when recycle attempt is done * All static fields must be final * Remove redundant null check * GcpMemorystorePlatform unit tests * Remove IOException from method signature * Remove commented methods * Update GCP compute configuration variables * Update credentials warning * Remove redundant dependency * Include filter is not mandatory * Add Memorystore module to README.md * Memorystore module documentation * GCP Error codes refactoring * Revert back to original design and load GCP project id from configuration variables * Add GCP configuration examples * Cover partially tested conditions reported by Sonar * Remove real project name * Change platform level * Do not pass Redis Instance to Container * The FailoverInstanceRequest class should not be imported into the Container class * Replace Items with Map.Entry * Remove redundant email field * Fix formatting * Allow stubbing of final classes * Test experiment runnables * Test instance queries * Make CloudRedisClient a global mock * Reference detailed documentation on protection mode * Docker build job need version info * Remove Anchore from GitLab CI It is catching false positives preventing merges, and we are moving to GitHub with Snyk container image scanning. * Add a CODEOWNERS file in the .github directory for use in GitHub * Skip self healing when not method is set * Update to latest version of k8s client in order to allow experiments on EKS clusters based of k8s 1.17.x * Update list of prefixes * Correct spring profile selection * Describe how to test SA role binging * Swagger UI * AWS SDK * GCP SDK * Correct sequence of steps to create an SA * Update parent openjdk image to address SSL issues while communicating with K8S platforms * Add a note regarding DD startup (#8) * Update GCP SDK * Patch NPE while generating compute container from an instance with no access to Internet * Upgrade Spring Boot * Mockito collision * GCP Compute platform health implementation * Platform Health unit test * Correct platform health logic * GCP Compute instance states in constants * Update docs * Sabil chaos engine (#11) Experimenting on the AWS handbook * Update k8s client * Update k8s docs * Avoid NPE when pod has no owner * Allow experiments on multiple namespaces * Update existing unit tests * Add test * Remove redundant assertion * Add parent worker node information into k8s container metadata * Platform status must be failed when it is not possible to list pods in given namespace * Follow naming conventions * Add test * Update docs Co-authored-by: Andrew Mantha <andrew.mantha@gemalto.com> Co-authored-by: Andrew Mantha <andrew.mantha@thalesgroup.com> Co-authored-by: Andrew Mantha <andrew.mantha@cplcloud.com> Co-authored-by: a-mantha <45573663+a-mantha@users.noreply.github.com> Co-authored-by: sabil05 <59994038+sabil05@users.noreply.github.com>
- Loading branch information
1 parent
1e8b7a2
commit 6df8394
Showing
95 changed files
with
2,430 additions
and
314 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Thales Group Chaos Engine Admins are default owners | ||
* @ThalesGroup/chaos-engine-admins |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 4 additions & 1 deletion
5
chaosengine-core/src/main/resources/ssh/experiments/cpuBurn.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 5 additions & 1 deletion
6
chaosengine-core/src/main/resources/ssh/experiments/forkBomb.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
#!/bin/sh | ||
# Description: Fork Bomb experiment to consume CPU | ||
# Dependencies: | ||
# Dependencies: sleep | ||
|
||
# This extra wait time is added in order to synchronize startup of parralel experiments | ||
sleep 5 | ||
|
||
bomb() { bomb | bomb & }; bomb; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 4 additions & 1 deletion
5
chaosengine-core/src/main/resources/ssh/experiments/nullRoute.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
#!/bin/sh | ||
# Dependencies: ip | ||
# Dependencies: ip, sleep | ||
|
||
# This extra wait time is added in order to synchronize startup of parralel experiments | ||
sleep 5 | ||
|
||
ip route add blackhole 10.0.0.0/8 |
5 changes: 4 additions & 1 deletion
5
chaosengine-core/src/main/resources/ssh/experiments/starveRandomNumberGenerator.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns="http://maven.apache.org/POM/4.0.0" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<parent> | ||
<artifactId>chaosengine-experiments</artifactId> | ||
<groupId>com.thales.chaos</groupId> | ||
<version>1.5.0-SNAPSHOT</version> | ||
</parent> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<artifactId>chaosengine-gcp-common</artifactId> | ||
<version>1.5.0-SNAPSHOT</version> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>com.google.cloud</groupId> | ||
<artifactId>google-cloud-compute</artifactId> | ||
</dependency> | ||
</dependencies> | ||
|
||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.