[Git][reproducible-builds/reproducible-website][master] Add continuous tests overview

Mattia Rizzolo gitlab at salsa.debian.org
Sat Dec 28 20:12:13 UTC 2019



Mattia Rizzolo pushed to branch master at Reproducible Builds / reproducible-website


Commits:
1c19f5c0 by Paul Spooren at 2019-12-28T20:10:34Z
Add continuous tests overview

Previously the tested project where distributed over the /who page, now
there is a single page containing all projects currently tested in the
r-b test infrastructure.

To do so a new field to _data/project.yml called `tests` containing a
link to the r-b test infra.

If this link is available the project will appear on the /citests/
page, ideally replacing the *overview* of t.r-b/debian bottom left.

[ Mariana Moreira ]
 Improve the styling of the page, using bootstrap's cards.

Signed-off-by: Paul Spooren <mail at aparcar.org>
Signed-off-by: Mattia Rizzolo <mattia at debian.org>

- - - - -


6 changed files:

- _data/projects.yml
- _includes/nav_buttons.html
- _includes/navbar.html
- _includes/navbar_side.html
- + citests.md
- who.md


Changes:

=====================================
_data/projects.yml
=====================================
@@ -1,9 +1,8 @@
 - name: Arch Linux
   url: https://www.archlinux.org/
   logo: archlinux.png
+  tests: https://tests.reproducible-builds.org/archlinux/
   resources:
-  - name: Continuous tests
-    url: https://tests.reproducible-builds.org/archlinux/
   - name: Developer wiki page
     url: https://wiki.archlinux.org/index.php/DeveloperWiki:ReproducibleBuilds
   - name: Recording
@@ -37,17 +36,14 @@
 - name: coreboot
   url: https://www.coreboot.org/
   logo: coreboot.png
-  resources:
-  - name: Continuous tests
-    url: https://tests.reproducible-builds.org/coreboot/
+  tests: https://tests.reproducible-builds.org/coreboot/
 - name: Debian
   url: https://www.debian.org/
   logo: debian.png
+  tests: https://tests.reproducible-builds.org/debian/
   resources:
   - name: Wiki pages
     url: https://wiki.debian.org/ReproducibleBuilds
-  - name: Continuous tests
-    url: https://tests.reproducible-builds.org/debian/
   - name: Mailing list
     url: mailto:reproducible-builds at lists.alioth.debian.org
   - name: Recording
@@ -71,23 +67,21 @@
 - name: FreeBSD
   url: https://www.freebsd.org/
   logo: freebsd.png
+  tests: https://tests.reproducible-builds.org/freebsd/
   resources:
   - name: Base system
     url: https://wiki.freebsd.org/ReproducibleBuilds
   - name: Ports
     url: https://wiki.freebsd.org/PortsReproducibleBuilds
-  - name: Continuous tests
-    url: https://tests.reproducible-builds.org/freebsd/
   - name: Mailing list
     url: mailto:reproducibility at freebsd.org
 - name: Fedora
   url: https://fedoraproject.org/wiki/Fedora_Project_Wiki
   logo: fedora.png
+  tests: https://tests.reproducible-builds.org/fedora/
   resources:
   - name: Wiki pages
     url: https://fedoraproject.org/wiki/Reproducible_Builds
-  - name: Continuous tests
-    url: https://tests.reproducible-builds.org/fedora/
   - name: Helper scripts
     url: https://github.com/kholia/ReproducibleBuilds
 - name: GNU Guix
@@ -111,16 +105,15 @@
 - name: NetBSD
   url: https://www.netbsd.org/
   logo: netbsd.png
+  tests: https://tests.reproducible-builds.org/netbsd/
   resources:
-  - name: Continuous tests
-    url: https://tests.reproducible-builds.org/netbsd/
   - name: Notes on Reproducible Builds of NetBSD
     url: https://blog.netbsd.org/tnf/entry/netbsd_fully_reproducible_builds
 - name: NixOS
   url: https://nixos.org/
   logo: nixos.png
   resources:
