Let's forget about ARM & testing CI for now

This commit is contained in:
Alexandre Aubin 2021-03-21 19:32:07 +01:00
parent be1904c7f9
commit b61fc348e3
2 changed files with 1 additions and 19 deletions

View file

@ -26,20 +26,6 @@ class AppCIBranch(db.Model):
url='https://ci-apps.yunohost.org/ci/logs/list_level_stable_amd64.json', url='https://ci-apps.yunohost.org/ci/logs/list_level_stable_amd64.json',
url_per_app='https://ci-apps.yunohost.org/ci/apps/{}/') 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_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_amd64.json',
url_per_app='https://ci-apps-unstable.yunohost.org/ci/apps/{}/')
yield AppCIBranch(name='unstable', yield AppCIBranch(name='unstable',
arch="x86", arch="x86",
branch="unstable", branch="unstable",
@ -103,7 +89,7 @@ class AppCIResult(db.Model):
@property @property
def needs_attention(self): def needs_attention(self):
return self.outdated or self.level is None or self.app.public_level == "?" or (int(self.app.public_level) > self.level) return self.outdated or self.level is None or self.app.public_level == "?" or (int(self.app.public_level) > self.level)
class AppCI(): class AppCI():

View file

@ -32,14 +32,10 @@
<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="unstable")}}">Unstable</a>
<a class="dropdown-item" href="{{ url_for('main.appci_branch', branch="arm")}}">ARM</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="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="unstable")}}">Stable vs. Unstable</a>
<a class="dropdown-item" href="{{ url_for('main.appci_compare', ref="stable", target="arm")}}">Stable vs. ARM</a>
</div> </div>
</li> </li>
<li class="nav-item dropdown"> <li class="nav-item dropdown">