chore: update CICD
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				Build Worker Base and Application Images / check-base-changes (push) Successful in 8s
				
			
		
			
				
	
				Build Worker Base and Application Images / build-base (push) Successful in 9m19s
				
			
		
			
				
	
				Build Worker Base and Application Images / build-docker (push) Successful in 3m10s
				
			
		
			
				
	
				Build Worker Base and Application Images / deploy-stack (push) Successful in 26s
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	Build Worker Base and Application Images / check-base-changes (push) Successful in 8s
				
			Build Worker Base and Application Images / build-base (push) Successful in 9m19s
				
			Build Worker Base and Application Images / build-docker (push) Successful in 3m10s
				
			Build Worker Base and Application Images / deploy-stack (push) Successful in 26s
				
			This commit is contained in:
		
							parent
							
								
									eda5368771
								
							
						
					
					
						commit
						c94dfa10e7
					
				
					 3 changed files with 14 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -51,7 +51,7 @@ jobs:
 | 
			
		|||
          registry: git.siwatsystem.com
 | 
			
		||||
          username: ${{ github.actor }}
 | 
			
		||||
          password: ${{ secrets.RUNNER_TOKEN }}
 | 
			
		||||
        
 | 
			
		||||
 | 
			
		||||
      - name: Build and push base Docker image
 | 
			
		||||
        uses: docker/build-push-action@v4
 | 
			
		||||
        with:
 | 
			
		||||
| 
						 | 
				
			
			@ -79,7 +79,7 @@ jobs:
 | 
			
		|||
          registry: git.siwatsystem.com
 | 
			
		||||
          username: ${{ github.actor }}
 | 
			
		||||
          password: ${{ secrets.RUNNER_TOKEN }}
 | 
			
		||||
        
 | 
			
		||||
 | 
			
		||||
      - name: Build and push Docker image
 | 
			
		||||
        uses: docker/build-push-action@v4
 | 
			
		||||
        with:
 | 
			
		||||
| 
						 | 
				
			
			@ -109,4 +109,4 @@ jobs:
 | 
			
		|||
          else
 | 
			
		||||
            echo "Deploying staging stack..."
 | 
			
		||||
            ssh -i ~/.ssh/id_rsa ${{ vars.DEPLOY_USER_CMS }}@${{ vars.DEPLOY_HOST_CMS }} "cd ~/cms-system-k8s && docker compose -f docker-compose.staging.yml pull && docker compose -f docker-compose.staging.yml up -d"
 | 
			
		||||
          fi
 | 
			
		||||
          fi
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,8 +1,17 @@
 | 
			
		|||
# Base image with all ML dependencies
 | 
			
		||||
FROM python:3.13-bookworm
 | 
			
		||||
FROM pytorch/pytorch:2.8.0-cuda12.6-cudnn9-runtime
 | 
			
		||||
 | 
			
		||||
# Install system dependencies
 | 
			
		||||
RUN apt update && apt install -y libgl1 && rm -rf /var/lib/apt/lists/*
 | 
			
		||||
RUN apt update && apt install -y \
 | 
			
		||||
    libgl1 \
 | 
			
		||||
    libglib2.0-0 \
 | 
			
		||||
    libgstreamer1.0-0 \
 | 
			
		||||
    libgtk-3-0 \
 | 
			
		||||
    libavcodec58 \
 | 
			
		||||
    libavformat58 \
 | 
			
		||||
    libswscale5 \
 | 
			
		||||
    libgomp1 \
 | 
			
		||||
    && rm -rf /var/lib/apt/lists/*
 | 
			
		||||
 | 
			
		||||
# Copy and install base requirements (ML dependencies that rarely change)
 | 
			
		||||
COPY requirements.base.txt .
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -4,6 +4,5 @@ websockets
 | 
			
		|||
fastapi[standard]
 | 
			
		||||
redis
 | 
			
		||||
urllib3<2.0.0
 | 
			
		||||
opencv-python
 | 
			
		||||
numpy
 | 
			
		||||
requests
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue