From 5a204cea374e9661ec835a2f604ffbc6fd967c93 Mon Sep 17 00:00:00 2001 From: andrewso <9V5f1FkzI2LD> Date: Thu, 5 Mar 2020 19:39:16 +0000 Subject: [PATCH] [05.03.20] kill stale pod --- Dockerfile | 4 ++-- configuration/pipelines/build.groovy | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3ca5483..25efdcb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,8 +2,8 @@ FROM python:3.7-alpine MAINTAINER Andrew Sotheran RUN apk update && \ apk add py-pip libc-dev gcc -RUN pip install utils pycryptodome && \ - pip install nltk numpy sklearn flask pandas +#RUN pip install utils pycryptodome && \ +# pip install nltk numpy sklearn flask pandas COPY . /home/spam-filter/. EXPOSE 9090 CMD ["python", "/home/spam-filter/src/main.py"] \ No newline at end of file diff --git a/configuration/pipelines/build.groovy b/configuration/pipelines/build.groovy index 32756e6..8693801 100644 --- a/configuration/pipelines/build.groovy +++ b/configuration/pipelines/build.groovy @@ -29,7 +29,7 @@ try { timestamps { node ("${env.SLAVE_LABEL}") { stage('Initialise') { - checkout([$class: 'GitSCM', branches: [[name: 'master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[credentialsId: 'Github', url: 'https://github.com/andyjk15/price-collector.git']]]) + checkout([$class: 'GitSCM', branches: [[name: 'master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[credentialsId: 'Github', url: 'https://github.com/andyjk15/spam-filter.git']]]) env.APPLICATION_VERSION = get_application_version()