Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CoTA
cota-infra
Commits
f185eb0e
Commit
f185eb0e
authored
Sep 07, 2025
by
Abhishek
Browse files
Update .gitlab-ci.yml file
parent
297beb9e
Pipeline
#11828
failed with stage
in 1 minute and 48 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
f185eb0e
...
@@ -72,7 +72,20 @@ run_full_automation:
...
@@ -72,7 +72,20 @@ run_full_automation:
echo "⚠️ Backend health endpoint not available, continuing anyway";
echo "⚠️ Backend health endpoint not available, continuing anyway";
fi
fi
# 6. Run Moodle orchestration
# Wait for Moodle to become live
-
echo "▶️ Running Moodle automation..."
-
echo "⏳ Waiting for Moodle to be ready..."
-
timeout=300
-
until curl -s -f http://localhost >/dev/null; do
timeout=$((timeout - 5))
if [ $timeout -le 0 ]; then
echo "❌ Moodle did not become ready in 5 minutes"
exit
1
fi
echo " -> Moodle not ready yet, retrying in 5s..."
sleep
5
done
-
echo "✅ Moodle is live"
# Now run the automation
-
chmod +x test-moodle.sh
-
chmod +x test-moodle.sh
-
./test-moodle.sh
-
./test-moodle.sh
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment