Skip to content
Snippets Groups Projects
Commit aad9c180 authored by Panagiotis Karamolegkos's avatar Panagiotis Karamolegkos :v_tone2:
Browse files

Automation Changes

parent e023da19
No related branches found
No related tags found
1 merge request!4Ci integration 28062024
Pipeline #49520 passed
...@@ -80,21 +80,21 @@ build_environment: ...@@ -80,21 +80,21 @@ build_environment:
# Apply PDLC Integration # Apply PDLC Integration
- docker exec sonem-control-plane chmod +x pdlc-integration/apply_yamls.sh - docker exec sonem-control-plane chmod +x pdlc-integration/apply_yamls.sh
- docker exec sonem-control-plane bash -c "cd ./pdlc-integration && ./apply_yamls.sh" - docker exec sonem-control-plane bash -c "cd ./pdlc-integration && ./apply_yamls.sh"
- sleep 600 # Wait some seconds for the PDLC DP to Install and Extract Results (5 mins) - sleep 60 # Wait some seconds for the PDLC DP to Install and Extract Results (1 mins)
# Print PDLC DP Logs # Print PDLC DP Logs
- docker exec sonem-control-plane kubectl get pods --all-namespaces - docker exec sonem-control-plane kubectl get pods --all-namespaces
- docker exec sonem-control-plane kubectl logs -n he-codeco-pdlc -l app=pdlc-dp - docker exec sonem-control-plane kubectl logs -n he-codeco-pdlc -l app=pdlc-dp
# Logs for CA output # Logs for CA output
- docker exec sonem-wokrer head -n 10 /data/CA/data_CA.csv - docker exec sonem-worker head -n 10 /data/CA/data_CA.csv
# Logs for GNNs # Logs for GNNs
- docker exec sonem-wokrer head -n 10 /data/GNN/data_GNN.csv - docker exec sonem-worker head -n 10 /data/GNN/data_GNN.csv
# Logs gor RL # Logs gor RL
- docker exec sonem-wokrer head -n 10 /data/RL/test_integracio.csv - docker exec sonem-worker head -n 10 /data/RL/test_integracio.csv
- docker exec sonem-wokrer head -n 10 /data/RL/test_integracio.csv - docker exec sonem-worker head -n 10 /data/RL/test_integracio.csv
# Print PDLC Outputs from CA and GNNs # Print PDLC Outputs from CA and GNNs
- docker exec sonem-wokrer ls /data/RL - docker exec sonem-worker ls /data/RL
# Log the Node Reccomendations # Log the Node Reccomendations
- docker exec sonem-control-plane kubectl describe application -n test-namespace # Get SWM Application - docker exec sonem-control-plane kubectl describe application -n test-namespace # Get SWM Application
......
...@@ -21,17 +21,21 @@ kubectl apply -f ./volume/shared-pv-ro.yaml ...@@ -21,17 +21,21 @@ kubectl apply -f ./volume/shared-pv-ro.yaml
kubectl apply -f ./data_preprocessing/pdlc-dp-role.yaml kubectl apply -f ./data_preprocessing/pdlc-dp-role.yaml
kubectl apply -f ./data_preprocessing/pdlc-dp-role-binding.yaml kubectl apply -f ./data_preprocessing/pdlc-dp-role-binding.yaml
kubectl apply -f ./data_preprocessing/pdlc-dp-deployment.yaml kubectl apply -f ./data_preprocessing/pdlc-dp-deployment.yaml
sleep 300 # Wait for Image to Download and Start
## Install CA Subcomponent ## Install CA Subcomponent
kubectl apply -f ./context_awareness/pdlc-ca-deployment.yaml kubectl apply -f ./context_awareness/pdlc-ca-deployment.yaml
sleep 180 # Wait for Image to Download and Start
## Install GNN Subcomponent ## Install GNN Subcomponent
kubectl apply -f ./gnn_model/gnn-role.yaml kubectl apply -f ./gnn_model/gnn-role.yaml
kubectl apply -f ./gnn_model/gnn-role-binding.yaml kubectl apply -f ./gnn_model/gnn-role-binding.yaml
kubectl apply -f ./gnn_model/gnn_inference.yaml kubectl apply -f ./gnn_model/gnn_inference.yaml
kubectl apply -f ./gnn_model/gnn_controller.yaml kubectl apply -f ./gnn_model/gnn_controller.yaml
sleep 180 # Wait for Image to Download and Start
## Install RL Subcomponent ## Install RL Subcomponent
kubectl apply -f ./rl_model/rl-role.yaml kubectl apply -f ./rl_model/rl-role.yaml
kubectl apply -f ./rl_model/rl-role-binding.yaml kubectl apply -f ./rl_model/rl-role-binding.yaml
kubectl apply -f ./rl_model/rl-model-deployment.yaml kubectl apply -f ./rl_model/rl-model-deployment.yaml
\ No newline at end of file sleep 180 # Wait for Image to Download and Start
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment