EOX GitLab Instance

Commit 7dda7e68 authored by Nikola Jankovic's avatar Nikola Jankovic 💻
Browse files

updated dockerfile

updated chart version
added sample config file
parent 67f1c6aa
Pipeline #17490 passed with stages
in 1 minute and 49 seconds
[bumpversion]
current_version = 2.0.0-alpha.2
commit = True
tag = True
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\-(?P<release>[a-z]+)\.(?P<build>\d+))?
serialize =
{major}.{minor}.{patch}-{release}.{build}
{major}.{minor}.{patch}
tag_name = release-{new_version}
[bumpversion:part:release]
optional_value = final
first_value = alpha
values =
alpha
beta
rc
final
[bumpversion:file:.bumpversion.cfg]
search = current_version = {current_version}
[bumpversion:file:/Dockerfile]
search = version="{current_version}"
replace = version="{new_version}"
[bumpversion:file:setup.py]
search = version="{current_version}"
replace = version="{new_version}"
[bumpversion:glob:chart/Chart.yaml]
search = appVersion: "{current_version}"
replace = appVersion: "{new_version}"
chart/
tests/
.gitignore
.gitlab-ci.yml
Dockerfile
.venv/
.git/
requirements-test.txt
......@@ -2,7 +2,6 @@
*~
*.py[cod]
*.so
*.cfg
!.isort.cfg
!setup.cfg
*.orig
......@@ -14,6 +13,7 @@ __pycache__/*
*/.ipynb_checkpoints/*
.DS_Store
.pylintrc
__pycache__/
# Project files
.ropeproject
......
......@@ -25,7 +25,7 @@
# IN THE SOFTWARE.
#-----------------------------------------------------------------------
FROM python:3.8
FROM python:3.8-slim
LABEL name="prism view server scheduler" \
vendor="EOX IT Services GmbH <https://eox.at>" \
......@@ -34,11 +34,13 @@ LABEL name="prism view server scheduler" \
WORKDIR /opt/scheduler
ADD . .
COPY requirements.txt .
RUN pip3 install --no-cache-dir -r requirements.txt
COPY . .
RUN python3 setup.py install
RUN pip3 install schedule
CMD run-scheduler.sh
CMD ["./run-scheduler.sh"]
LABEL version="2.0.0-alpha.2"
......@@ -21,4 +21,4 @@ version: 0.1.0
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "2.0.0"
appVersion: "2.0.0-alpha.2"
schedules:
- name: S2L2A_Element84
schedule: 30 seconds
queue: harvester
# scheduler
Scheduler service of the View Server
Scheduler service of the View Server. Used to send scheduled signals to other components
of the view server. Currently just works in cohesion with the harvester, sending
a string in the config with `name` on a configured `schedule` to a given `queue`.
File mode changed from 100644 to 100755
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment