Skip to content

Commit

Permalink
taking out post action env
Browse files Browse the repository at this point in the history
Signed-off-by: Paige Patton <[email protected]>
  • Loading branch information
paigerube14 authored and chaitanyaenr committed Oct 8, 2024
1 parent ef6a0b9 commit 158b429
Show file tree
Hide file tree
Showing 13 changed files with 3 additions and 18 deletions.
1 change: 0 additions & 1 deletion application-outages/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,5 @@ export DURATION=${DURATION:=600}
export NAMESPACE=${NAMESPACE:=<namespace>}
export POD_SELECTOR=${POD_SELECTOR:="{}"}
export BLOCK_TRAFFIC_TYPE=${BLOCK_TRAFFIC_TYPE:=- Ingress}
export SCENARIO_POST_ACTION=${SCENARIO_POST_ACTION:=""}
export SCENARIO_TYPE=${SCENARIO_TYPE:=application_outages_scenarios}
export SCENARIO_FILE=${SCENARIO_FILE:=scenarios/app_outage.yaml}
1 change: 0 additions & 1 deletion config.yaml.template
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ kraken:
chaos_scenarios: # List of policies/chaos scenarios to load
- $SCENARIO_TYPE: # List of chaos time scenarios to load
- $SCENARIO_FILE
$SCENARIO_POST_ACTION
cerberus:
cerberus_enabled: $CERBERUS_ENABLED # Enable it when cerberus is previously installed
cerberus_url: $CERBERUS_URL # When cerberus_enabled is set to True, provide the url where cerberus publishes go/no-go signal
Expand Down
3 changes: 1 addition & 2 deletions container-scenarios/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,4 @@ export DISRUPTION_COUNT=${DISRUPTION_COUNT:=1}
export CONTAINER_NAME=${CONTAINER_NAME:=etcd}
export ACTION=${ACTION:=1}
export SCENARIO_TYPE=${SCENARIO_TYPE:=container_scenarios}
export SCENARIO_FILE=${SCENARIO_FILE:=- scenarios/container_scenario.yaml}
export SCENARIO_POST_ACTION=${SCENARIO_POST_ACTION:=""}
export SCENARIO_FILE=${SCENARIO_FILE:=scenarios/container_scenario.yaml}
1 change: 0 additions & 1 deletion network-chaos/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ export INSTANCE_COUNT=${INSTANCE_COUNT:=1}
export INTERFACES=${INTERFACES:="[]"}
export EXECUTION=${EXECUTION:="parallel"}
export EGRESS=${EGRESS:="{bandwidth: 100mbit}"}
export SCENARIO_POST_ACTION=${SCENARIO_POST_ACTION:=""}
export SCENARIO_TYPE=${SCENARIO_TYPE:=network_chaos_scenarios}
export SCENARIO_FILE=${SCENARIO_FILE:=scenarios/network_chaos.yaml}
export TRAFFIC_TYPE=${TRAFFIC_TYPE:=egress}
Expand Down
1 change: 0 additions & 1 deletion node-scenarios/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ export TIMEOUT=${TIMEOUT:=180}
export DURATION=${DURATION:=120}
export SCENARIO_TYPE=${SCENARIO_TYPE:=node_scenarios}
export SCENARIO_FILE=${SCENARIO_FILE:=scenarios/node_scenario.yaml}
export SCENARIO_POST_ACTION=${SCENARIO_POST_ACTION:=""}
export VERIFY_SESSION=${VERIFY_SESSION:="false"}
export SKIP_OPENSHIFT_CHECKS=${SKIP_OPENSHIFT_CHECKS:="false"}

