Reenable unstable app CI

This commit is contained in:
Alexandre Aubin 2019-01-25 15:44:55 +00:00
parent 0f7fae0323
commit 1edbd6a3a9
2 changed files with 9 additions and 2 deletions

View file

@ -33,6 +33,13 @@ class AppCIBranch(db.Model):
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.json',
url_per_app='https://ci-apps-arm.yunohost.org/ci/apps/{}/') url_per_app='https://ci-apps-arm.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_per_app='https://ci-apps-unstable.yunohost.org/ci/apps/{}/')
def last_build_url(self, app): def last_build_url(self, app):
return self.url_per_app.format(app.name) return self.url_per_app.format(app.name)

View file

@ -32,13 +32,13 @@
<div class="dropdown-menu" aria-labelledby="navbarDropdown"> <div class="dropdown-menu" aria-labelledby="navbarDropdown">
<span class="dropdown-header">Per branch</span> <span class="dropdown-header">Per branch</span>
<a class="dropdown-item" href="{{ url_for('main.appci_branch', branch="stable")}}">Stable</a> <a class="dropdown-item" href="{{ url_for('main.appci_branch', branch="stable")}}">Stable</a>
<a class="dropdown-item" href="{{ url_for('main.appci_branch', branch="testing")}}">Testing</a> <a class="dropdown-item" href="{{ url_for('main.appci_branch', branch="unstable")}}">Unstable</a>
<a class="dropdown-item" href="{{ url_for('main.appci_branch', branch="arm")}}">ARM</a> <a class="dropdown-item" href="{{ url_for('main.appci_branch', branch="arm")}}">ARM</a>
<a class="dropdown-item" href="{{ url_for('main.appci_branch', branch="stretch")}}">Stretch</a> <a class="dropdown-item" href="{{ url_for('main.appci_branch', branch="stretch")}}">Stretch</a>
<div class="dropdown-divider"></div> <div class="dropdown-divider"></div>
<span class="dropdown-header">Branch comparisons</span> <span class="dropdown-header">Branch comparisons</span>
<a class="dropdown-item" href="{{ url_for('main.appci_compare', ref="stable", target="arm")}}">Stable vs. ARM</a> <a class="dropdown-item" href="{{ url_for('main.appci_compare', ref="stable", target="arm")}}">Stable vs. ARM</a>
<a class="dropdown-item" href="{{ url_for('main.appci_compare', ref="stable", target="testing")}}">Stable vs. Testing</a> <a class="dropdown-item" href="{{ url_for('main.appci_compare', ref="stable", target="unstable")}}">Stable vs. Unstable</a>
<a class="dropdown-item" href="{{ url_for('main.appci_compare', ref="stable", target="stretch")}}">Stable vs. Stretch</a> <a class="dropdown-item" href="{{ url_for('main.appci_compare', ref="stable", target="stretch")}}">Stable vs. Stretch</a>
</div> </div>
</li> </li>