-  - name: Continuous tests
+  - name: Continuous tests (external)
     url: https://r13y.com
   - name: "PR#2281: deterministic build"
     url: https://github.com/NixOS/nixpkgs/pull/2281
@@ -140,9 +133,8 @@
 - name: OpenWrt
   url: https://openwrt.org/
   logo: openwrt.png
+  tests: https://tests.reproducible-builds.org/openwrt/
   resources:
-  - name: Continuous tests
-    url: https://tests.reproducible-builds.org/openwrt/
 - name: Qubes OS
   url: https://www.qubes-os.org/
   logo: qubes.png


=====================================
_includes/nav_buttons.html
=====================================
@@ -1,5 +1,4 @@
 {% assign sorted_pages = site.pages | sort:"order" %}
 <p class="text-center">
 {% for page in sorted_pages %}{% if page.title and page.order > 0 %}<a class="btn btn-outline-primary m-2" href="{{ page.url | prepend: site.baseurl }}">{{ page.title }}</a>{% endif %}{% endfor %}
-<a class="btn btn-outline-primary btn-sm m-2" href="https://tests.reproducible-builds.org/" target="_new">Testing framework</a>
 </p>


=====================================
_includes/navbar.html
=====================================
@@ -16,9 +16,6 @@
       </li>
       {% endif %}
       {% endfor %}
-      <li class="nav-item">
-        <a class="nav-link" href="https://tests.reproducible-builds.org/" target="_new">Testing framework</a>
-      </li>
     </ul>
   </div>
 </nav>


=====================================
_includes/navbar_side.html
=====================================
@@ -8,9 +8,5 @@
     </li>
     {% endif %}
     {% endfor %}
-
-    <li class="list-group-item rb-main-sidebar">
-      <a href="https://tests.reproducible-builds.org/" target="_new" class="sidebar__link__darkGray btn btn-outline-primary btn-sm">Testing framework</a>
-    </li>
   </ul>
 </div>


=====================================
citests.md
=====================================
@@ -0,0 +1,31 @@
+---
+layout: default
+title: Continuous tests
+permalink: /citests/
+order: 10
+---
+## Continuous tests
+
+<div markdown="1">
+The following projects are tested within the reproducible test infrastructure.
+Click the different links to see current tests and results.
+</div>
+
+<div class="projects row bg-light p-md-5 p-sm-3 pt-5 pb-5">
+    {%- for project in site.data.projects %}
+    {%- if project.tests %}
+    <div class="col-xs-12 col-sm-6 col-lg-4 col-xl-3 mb-4">
+        <div class="card text-center" name="{{ project.name }}">
+            <ul class="list-group list-group-flush">
+                <li class="list-group-item">
+                    <a href="{{ project.tests }}">
+                        <h4>{{project.name}}</h4>
+                        <img class="card-img p-5" src="{{ project.logo | prepend: "/images/logos/" | prepend: site.baseurl }}">
+                    </a>
+                </li>
+            </ul>
+        </div>
+    </div>
+    {%- endif %}
+    {%- endfor %}
+</div>


=====================================
who.md
=====================================
@@ -100,6 +100,11 @@ The majority of sponsorship funds go directly towards supporting the Reproducibl
                         <a href="{{ resource.url }}">{{ resource.name }}</a>
                     </li>
                 {% endfor %}
+                {% if project.tests %}
+                    <li class="list-group-item">
+                        <a href="{{ project.tests }}">Continuous tests</a>
+                    </li>
+                {% endif %}
             </ul>
         </div>
     </div>



View it on GitLab: https://salsa.debian.org/reproducible-builds/reproducible-website/commit/1c19f5c02fe043d9bcb4181e57934c959e95a5b0

-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/reproducible-website/commit/1c19f5c02fe043d9bcb4181e57934c959e95a5b0
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20191228/0660a90b/attachment.htm>


More information about the rb-commits mailing list