Expand Down
1 change: 0 additions & 1 deletion pod-network-chaos/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,3 @@ export INSTANCE_COUNT=${INSTANCE_COUNT:=1}
export TEST_DURATION=${TEST_DURATION:=120}
export SCENARIO_TYPE=${SCENARIO_TYPE:=pod_network_scenarios}
export SCENARIO_FILE=${SCENARIO_FILE:=scenarios/pod_network_scenario.yaml}
export SCENARIO_POST_ACTION=${SCENARIO_POST_ACTION:=""}
1 change: 0 additions & 1 deletion pod-scenarios/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,3 @@ export KILL_TIMEOUT=${KILL_TIMEOUT:=180}
export EXPECTED_RECOVERY_TIME=${EXPECTED_RECOVERY_TIME:=120}
export SCENARIO_TYPE=${SCENARIO_TYPE:=pod_disruption_scenarios}
export SCENARIO_FILE=${SCENARIO_FILE:=scenarios/pod_scenario.yaml}
export SCENARIO_POST_ACTION=${SCENARIO_POST_ACTION:=""}
3 changes: 1 addition & 2 deletions power-outages/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ export SHUTDOWN_DURATION=${SHUTDOWN_DURATION:=1200}
export CLOUD_TYPE=${CLOUD_TYPE:="aws"}
export TIMEOUT=${TIMEOUT:=180}
export SCENARIO_TYPE=${SCENARIO_TYPE:=cluster_shut_down_scenarios}
export SCENARIO_FILE=${SCENARIO_FILE:=- scenarios/cluster_shut_down_scenario.yml}
export SCENARIO_POST_ACTION=${SCENARIO_POST_ACTION:=""}
export SCENARIO_FILE=${SCENARIO_FILE:=scenarios/cluster_shut_down_scenario.yml}
3 changes: 1 addition & 2 deletions service-disruption-scenarios/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,4 @@ export RUNS=${RUNS:=1}
export DELETE_COUNT=${DELETE_COUNT:=1}
export SLEEP=${SLEEP:=15}
export SCENARIO_TYPE=${SCENARIO_TYPE:=service_disruption_scenarios}
export SCENARIO_FILE=${SCENARIO_FILE:=- scenarios/namespace_scenario.yaml}
export SCENARIO_POST_ACTION=${SCENARIO_POST_ACTION:=""}
export SCENARIO_FILE=${SCENARIO_FILE:=scenarios/namespace_scenario.yaml}
1 change: 0 additions & 1 deletion service-hijacking/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@
export SCENARIO_BASE64=${SCENARIO_BASE64:=1}
export SCENARIO_TYPE="service_hijacking_scenarios"
export SCENARIO_FILE="scenarios/service_hijacking.yaml"
export SCENARIO_POST_ACTION=${SCENARIO_POST_ACTION:=""}
3 changes: 0 additions & 3 deletions syn-flood/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,5 @@ export NUMBER_OF_PODS=${NUMBER_OF_PODS:="2"}
export IMAGE=${IMAGE:="quay.io/krkn-chaos/krkn-syn-flood"}
export NODE_SELECTORS=${NODE_SELECTORS:=""}

python3.9 $ROOT_FOLDER/build_config_file.py --outconfig $SCENARIO_CONFIG_FILE
cat $SCENARIO_CONFIG_FILE

export SCENARIO_TYPE=${SCENARIO_TYPE:=syn_flood_scenarios}
export SCENARIO_FILE=${SCENARIO_FILE:=$SCENARIO_CONFIG_FILE}
1 change: 0 additions & 1 deletion time-scenarios/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,3 @@ export NAMESPACE=${NAMESPACE:=""}
export CONTAINER_NAME=${CONTAINER_NAME:=""}
export SCENARIO_TYPE=${SCENARIO_TYPE:=time_scenarios}
export SCENARIO_FILE=${SCENARIO_FILE:=scenarios/time_scenario.yaml}
export SCENARIO_POST_ACTION=${SCENARIO_POST_ACTION:=""}
1 change: 0 additions & 1 deletion zone-outages/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,3 @@ export VPC_ID=${VPC_ID:=""}
export SUBNET_ID=${SUBNET_ID:=""}
export SCENARIO_TYPE=${SCENARIO_TYPE:=zone_outages_scenarios}
export SCENARIO_FILE=${SCENARIO_FILE:=scenarios/zone_outage.yaml}
export SCENARIO_POST_ACTION=${SCENARIO_POST_ACTION:=""}

0 comments on commit 158b429

Please sign in to comment.