Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -164,3 +164,4 @@ cython_debug/
/.idea/vcs.xml
/jobs/epic-cron/.idea/modules.xml
/jobs/epic-cron/.idea/misc.xml
/deployments/charts/epic-cron/values.dev.yaml
14 changes: 9 additions & 5 deletions jobs/epic-cron/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM python:3.10-buster
FROM python:3.12-slim-bookworm

# Install git for pip to clone git dependencies
RUN apt-get update && apt-get install -y --no-install-recommends git && rm -rf /var/lib/apt/lists/*
# ========================================================================================================
# Install go-crond (from https://github.com/BCDevOps/go-crond)
# - Adds some additional logging enhancements on top of the upstream project;
Expand All @@ -9,8 +11,8 @@ FROM python:3.10-buster
# - https://blog.danman.eu/cron-jobs-in-openshift/
#
# --------------------------------------------------------------------------------------------------------
ARG SOURCE_REPO=BCDevOps
ARG GOCROND_VERSION=0.6.2
ARG SOURCE_REPO=webdevops
ARG GOCROND_VERSION=23.2.0
ARG VCS_REF="missing"
ARG BUILD_DATE="missing"

Expand All @@ -20,7 +22,7 @@ ENV BUILD_DATE=${BUILD_DATE}
LABEL org.label-schema.vcs-ref=${VCS_REF} \
org.label-schema.build-date=${BUILD_DATE}

RUN curl https://github.com/$SOURCE_REPO/go-crond/releases/download/$GOCROND_VERSION/go-crond-64-linux -s -L -o /usr/local/bin/go-crond
ADD https://github.com/$SOURCE_REPO/go-crond/releases/download/$GOCROND_VERSION/go-crond.linux.amd64 /usr/local/bin/go-crond
RUN chmod ug+x /usr/local/bin/go-crond
# ========================================================================================================

Expand All @@ -39,11 +41,13 @@ WORKDIR $HOME
# Install the requirements
COPY ./requirements.txt .
COPY ./requirements/ ./requirements/
COPY . .


RUN pip install --upgrade pip
RUN pip install --no-cache-dir -r requirements.txt

COPY . .

RUN pip install .

# Set Python path
Expand Down
5 changes: 2 additions & 3 deletions jobs/epic-cron/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ Werkzeug==3.1.3
alembic==1.16.4
aniso8601==10.0.1
attrs==25.3.0
backports-datetime-fromisoformat==2.0.3
blinker==1.9.0
cachelib==0.13.0
certifi==2025.8.3
Expand All @@ -35,7 +34,7 @@ jsonschema-specifications==2025.4.1
jsonschema==4.25.0
marshmallow-enum==1.5.1
marshmallow-sqlalchemy==1.0.0
marshmallow==4.0.0
marshmallow==3.18.0
packaging==25.0
psycopg2-binary==2.9.10
pyasn1==0.6.1
Expand All @@ -47,7 +46,7 @@ referencing==0.36.2
requests==2.32.4
rpds-py==0.27.0
rsa==4.9.1
secure==0.3.0
secure>=1.0.0
six==1.17.0
tomli==2.2.1
typing_extensions==4.14.1
Expand Down
4 changes: 2 additions & 2 deletions jobs/epic-cron/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ classifiers =
Topic :: ETL
License :: OSI Approved :: Apache Software License
Natural Language :: English
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.12
license = Apache Software License Version 2.0
description = A short description of the project
long_description = file: README.md
keywords =

[options]
zip_safe = True
python_requires = >=3.6
python_requires = >=3.12
include_package_data = True
packages = find:

Expand Down
1 change: 1 addition & 0 deletions jobs/epic-cron/src/submit-api
Submodule submit-api added at 9ccc61
Loading