Skip to content

Commit

Permalink
Merge pull request #726 from bedroge/fix_tarball_overview_for_acceler…
Browse files Browse the repository at this point in the history
…ators

Make the `bot/bot-check.sh` script correctly pick up builds for accelerators
  • Loading branch information
boegel committed Sep 23, 2024
2 parents 43c57ea + 05be1a2 commit c006897
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bot/check-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -457,8 +457,14 @@ if [[ ! -z ${TARBALL} ]]; then
repo_version=$(cfg_get_value "repository" "repo_version")
os_type=$(cfg_get_value "architecture" "os_type")
software_subdir=$(cfg_get_value "architecture" "software_subdir")
accelerator=$(cfg_get_value "architecture" "accelerator")
prefix="${repo_version}/software/${os_type}/${software_subdir}"

# if we build for an accelerator, the prefix is different
if [[ ! -z ${accelerator} ]]; then
prefix="${prefix}/accel/${accelerator}"
fi

# extract directories/entries from tarball content
modules_entries=$(grep "${prefix}/modules" ${tmpfile})
software_entries=$(grep "${prefix}/software" ${tmpfile})
Expand Down

0 comments on commit c006897

Please sign in to comment.