Commit 482319e2 authored by Abhishek's avatar Abhishek
Browse files

Update .gitlab-ci.yml file

parent c2c0e65b
Pipeline #11950 passed with stage
in 106 minutes and 53 seconds
......@@ -38,6 +38,7 @@ run_full_automation:
- docker run --rm -v cota-infra_dta_tests_data:/data alpine chown 137:137 /data
script:
# --- THIS IS THE FIX ---
# Create a .env file on the fly. Docker Compose will automatically read this
# file and pass the variables to the containers.
- echo "Creating .env file for Docker Compose..."
......@@ -64,7 +65,7 @@ run_full_automation:
echo " -> Installation not yet complete, waiting 5 more seconds..."
sleep 5
done
- echo "✅ Moodle installation complete (config.php found)."
- echo "✅ Moodle installation complete (config.php found)."
# Now that Moodle is stable, we can proceed with the rest of the script.
- chmod +x test-moodle.sh
......@@ -73,4 +74,4 @@ run_full_automation:
after_script:
- echo "Tearing down Docker environment..."
- docker-compose down -v
\ No newline at end of file
- docker-compose down -v
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment