Add Oracle Aggregator and CCIP Integration
- Introduced Aggregator.sol for Chainlink-compatible oracle functionality, including round-based updates and access control. - Added OracleWithCCIP.sol to extend Aggregator with CCIP cross-chain messaging capabilities. - Created .gitmodules to include OpenZeppelin contracts as a submodule. - Developed a comprehensive deployment guide in NEXT_STEPS_COMPLETE_GUIDE.md for Phase 2 and smart contract deployment. - Implemented Vite configuration for the orchestration portal, supporting both Vue and React frameworks. - Added server-side logic for the Multi-Cloud Orchestration Portal, including API endpoints for environment management and monitoring. - Created scripts for resource import and usage validation across non-US regions. - Added tests for CCIP error handling and integration to ensure robust functionality. - Included various new files and directories for the orchestration portal and deployment scripts.
This commit is contained in:
39
scripts/automation/fix-script-errors.sh
Executable file
39
scripts/automation/fix-script-errors.sh
Executable file
@@ -0,0 +1,39 @@
|
||||
#!/usr/bin/env bash
|
||||
# Fix identified script syntax errors
|
||||
|
||||
set -e
|
||||
|
||||
cd "$(dirname "$0")/../.."
|
||||
|
||||
echo "=== Fixing Script Syntax Errors ==="
|
||||
|
||||
# Fix 1: check-mainnet-deployment-status.sh line 61
|
||||
echo "Fixing check-mainnet-deployment-status.sh..."
|
||||
if grep -q 'echo " (depends on: $deps)"' scripts/deployment/check-mainnet-deployment-status.sh; then
|
||||
# The issue is with the parentheses in the echo - need to escape or quote properly
|
||||
sed -i '61s/.*/ echo " (depends on: '"'"'$deps'"'"')"/' scripts/deployment/check-mainnet-deployment-status.sh
|
||||
echo "✅ Fixed check-mainnet-deployment-status.sh"
|
||||
fi
|
||||
|
||||
# Fix 2: deploy-all.sh line 282
|
||||
echo "Checking deploy-all.sh..."
|
||||
if bash -n scripts/deployment/deploy-all.sh 2>&1 | grep -q "line 282"; then
|
||||
# Read around line 282 to understand the issue
|
||||
sed -n '278,285p' scripts/deployment/deploy-all.sh
|
||||
echo "⚠️ Manual review needed for deploy-all.sh:282"
|
||||
fi
|
||||
|
||||
# Fix 3: validate-deployment-config.sh line 339
|
||||
echo "Checking validate-deployment-config.sh..."
|
||||
if bash -n scripts/deployment/validate-deployment-config.sh 2>&1 | grep -q "line 339"; then
|
||||
# Read around line 339 to understand the issue
|
||||
sed -n '335,342p' scripts/deployment/validate-deployment-config.sh
|
||||
echo "⚠️ Manual review needed for validate-deployment-config.sh:339"
|
||||
fi
|
||||
|
||||
# Validate all fixes
|
||||
echo ""
|
||||
echo "Validating all scripts..."
|
||||
./scripts/automation/validate-all-scripts.sh
|
||||
|
||||
echo "✅ Script error fixes complete"
|
||||
Reference in New Issue
Block a user