Skip to content

Commit

Permalink
badges script
Browse files Browse the repository at this point in the history
  • Loading branch information
jlblancoc committed Sep 2, 2024
1 parent f34acee commit 6dfdded
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions scripts/generate_statuses_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,21 @@ def process_directories(path, items_to_remove, pattern_text):
'.vscode', '.github', '.circleci', '.git']
pattern_text = \
"| {name} | "\
"[![Build Status](https://build.ros2.org/job/Hbin_uJ64__{name}__ubuntu_jammy_amd64__binary/badge/icon)](https://build.ros2.org/job/Hbin_uJ64__{name}__ubuntu_jammy_amd64__binary/) | " \
"[![Build Status](https://build.ros2.org/job/Ibin_uJ64__{name}__ubuntu_jammy_amd64__binary/badge/icon)](https://build.ros2.org/job/Ibin_uJ64__{name}__ubuntu_jammy_amd64__binary/) | " \
"[![Build Status](https://build.ros2.org/job/Jbin_uN64__{name}__ubuntu_noble_amd64__binary/badge/icon)](https://build.ros2.org/job/Jbin_uN64__{name}__ubuntu_noble_amd64__binary/) | " \
"[![Build Status](https://build.ros2.org/job/Rbin_uN64__{name}__ubuntu_noble_amd64__binary/badge/icon)](https://build.ros2.org/job/Rbin_uN64__{name}__ubuntu_noble_amd64__binary/) |"
"[![Build Status](https://build.ros2.org/job/Hbin_uJ64__{name}__ubuntu_jammy_amd64__binary/badge/icon)](https://build.ros2.org/job/Hbin_uJ64__{name}__ubuntu_jammy_amd64__binary/) " \
"<br> " \
"[![Build Status](https://build.ros2.org/job/Hbin_ujv8_uJv8__{name}__ubuntu_jammy_arm64__binary/badge/icon)](https://build.ros2.org/job/Hbin_ujv8_uJv8__{name}__ubuntu_jammy_arm64__binary/) " \
" | " \
"[![Build Status](https://build.ros2.org/job/Ibin_uJ64__{name}__ubuntu_jammy_amd64__binary/badge/icon)](https://build.ros2.org/job/Ibin_uJ64__{name}__ubuntu_jammy_amd64__binary/) " \
"<br> " \
"[![Build Status](https://build.ros2.org/job/Ibin_ujv8_uJv8__{name}__ubuntu_jammy_arm64__binary/badge/icon)](https://build.ros2.org/job/Ibin_ujv8_uJv8__{name}__ubuntu_jammy_arm64__binary/) " \
" | " \
"[![Build Status](https://build.ros2.org/job/Jbin_uN64__{name}__ubuntu_noble_amd64__binary/badge/icon)](https://build.ros2.org/job/Jbin_uN64__{name}__ubuntu_noble_amd64__binary/) " \
"<br> " \
"[![Build Status](https://build.ros2.org/job/Jbin_unv8_uNv8__{name}__ubuntu_noble_arm64__binary/badge/icon)](https://build.ros2.org/job/Jbin_unv8_uNv8__{name}__ubuntu_noble_arm64__binary/) " \
" | " \
"[![Build Status](https://build.ros2.org/job/Rbin_uN64__{name}__ubuntu_noble_amd64__binary/badge/icon)](https://build.ros2.org/job/Rbin_uN64__{name}__ubuntu_noble_amd64__binary/)" \
"<br> " \
"[![Build Status](https://build.ros2.org/job/Rbin_unv8_uNv8__{name}__ubuntu_noble_arm64__binary/badge/icon)](https://build.ros2.org/job/Rbin_unv8_uNv8__{name}__ubuntu_noble_arm64__binary/)" \
" | "

process_directories(path_to_search, items_to_remove, pattern_text)

0 comments on commit 6dfdded

Please sign in to comment.