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

View file

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

View file

@ -52,6 +52,19 @@ data:
'social_core.backends.open_id.OpenIdAuth', '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. # The logging configuration, in dictConfig format.
[anitya_log_config] [anitya_log_config]
version = 1 version = 1