Skip to content

Commit

Permalink
Merge branch 'main' into Handle_exception_when_making_testing-farm_re…
Browse files Browse the repository at this point in the history
…quest
  • Loading branch information
kwk committed Aug 21, 2024
2 parents 984cd1b + e488fdf commit 353e158
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 24 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check-snapshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
fail-fast: false
matrix:
today_minus_n_days: [0, 1, 2]
name: [big-merge]
name: [big-merge, pgo]
include:
# - name: standalone
# maintainer_handle: "tbaederr"
Expand All @@ -48,7 +48,7 @@ jobs:
copr_ownername: "@fedora-llvm-team"
copr_project_tpl: "llvm-snapshots-pgo-YYYYMMDD"
copr_monitor_tpl: "https://copr.fedorainfracloud.org/coprs/g/fedora-llvm-team/llvm-snapshots-pgo-YYYYMMDD/monitor/"
chroot_pattern: 'fedora-40-x86_64'
chroot_pattern: '^(fedora-(rawhide|[0-9]+)|rhel-[8,9]-)'
packages: "llvm"
# - name: bootstrap
# maintainer_handle: "kwk"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fedora-copr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: pgo
copr_project_tpl: "@fedora-llvm-team/llvm-snapshots-pgo-YYYYMMDD"
copr_target_project: "@fedora-llvm-team/llvm-snapshots-pgo"
extra_script_file: "scripts/functions-pgo.sh"
# extra_script_file: "scripts/functions-pgo.sh"
clone_url_tpl: "https://src.fedoraproject.org/forks/kkleine/rpms/PKG.git"
clone_ref: pgo
runs-on: ubuntu-latest
Expand Down
13 changes: 0 additions & 13 deletions scripts/functions-pgo.sh

This file was deleted.

2 changes: 1 addition & 1 deletion snapshot_manager/snapshot_manager/build_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def render_as_markdown(self) -> str:
if self.url_build_log is None:
link = f'<a href="{self.build_page_url}">build page</a>'
return f"""
<details open>
<details>
<summary>
<code>{self.package_name}</code> on <code>{self.chroot}</code> (see {link})
</summary>
Expand Down
14 changes: 7 additions & 7 deletions snapshot_manager/tests/build_status_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def test_render_as_markdown(self):
)

expected = """
<details open>
<details>
<summary>
<code>foo</code> on <code>fedora-40-x86_64</code> (see <a href="https://example.com/url_build_log">build log</a>, <a href="https://logdetective.com/contribute/copr/00001234/fedora-40-x86_64">contribute to log-detective</a>)
</summary>
Expand Down Expand Up @@ -152,42 +152,42 @@ def test_render_as_markdown(self):
actual = build_status.render_as_markdown(unsorted)

expected = """<ul><li><b>network_issue</b><ol><li>
<details open>
<details>
<summary>
<code>package-a</code> on <code>chroot-a</code> (see <a href="http://e1">build log</a>, <a href="https://logdetective.com/contribute/copr/00000111/chroot-a">contribute to log-detective</a>)
</summary>
e1
</details>
</li><li>
<details open>
<details>
<summary>
<code>package-b</code> on <code>chroot-a</code> (see <a href="http://e2">build log</a>, <a href="https://logdetective.com/contribute/copr/00000222/chroot-a">contribute to log-detective</a>)
</summary>
e2
</details>
</li><li>
<details open>
<details>
<summary>
<code>package-c</code> on <code>chroot-a</code> (see <a href="http://e3">build log</a>, <a href="https://logdetective.com/contribute/copr/00000333/chroot-a">contribute to log-detective</a>)
</summary>
e3
</details>
</li></ol></li><li><b>test</b><ol><li>
<details open>
<details>
<summary>
<code>package-a</code> on <code>chroot-c</code> (see <a href="http://e4">build log</a>, <a href="https://logdetective.com/contribute/copr/00000444/chroot-c">contribute to log-detective</a>)
</summary>
e4
</details>
</li><li>
<details open>
<details>
<summary>
<code>package-b</code> on <code>chroot-c</code> (see <a href="http://e5">build log</a>, <a href="https://logdetective.com/contribute/copr/00000555/chroot-c">contribute to log-detective</a>)
</summary>
e5
</details>
</li><li>
<details open>
<details>
<summary>
<code>package-c</code> on <code>chroot-c</code> (see <a href="http://e6">build log</a>, <a href="https://logdetective.com/contribute/copr/00000666/chroot-c">contribute to log-detective</a>)
</summary>
Expand Down

0 comments on commit 353e158

Please sign in to comment.