Skip to content

Commit

Permalink
Add extra builds to test for reproducible builds
Browse files Browse the repository at this point in the history
This helps slow down introduction of new issues into Factory.

See https://reproducible-builds.org/ for why this is good.
  • Loading branch information
bmwiedemann committed Aug 5, 2024
1 parent 7caf9a6 commit 57e2b42
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions osclib/stagingapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -1425,6 +1425,17 @@ def create_adi_project(self, name, use_frozenlinks=False, src_prj=None):
<arch>x86_64</arch>
</repository>"""

reproducible_builds_repos = f"""
<repository name="rb_future1y">
<path project="{name}" repository="standard"/>
<arch>x86_64</arch>
</repository>
<repository name="rb_j1">
<path project="{name}" repository="standard"/>
<arch>x86_64</arch>
</repository>
"""

meta = f"""
<project name="{name}">
<title></title>
Expand All @@ -1441,6 +1452,7 @@ def create_adi_project(self, name, use_frozenlinks=False, src_prj=None):
<path project="{self.cstaging}" repository="standard"/>
<path project="{self.project}" repository="standard"/>
</repository>
{reproducible_builds_repos}
{images_repo}
{containerfile_repo}
</project>"""
Expand Down

0 comments on commit 57e2b42

Please sign in to comment.