Initialisation depot
This commit is contained in:
29
arti-api/auth-service/pipeline/force-build.sh
Executable file
29
arti-api/auth-service/pipeline/force-build.sh
Executable file
@@ -0,0 +1,29 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "🚀 FORCE DRONE BUILD"
|
||||
echo "==================="
|
||||
echo "📅 $(date)"
|
||||
echo
|
||||
|
||||
echo "Method: Empty commit (most reliable)"
|
||||
echo "Repository: AIPICE/auth-service"
|
||||
echo
|
||||
|
||||
read -p "Force build now? (y/N): " -n 1 -r
|
||||
echo
|
||||
if [[ $REPLY =~ ^[Yy]$ ]]
|
||||
then
|
||||
echo "Creating empty commit..."
|
||||
git commit --allow-empty -m "Force Drone build - $(date +'%Y-%m-%d %H:%M:%S')"
|
||||
|
||||
echo "Pushing to trigger build..."
|
||||
git push
|
||||
|
||||
echo "✅ Build trigger sent!"
|
||||
echo "Monitor build at: https://drone.aipice.local/AIPICE/auth-service"
|
||||
|
||||
echo "Watch build logs:"
|
||||
echo " kubectl logs -f \$(kubectl get pods -n apps--droneio--prd | grep drone-runner | cut -d' ' -f1) -n apps--droneio--prd"
|
||||
else
|
||||
echo "Build not triggered."
|
||||
fi
|
||||
Reference in New Issue
Block a user