revert(deploy): revert base image changes due to workspace complexity
Reverting deployment script changes that were part of the base image approach. The base image strategy is too complex for the current pnpm workspace structure. Reverting to the proven docker-prep.sh tarball approach. Generated with [Devin](https://cli.devin.ai/docs) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
cf166e83ff
commit
d4f1d1e97d
@ -127,12 +127,6 @@ deploy_repo() {
|
|||||||
# ── Build and Deploy ───────────────────────────────────────────────
|
# ── Build and Deploy ───────────────────────────────────────────────
|
||||||
if [ -f "docker-compose.yml" ]; then
|
if [ -f "docker-compose.yml" ]; then
|
||||||
log "Building and deploying $repo..."
|
log "Building and deploying $repo..."
|
||||||
|
|
||||||
# Pull latest base images
|
|
||||||
log "Pulling latest base images for $repo..."
|
|
||||||
docker pull bytelyst-common-base-backend:latest || warn "Failed to pull backend base image for $repo, using local cache"
|
|
||||||
docker pull bytelyst-common-base-web:latest || warn "Failed to pull web base image for $repo, using local cache"
|
|
||||||
|
|
||||||
docker compose build || fail "Docker build failed for $repo"
|
docker compose build || fail "Docker build failed for $repo"
|
||||||
docker compose up -d || fail "Docker compose up failed for $repo"
|
docker compose up -d || fail "Docker compose up failed for $repo"
|
||||||
ok "Deployment completed for $repo"
|
ok "Deployment completed for $repo"
|
||||||
|
|||||||
@ -113,11 +113,6 @@ if [ ! -f "docker-compose.yml" ]; then
|
|||||||
fail "docker-compose.yml not found in $REPO_DIR"
|
fail "docker-compose.yml not found in $REPO_DIR"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Pull latest base images
|
|
||||||
log "Pulling latest base images..."
|
|
||||||
docker pull bytelyst-common-base-backend:latest || warn "Failed to pull backend base image, using local cache"
|
|
||||||
docker pull bytelyst-common-base-web:latest || warn "Failed to pull web base image, using local cache"
|
|
||||||
|
|
||||||
# Build and start services
|
# Build and start services
|
||||||
log "Building Docker images..."
|
log "Building Docker images..."
|
||||||
docker compose build || fail "Docker build failed"
|
docker compose build || fail "Docker build failed"
|
||||||
|
|||||||
@ -113,11 +113,6 @@ if [ ! -f "docker-compose.yml" ]; then
|
|||||||
fail "docker-compose.yml not found in $REPO_DIR"
|
fail "docker-compose.yml not found in $REPO_DIR"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Pull latest base images
|
|
||||||
log "Pulling latest base images..."
|
|
||||||
docker pull bytelyst-common-base-backend:latest || warn "Failed to pull backend base image, using local cache"
|
|
||||||
docker pull bytelyst-common-base-web:latest || warn "Failed to pull web base image, using local cache"
|
|
||||||
|
|
||||||
# Build and start services
|
# Build and start services
|
||||||
log "Building Docker images..."
|
log "Building Docker images..."
|
||||||
docker compose build || fail "Docker build failed"
|
docker compose build || fail "Docker build failed"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user