Fix file references after repository reorganization
Updated references in: - deploy/deploy-onprem.sh: Fixed paths for test-deployment.sh and test_dashboard_local.py - deploy/validate-deployment.sh: Fixed path for test-e2e-deployment.py - tests/integration/test-e2e-deployment.py: Fixed paths for mock servers All file references now point to correct locations in the new organized structure
This commit is contained in:
parent
744e8f6946
commit
2beb0d1436
|
|
@ -97,8 +97,8 @@ copy_files() {
|
|||
|
||||
# Copy scripts
|
||||
cp scripts/* $DEPLOYMENT_DIR/scripts/
|
||||
cp test-deployment.sh $DEPLOYMENT_DIR/
|
||||
cp test_dashboard_local.py $DEPLOYMENT_DIR/
|
||||
cp deploy/test-deployment.sh $DEPLOYMENT_DIR/
|
||||
cp tests/test_dashboard_local.py $DEPLOYMENT_DIR/
|
||||
|
||||
# Copy monitoring configuration
|
||||
cp -r monitoring/* $DEPLOYMENT_DIR/monitoring/
|
||||
|
|
|
|||
|
|
@ -299,7 +299,7 @@ EOF
|
|||
echo "📋 Next Steps:"
|
||||
echo " Review full report: $report_file"
|
||||
echo " Address any warnings or errors"
|
||||
echo " Run end-to-end tests: python test-e2e-deployment.py"
|
||||
echo " Run end-to-end tests: python tests/integration/test-e2e-deployment.py"
|
||||
echo ""
|
||||
echo "=================================================="
|
||||
}
|
||||
|
|
|
|||
|
|
@ -37,14 +37,14 @@ class E2ETestRunner:
|
|||
try:
|
||||
# Start mock SCADA server
|
||||
self.mock_scada_process = subprocess.Popen(
|
||||
[sys.executable, "mock-scada-server.py"],
|
||||
[sys.executable, "tests/mocks/mock-scada-server.py"],
|
||||
stdout=subprocess.PIPE,
|
||||
stderr=subprocess.PIPE
|
||||
)
|
||||
|
||||
# Start mock optimization server
|
||||
self.mock_optimization_process = subprocess.Popen(
|
||||
[sys.executable, "mock-optimization-server.py"],
|
||||
[sys.executable, "tests/mocks/mock-optimization-server.py"],
|
||||
stdout=subprocess.PIPE,
|
||||
stderr=subprocess.PIPE
|
||||
)
|
||||
|
|
@ -377,7 +377,7 @@ def main():
|
|||
print("="*60)
|
||||
|
||||
# Check if required files exist
|
||||
required_files = ["mock-scada-server.py", "mock-optimization-server.py", "src/main.py"]
|
||||
required_files = ["tests/mocks/mock-scada-server.py", "tests/mocks/mock-optimization-server.py", "src/main.py"]
|
||||
for file in required_files:
|
||||
if not Path(file).exists():
|
||||
print(f"❌ Required file not found: {file}")
|
||||
|
|
|
|||
Loading…
Reference in New Issue