Skip to content

Commit

Permalink
Merge pull request #154 from perftool-incubator/dev-kmr
Browse files Browse the repository at this point in the history
use a file from rickshaw to filter out userenv's that should not have…
  • Loading branch information
k-rister authored Jan 14, 2025
2 parents 0d10ff8 + 54a8711 commit e3abf35
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/actions/get-userenvs/generate-userenv-list.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,15 @@
rickshaw_directory=${1}
userenv_filter=${2}

excludes="stream8-flexran rhel-ai"

if pushd ${rickshaw_directory}; then
excludes=""
excludes_file="userenvs/ci-excludes.txt"
if [ -e ${excludes_file} ]; then
while read userenv; do
excludes+="${userenv} "
done < ${excludes_file}
fi

userenvs=$(find userenvs/ -maxdepth 1 -name '*.json' -type f | sed -e 's|userenvs/||' -e 's|\.json||')
# Discard excluded envs
for ex in ${excludes[@]}; do
Expand Down

0 comments on commit e3abf35

Please sign in to comment.