Skip to content

Commit

Permalink
Temp: full simulation
Browse files Browse the repository at this point in the history
  • Loading branch information
vg12345 committed May 19, 2024
1 parent ead0b08 commit 995d0d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pdr_plugin_ci_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:

- name: Run single plugin instance on background as standalone
run: |
bash plugins/pdr_deterministic_plugin/.pytest/run_simulation_pytest.sh
sudo bash plugins/pdr_deterministic_plugin/.pytest/run_simulation_pytest.sh
# cp -f plugins/pdr_deterministic_plugin/build/config/pdr_deterministic.conf /config/
# python plugins/pdr_deterministic_plugin/ufm_sim_web_service/isolation_algo.py
# pkill -9 -f isolation_algo.py
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash -x
CONFIG_FILE="/config/pdr_deterministic.conf"
sudo mkdir -p /config
sudo cp -f plugins/pdr_deterministic_plugin/build/config/pdr_deterministic.conf "$CONFIG_FILE"
mkdir -p /config
cp -f plugins/pdr_deterministic_plugin/build/config/pdr_deterministic.conf "$CONFIG_FILE"
sed -i -e 's/\nTEST_MODE=True\n//g' "$CONFIG_FILE"
echo -e '\n[Common]\nTEST_MODE=True\n' >> "$CONFIG_FILE"
sed -i -e 's/DRY_RUN=False/DRY_RUN=True/g' "$CONFIG_FILE"
Expand Down

0 comments on commit 995d0d2

Please sign in to comment.