From a28e45dadc863026233dd9fee189f71b59ab5ec2 Mon Sep 17 00:00:00 2001
From: delacal <l.delacal@alumnos.upm.es>
Date: Tue, 27 Jun 2023 21:29:36 +0200
Subject: [PATCH] Fix deploy

---
 complete_deploy.sh | 12 ++++++++++++
 my_deploy.sh       |  2 +-
 2 files changed, 13 insertions(+), 1 deletion(-)
 create mode 100755 complete_deploy.sh

diff --git a/complete_deploy.sh b/complete_deploy.sh
new file mode 100755
index 000000000..348f6795a
--- /dev/null
+++ b/complete_deploy.sh
@@ -0,0 +1,12 @@
+# fore delete namespace "tfs" and "crdb"
+kubectl delete --force namespace tfs
+kubectl delete --force namespace crdb
+
+./src/tests/ofc22/run_test_03_delete_service.sh
+./src/tests/ofc22/run_test_04_cleanup.sh
+source src/tests/ofc22/deploy_specs.sh
+source my_deploy.sh
+./deploy/all.sh
+source tfs_runtime_env_vars.sh
+ofc22/run_test_01_bootstrap.sh
+ofc22/run_test_02_create_service.sh
\ No newline at end of file
diff --git a/my_deploy.sh b/my_deploy.sh
index f90dbb942..7f288385a 100755
--- a/my_deploy.sh
+++ b/my_deploy.sh
@@ -20,7 +20,7 @@
 export TFS_REGISTRY_IMAGES="http://localhost:32000/tfs/"
 
 # Set the list of components, separated by spaces, you want to build images for, and deploy.
-export TFS_COMPONENTS="context device pathcomp service slice compute webui load_generator"
+export TFS_COMPONENTS="context device pathcomp service slice compute webui load_generator l3_attackmitigator l3_centralizedattackdetector"
 
 # Uncoment to activate Monitoring
 #export TFS_COMPONENTS="${TFS_COMPONENTS} monitoring"
-- 
GitLab