build scripts
Some checks failed
CI/CD Pipeline / Security Scanning (svc-kg) (push) Has been cancelled
CI/CD Pipeline / Security Scanning (svc-rag-retriever) (push) Has been cancelled
CI/CD Pipeline / Code Quality & Linting (push) Has been cancelled
CI/CD Pipeline / Policy Validation (push) Has been cancelled
CI/CD Pipeline / Test Suite (push) Has been cancelled
CI/CD Pipeline / Build Docker Images (svc-coverage) (push) Has been cancelled
CI/CD Pipeline / Build Docker Images (svc-extract) (push) Has been cancelled
CI/CD Pipeline / Build Docker Images (svc-firm-connectors) (push) Has been cancelled
CI/CD Pipeline / Build Docker Images (svc-forms) (push) Has been cancelled
CI/CD Pipeline / Build Docker Images (svc-hmrc) (push) Has been cancelled
CI/CD Pipeline / Build Docker Images (svc-ingestion) (push) Has been cancelled
CI/CD Pipeline / Build Docker Images (svc-kg) (push) Has been cancelled
CI/CD Pipeline / Build Docker Images (svc-normalize-map) (push) Has been cancelled
CI/CD Pipeline / Build Docker Images (svc-ocr) (push) Has been cancelled
CI/CD Pipeline / Build Docker Images (svc-rag-indexer) (push) Has been cancelled
CI/CD Pipeline / Build Docker Images (svc-rag-retriever) (push) Has been cancelled
CI/CD Pipeline / Build Docker Images (svc-reason) (push) Has been cancelled
CI/CD Pipeline / Build Docker Images (svc-rpa) (push) Has been cancelled
CI/CD Pipeline / Build Docker Images (ui-review) (push) Has been cancelled
CI/CD Pipeline / Security Scanning (svc-coverage) (push) Has been cancelled
CI/CD Pipeline / Security Scanning (svc-extract) (push) Has been cancelled
CI/CD Pipeline / Security Scanning (ui-review) (push) Has been cancelled
CI/CD Pipeline / Generate SBOM (push) Has been cancelled
CI/CD Pipeline / Deploy to Staging (push) Has been cancelled
CI/CD Pipeline / Deploy to Production (push) Has been cancelled
CI/CD Pipeline / Notifications (push) Has been cancelled
Some checks failed
CI/CD Pipeline / Security Scanning (svc-kg) (push) Has been cancelled
CI/CD Pipeline / Security Scanning (svc-rag-retriever) (push) Has been cancelled
CI/CD Pipeline / Code Quality & Linting (push) Has been cancelled
CI/CD Pipeline / Policy Validation (push) Has been cancelled
CI/CD Pipeline / Test Suite (push) Has been cancelled
CI/CD Pipeline / Build Docker Images (svc-coverage) (push) Has been cancelled
CI/CD Pipeline / Build Docker Images (svc-extract) (push) Has been cancelled
CI/CD Pipeline / Build Docker Images (svc-firm-connectors) (push) Has been cancelled
CI/CD Pipeline / Build Docker Images (svc-forms) (push) Has been cancelled
CI/CD Pipeline / Build Docker Images (svc-hmrc) (push) Has been cancelled
CI/CD Pipeline / Build Docker Images (svc-ingestion) (push) Has been cancelled
CI/CD Pipeline / Build Docker Images (svc-kg) (push) Has been cancelled
CI/CD Pipeline / Build Docker Images (svc-normalize-map) (push) Has been cancelled
CI/CD Pipeline / Build Docker Images (svc-ocr) (push) Has been cancelled
CI/CD Pipeline / Build Docker Images (svc-rag-indexer) (push) Has been cancelled
CI/CD Pipeline / Build Docker Images (svc-rag-retriever) (push) Has been cancelled
CI/CD Pipeline / Build Docker Images (svc-reason) (push) Has been cancelled
CI/CD Pipeline / Build Docker Images (svc-rpa) (push) Has been cancelled
CI/CD Pipeline / Build Docker Images (ui-review) (push) Has been cancelled
CI/CD Pipeline / Security Scanning (svc-coverage) (push) Has been cancelled
CI/CD Pipeline / Security Scanning (svc-extract) (push) Has been cancelled
CI/CD Pipeline / Security Scanning (ui-review) (push) Has been cancelled
CI/CD Pipeline / Generate SBOM (push) Has been cancelled
CI/CD Pipeline / Deploy to Staging (push) Has been cancelled
CI/CD Pipeline / Deploy to Production (push) Has been cancelled
CI/CD Pipeline / Notifications (push) Has been cancelled
This commit is contained in:
88
infra/compose/compose.build.yaml
Normal file
88
infra/compose/compose.build.yaml
Normal file
@@ -0,0 +1,88 @@
|
||||
# FILE: infra/compose/compose.build.yaml
|
||||
# Docker Compose file for building images
|
||||
# Usage: docker compose -f infra/compose/compose.build.yaml build
|
||||
|
||||
services:
|
||||
apa-svc-ingestion:
|
||||
build:
|
||||
context: ../../
|
||||
dockerfile: apps/svc_ingestion/Dockerfile
|
||||
image: gitea.harkon.co.uk/harkon/svc-ingestion:latest
|
||||
|
||||
apa-svc-extract:
|
||||
build:
|
||||
context: ../../
|
||||
dockerfile: apps/svc_extract/Dockerfile
|
||||
image: gitea.harkon.co.uk/harkon/svc-extract:latest
|
||||
|
||||
apa-svc-kg:
|
||||
build:
|
||||
context: ../../
|
||||
dockerfile: apps/svc_kg/Dockerfile
|
||||
image: gitea.harkon.co.uk/harkon/svc-kg:latest
|
||||
|
||||
apa-svc-rag-retriever:
|
||||
build:
|
||||
context: ../../
|
||||
dockerfile: apps/svc_rag_retriever/Dockerfile
|
||||
image: gitea.harkon.co.uk/harkon/svc-rag-retriever:latest
|
||||
|
||||
apa-svc-forms:
|
||||
build:
|
||||
context: ../../
|
||||
dockerfile: apps/svc_forms/Dockerfile
|
||||
image: gitea.harkon.co.uk/harkon/svc-forms:latest
|
||||
|
||||
apa-svc-hmrc:
|
||||
build:
|
||||
context: ../../
|
||||
dockerfile: apps/svc_hmrc/Dockerfile
|
||||
image: gitea.harkon.co.uk/harkon/svc-hmrc:latest
|
||||
|
||||
apa-svc-ocr:
|
||||
build:
|
||||
context: ../../
|
||||
dockerfile: apps/svc_ocr/Dockerfile
|
||||
image: gitea.harkon.co.uk/harkon/svc-ocr:latest
|
||||
|
||||
apa-svc-rag-indexer:
|
||||
build:
|
||||
context: ../../
|
||||
dockerfile: apps/svc_rag_indexer/Dockerfile
|
||||
image: gitea.harkon.co.uk/harkon/svc-rag-indexer:latest
|
||||
|
||||
apa-svc-reason:
|
||||
build:
|
||||
context: ../../
|
||||
dockerfile: apps/svc_reason/Dockerfile
|
||||
image: gitea.harkon.co.uk/harkon/svc-reason:latest
|
||||
|
||||
apa-svc-rpa:
|
||||
build:
|
||||
context: ../../
|
||||
dockerfile: apps/svc_rpa/Dockerfile
|
||||
image: gitea.harkon.co.uk/harkon/svc-rpa:latest
|
||||
|
||||
apa-svc-normalize-map:
|
||||
build:
|
||||
context: ../../
|
||||
dockerfile: apps/svc_normalize_map/Dockerfile
|
||||
image: gitea.harkon.co.uk/harkon/svc-normalize-map:latest
|
||||
|
||||
apa-svc-coverage:
|
||||
build:
|
||||
context: ../../
|
||||
dockerfile: apps/svc_coverage/Dockerfile
|
||||
image: gitea.harkon.co.uk/harkon/svc-coverage:latest
|
||||
|
||||
apa-svc-firm-connectors:
|
||||
build:
|
||||
context: ../../
|
||||
dockerfile: apps/svc_firm_connectors/Dockerfile
|
||||
image: gitea.harkon.co.uk/harkon/svc-firm-connectors:latest
|
||||
|
||||
# apa-ui-review:
|
||||
# build:
|
||||
# context: ../../ui_review
|
||||
# dockerfile: Dockerfile
|
||||
# image: gitea.harkon.co.uk/harkon/ui-review:latest
|
||||
36
infra/scripts/build-and-push.sh
Executable file
36
infra/scripts/build-and-push.sh
Executable file
@@ -0,0 +1,36 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Build and Push Script for AI Tax Agent
|
||||
# Builds all service images and pushes them to the registry
|
||||
|
||||
set -e
|
||||
|
||||
# Colors
|
||||
GREEN='\033[0;32m'
|
||||
BLUE='\033[0;34m'
|
||||
NC='\033[0m'
|
||||
|
||||
log_info() {
|
||||
echo -e "${BLUE}ℹ️ $1${NC}"
|
||||
}
|
||||
|
||||
log_success() {
|
||||
echo -e "${GREEN}✅ $1${NC}"
|
||||
}
|
||||
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PROJECT_ROOT="$(dirname "$(dirname "$SCRIPT_DIR")")"
|
||||
COMPOSE_FILE="$PROJECT_ROOT/infra/compose/compose.build.yaml"
|
||||
|
||||
log_info "Building and pushing images for AI Tax Agent..."
|
||||
log_info "Using compose file: $COMPOSE_FILE"
|
||||
|
||||
# Build images
|
||||
log_info "Building images..."
|
||||
docker compose -f "$COMPOSE_FILE" build
|
||||
|
||||
# Push images
|
||||
log_info "Pushing images to registry..."
|
||||
docker compose -f "$COMPOSE_FILE" push
|
||||
|
||||
log_success "All images built and pushed successfully!"
|
||||
@@ -49,7 +49,7 @@ SERVICES=(
|
||||
"svc-reason"
|
||||
"svc-firm-connectors"
|
||||
"svc-coverage"
|
||||
"ui-review"
|
||||
# "ui-review"
|
||||
)
|
||||
|
||||
# Check if Docker is running
|
||||
|
||||
Reference in New Issue
Block a user