Skip to content

Commit

Permalink
Merge pull request #1316 from stevenc987/main
Browse files Browse the repository at this point in the history
NR Duplicates Report#14287
  • Loading branch information
stevenc987 authored Dec 8, 2022
2 parents 888bdcb + b4da776 commit fbd97bd
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 31 deletions.
6 changes: 3 additions & 3 deletions jobs/nr-duplicates-report/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.8.5-buster
FROM python:3.8.6-buster

ARG VCS_REF="missing"
ARG BUILD_DATE="missing"
Expand All @@ -8,7 +8,7 @@ ENV BUILD_DATE=${BUILD_DATE}

LABEL org.label-schema.vcs-ref=${VCS_REF} \
org.label-schema.build-date=${BUILD_DATE}

USER root

# Create working directory
Expand All @@ -20,7 +20,7 @@ WORKDIR /opt/app-root
COPY ./requirements.txt .

#RUN pip install --upgrade pip
RUN pip install pip==20.3.3
RUN pip install pip==21.1.2
RUN pip install --no-cache-dir -r requirements.txt

COPY . .
Expand Down
3 changes: 1 addition & 2 deletions jobs/nr-duplicates-report/openshift/templates/cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@ objects:
valueFrom:
secretKeyRef:
name: ${NAME}-${TAG}-secret
key: DATABASE_PORT
- name: PG_USER
key: DATABASE_PORT
- name: PAY_USER
valueFrom:
secretKeyRef:
Expand Down
9 changes: 1 addition & 8 deletions jobs/nr-duplicates-report/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,12 @@ jsonschema==3.2.0
more-itertools==7.2.0
six==1.14.0
pyrsistent==0.16.0
zipp==3.1.0

Flask==1.1.2
pytest
Click==7.1.2
python-dotenv==0.13.0
requests==2.23.0
marshmallow==2.20.5
Werkzeug==0.16.1
certifi==2020.4.5.1
urllib3==1.25.9
idna==2.9
pylint
pylint-flask
pep8
autopep8
idna==2.9
6 changes: 6 additions & 0 deletions jobs/nr-duplicates-report/requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,9 @@ flake8-docstrings
flake8-isort
flake8-quotes
pep8-naming

pylint
pylint-flask
pep8
autopep8
coverage
22 changes: 5 additions & 17 deletions jobs/nr-duplicates-report/requirements/prod.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,34 +10,22 @@ papermill
schedule
attrs==19.2.0
future==0.18.2
Jinja2==2.11.2
Jinja2==3.0
markupsafe==2.0.1
python-dateutil==2.8.1
pytz==2019.3
importlib-metadata==1.6.0
python-dateutil==2.8.2
pytz==2020.1
importlib-metadata==3.6.0
itsdangerous==2.0.1
jsonschema==3.2.0
more-itertools==7.2.0
six==1.14.0
pyrsistent==0.16.0
zipp==3.1.0

Flask==1.1.2
pytest
Click==7.1.2
python-dotenv==0.13.0
requests==2.23.0
marshmallow==2.20.5
Werkzeug==0.16.1
certifi==2020.4.5.1
urllib3==1.25.9
idna==2.9
pylint
pylint-flask
pep8
autopep8





idna==2.9
2 changes: 1 addition & 1 deletion jobs/nr-duplicates-report/run.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /bin/sh
cd /opt/app-root
echo 'run notebookreport to generate Jupyter Notebook Report'
echo 'run notebookreport to generate NR Duplicates Report'
python notebookreport.py

0 comments on commit fbd97bd

Please sign in to comment.