Anitya 0.13.0 release

This commit is contained in:
Michal Konečný 2018-09-12 16:38:08 +02:00
parent 451030a0b6
commit 4b69782245
3 changed files with 18 additions and 5 deletions

View file

@ -31,7 +31,7 @@ items:
python3-pip \
python3-psycopg2 \
python3-setuptools \
python3-sphinxcontrib-httpdomain \
python3-sphinxcontrib-httpdomain \
python3-social-auth-app-flask-sqlalchemy \
python3-straight-plugin \
python3-sqlalchemy \
@ -41,7 +41,7 @@ items:
dnf clean all -y
RUN git clone https://github.com/release-monitoring/anitya.git && \
pushd anitya && \
git checkout 0.12.1 && \
git checkout 0.13.0 && \
pushd docs && \
sphinx-build-3 -b html . _build/html && \
mkdir -p ../anitya/static/docs/ && \

View file

@ -5,11 +5,11 @@ metadata:
spec:
concurrencyPolicy: Forbid
schedule: "10 */12 * * *"
jobTemplate:
jobTemplate:
spec:
template:
metadata:
labels:
labels:
parent: "cronjobanitya"
spec:
containers:
@ -23,7 +23,7 @@ spec:
- mountPath: /etc/anitya
name: config-volume
readOnly: true
restartPolicy: OnFailure
restartPolicy: OnFailure
volumes:
- configMap:
defaultMode: 420

View file

@ -52,6 +52,19 @@ data:
'social_core.backends.open_id.OpenIdAuth',
]
# Default regular expression used for backend
default_regex = """\
%(name)s(?:[-_]?(?:minsrc|src|source))?[-_]([^-/_\\s]+?)(?i)(?:[-_]\
(?:minsrc|src|source|asc|release))?\\.(?:tar|t[bglx]z|tbz2|zip)\
"""
# Github access token
{% if env == 'staging' %}
github_access_token = "{{ github_stg_release_monitoring }}"
{% else %}
github_access_token = "{{ github_prod_release_monitoring }}"
{% endif %}
# The logging configuration, in dictConfig format.
[anitya_log_config]
version = 1