From c0d488ebf7c54a67319441e6b847683f03fd9591 Mon Sep 17 00:00:00 2001 From: Matthew Harris Date: Mon, 1 Jun 2026 19:28:08 -0400 Subject: [PATCH] initial commit --- Dockerfile | 3 +++ Jenkinsfile | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 Dockerfile create mode 100644 Jenkinsfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..2469e0f --- /dev/null +++ b/Dockerfile @@ -0,0 +1,3 @@ +FROM vllm/vllm-openai:nightly + +RUN pip3 install --force-reinstall --no-deps nvidia-cutlass-dsl-libs-cu13==4.5.2 diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..69b8ef7 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,55 @@ +pipeline { + agent any + + environment { + REGISTRY = 'atl.vultrcr.com/vllm' + IMAGE_NAME = 'vllm' + IMAGE = "${REGISTRY}/${IMAGE_NAME}:latest" + } + + parameters { + string(name: 'IMAGE_TAG', defaultValue: 'custom', description: 'Docker image tag') + string(name: 'GIT_REPO', defaultValue: '', description: 'Git repository URL (optional, uses workspace if empty)') + string(name: 'GIT_BRANCH', defaultValue: 'master', description: 'Git branch to build') + } + + stages { + stage('Checkout') { + steps { + script { + if (params.GIT_REPO) { + git url: params.GIT_REPO, branch: params.GIT_BRANCH + } + } + } + } + + stage('Build') { + steps { + script { + docker.withRegistry("https://${REGISTRY}", 'ATL_VCR_VLLM') { + sh """ + docker build -t ${REGISTRY}/${IMAGE_NAME}:${params.IMAGE_TAG} . + """ + } + } + } + } + + stage('Push') { + steps { + script { + docker.withRegistry("https://${REGISTRY}", 'ATL_VCR_VLLM') { + docker.image("${REGISTRY}/${IMAGE_NAME}:${params.IMAGE_TAG}").push() + } + } + } + } + } + + post { + always { + sh "docker rmi ${IMAGE} || true" + } + } +}