Skip to content

Commit

Permalink
happy headers, now the build...
Browse files Browse the repository at this point in the history
  • Loading branch information
bhamail committed Nov 8, 2021
1 parent 521ff5d commit 1120d8a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
10 changes: 3 additions & 7 deletions Dockerfile
Expand Up @@ -28,12 +28,8 @@ WORKDIR /home/jenkins

ENV PATH=/home/jenkins/.local/bin:/home/jenkins/bin:$PATH

COPY requirements.txt .

RUN pip install -r requirements.txt

RUN pip install pylint

RUN pip install unittest-xml-reporting
RUN python -m ensurepip --default-pip
RUN pip install --upgrade pip
RUN pip install poetry

CMD ["/bin/bash"]
8 changes: 3 additions & 5 deletions Jenkinsfile
Expand Up @@ -19,11 +19,9 @@
dockerizedBuildPipeline(
buildAndTest: {
sh '''
# development only requirements
pip3 install -r requirements-dev.txt
python -m xmlrunner discover -o test-results/
# hot mess to uninstall dev requirements before we self scan. probably should move to pipenv
pip3 uninstall -r requirements-dev.txt -y
poetry install
poetry build
poetry run tox
'''
},
deployBranch: 'main',
Expand Down

0 comments on commit 1120d8a

Please sign in to comment.