fix json url

This commit is contained in:
Kayou 2021-03-17 20:32:22 +01:00 committed by GitHub
parent ee508edf55
commit fa923304b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,28 +23,28 @@ class AppCIBranch(db.Model):
arch="x86",
branch="stable",
display_name='Stable (x86)',
url='https://ci-apps.yunohost.org/ci/logs/list_level_stable.json',
url='https://ci-apps.yunohost.org/ci/logs/list_level_stable_amd64.json',
url_per_app='https://ci-apps.yunohost.org/ci/apps/{}/')
yield AppCIBranch(name='arm',
arch="arm",
branch="stable",
display_name='Stable (ARM)',
url='https://ci-apps-arm.yunohost.org/ci/logs/list_level_stable.json',
url='https://ci-apps-arm.yunohost.org/ci/logs/list_level_stable_armhf.json',
url_per_app='https://ci-apps-arm.yunohost.org/ci/apps/{}/')
yield AppCIBranch(name='testing',
arch="x86",
branch="testing",
display_name='Testing (x86)',
url='https://ci-apps-unstable.yunohost.org/ci/logs/list_level_testing.json',
url='https://ci-apps-unstable.yunohost.org/ci/logs/list_level_testing_amd64.json',
url_per_app='https://ci-apps-unstable.yunohost.org/ci/apps/{}/')
yield AppCIBranch(name='unstable',
arch="x86",
branch="unstable",
display_name='Unstable (x86)',
url='https://ci-apps-unstable.yunohost.org/ci/logs/list_level_unstable.json',
url='https://ci-apps-unstable.yunohost.org/ci/logs/list_level_unstable_amd64.json',
url_per_app='https://ci-apps-unstable.yunohost.org/ci/apps/{}/')
def last_build_url(self, app):