Update Jenkinsfile
Some checks failed
Updates/open-webui-ollama-docker-deploy/pipeline/head There was a failure building this commit
Some checks failed
Updates/open-webui-ollama-docker-deploy/pipeline/head There was a failure building this commit
This commit is contained in:
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@@ -37,7 +37,7 @@ pipeline {
|
|||||||
stage('Deploy with Docker Compose') {
|
stage('Deploy with Docker Compose') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
withCredentials([usernamePassword(credentialsId: 'gitea-oauth-open-webui-client-id-secret', passwordVariable: 'CLIENT_SECRET', usernameVariable: 'CLIENT_ID'), string(credentialsId: 'OpenAI-API-Token', variable: 'OPEN_AI_TOKEN'), usernamePassword(credentialsId: 'ldap-bind-auth-user', passwordVariable: 'AD_BIND_PASSWORD', usernameVariable: 'AD_BIND_USER')]) {
|
withCredentials([usernamePassword(credentialsId: 'gitea-oauth-open-webui-client-id-secret', passwordVariable: 'CLIENT_SECRET', usernameVariable: 'CLIENT_ID'), string(credentialsId: 'OpenAI-API-Token', variable: 'OPEN_AI_TOKEN'), usernamePassword(credentialsId: 'ldap-bind-auth-user', passwordVariable: 'AD_BIND_PASSWORD', usernameVariable: 'AD_BIND_USER'), credentialsId: 'WEBUI_SECRET_KEY', variable: 'WEBUI_SECRET_KEY')]) {
|
||||||
sh """
|
sh """
|
||||||
|
|
||||||
COMPOSE_PROJECT_NAME=openwebui \
|
COMPOSE_PROJECT_NAME=openwebui \
|
||||||
@@ -46,7 +46,7 @@ pipeline {
|
|||||||
TIKA=${TIKA} \
|
TIKA=${TIKA} \
|
||||||
OLLAMA=${OLLAMA} \
|
OLLAMA=${OLLAMA} \
|
||||||
OPENWEBUI=${OPENWEBUI} \
|
OPENWEBUI=${OPENWEBUI} \
|
||||||
|
WEBUI_SECRET_KEY=${WEBUI_SECRET_KEY}\
|
||||||
export PG_PASS=\$(openssl rand -base64 48 | tr -dc 'A-Za-z0-9' | head -c32)
|
export PG_PASS=\$(openssl rand -base64 48 | tr -dc 'A-Za-z0-9' | head -c32)
|
||||||
docker compose pull
|
docker compose pull
|
||||||
COMPOSE_PROJECT_NAME=openwebui \
|
COMPOSE_PROJECT_NAME=openwebui \
|
||||||
|
Reference in New Issue
Block a user