From 737d99b36e18308dcf75a4ee126c09ca22a6bd82 Mon Sep 17 00:00:00 2001 From: Adam Outler Date: Thu, 3 Apr 2025 20:39:42 +0000 Subject: [PATCH] Update README.md --- README.md | 64 ------------------------------------------------------- 1 file changed, 64 deletions(-) diff --git a/README.md b/README.md index e5045ef..592c011 100644 --- a/README.md +++ b/README.md @@ -57,70 +57,6 @@ The `Jenkinsfile` automates the deployment of Ollama and Open-WebUI services usi 4. **Check Ollama and Open-WebUI Versions (After Deploy)**: - Ensures that the services are running and updated to the latest version after deployment. -The relevant Jenkinsfile snippet: -```groovy -pipeline { - agent { - node { label 'shark-wrangler' } - } - environment { - DOCKER_HOST = 'unix:///var/run/docker.sock' - } - stages { - stage('Check NVIDIA Driver Version') { - steps { - script { - catchError(buildResult: 'SUCCESS', stageResult: 'UNSTABLE') { - sh 'nvidia-smi --query-gpu=driver_version --format=csv,noheader' - } - } - } - } - stage('Check Ollama and Open-WebUI Versions (Before Deploy)') { - steps { - script { - catchError(buildResult: 'SUCCESS', stageResult: 'UNSTABLE') { - echo 'Checking Ollama version before deploy:' - sh 'docker exec -i ollama ollama -v || echo "Ollama check failed"' - - echo 'Checking Open-WebUI version before deploy:' - sh 'docker exec -i open-webui jq -r .version /app/package.json || echo "Open-WebUI check failed"' - } - } - } - } - stage('Deploy with Docker Compose') { - steps { - script { - sh ''' - docker pull ollama/ollama - docker pull ghcr.io/open-webui/open-webui:main - docker compose up -d --force-recreate - ''' - } - } - } - stage('Check Ollama and Open-WebUI Versions (After Deploy)') { - steps { - script { - catchError(buildResult: 'SUCCESS', stageResult: 'UNSTABLE') { - echo 'Checking Ollama version after deploy:' - sh 'docker exec -i ollama ollama -v || echo "Ollama check failed"' - - echo 'Checking Open-WebUI version after deploy:' - sh 'docker exec -i open-webui jq -r .version /app/package.json || echo "Open-WebUI check failed"' - } - } - } - } - } - post { - always { - echo 'Pipeline finished.' - } - } -} -``` ## Usage