refactor: organize scripts into scripts/ directory
Move utility scripts to dedicated scripts/ directory for better project organization: - BuildAll.sh - CleanVendor.sh - CloneVendorRepos.sh - StatusCheck.sh - validate-mcp.sh Remove temporary build-nextcloud-mcp.sh as nextcloud-mcp is now built.
This commit is contained in:
@@ -1,24 +0,0 @@
|
||||
#!/bin/bash
|
||||
# Build script for nextcloud-mcp that handles .dockerignore issue
|
||||
|
||||
set -e
|
||||
|
||||
NEXTCLOUD_DIR="vendor/nextcloud-mcp-server"
|
||||
DOCKERIGNORE_FILE="$NEXTCLOUD_DIR/.dockerignore"
|
||||
BACKUP_FILE="$NEXTCLOUD_DIR/.dockerignore.backup"
|
||||
|
||||
echo "Backing up .dockerignore..."
|
||||
if [ -f "$DOCKERIGNORE_FILE" ]; then
|
||||
cp "$DOCKERIGNORE_FILE" "$BACKUP_FILE"
|
||||
rm "$DOCKERIGNORE_FILE"
|
||||
fi
|
||||
|
||||
echo "Building nextcloud-mcp..."
|
||||
docker compose build nextcloud-mcp
|
||||
|
||||
echo "Restoring .dockerignore..."
|
||||
if [ -f "$BACKUP_FILE" ]; then
|
||||
mv "$BACKUP_FILE" "$DOCKERIGNORE_FILE"
|
||||
fi
|
||||
|
||||
echo "Done!"
|
||||
@@ -32,7 +32,7 @@ echo ""
|
||||
for SERVICE in $SERVICES; do
|
||||
TOTAL=$((TOTAL + 1))
|
||||
# Construct expected image name
|
||||
IMAGE_NAME="knel-aimiddleware-$SERVICE"
|
||||
IMAGE_NAME="kneldevstack-aimiddleware-$SERVICE"
|
||||
|
||||
# Check if image exists
|
||||
if docker images --format '{{.Repository}}' | grep -q "^${IMAGE_NAME}$"; then
|
||||
Reference in New Issue
Block a user