Skip to content
Snippets Groups Projects
Commit 507291e8 authored by Domenico Giordano's avatar Domenico Giordano
Browse files

debug openMR

parent 7da79498
Branches
Tags
20 merge requests!949Rebase atlas sim mt ma,!941Master,!939Master,!937Master,!933Master,!929Master,!927Master,!919Sync with master,!890sync with master,!882master,!846sync with master,!838sync with recent CI update,!829sync with master,!828update MLPF branch to master,!806Add new multi-arch benchmark for ALICE. Fix openMR,!804[BMK-1142] reduce otuput size,!803merge qa-build-hello-world-ma commit 32fd27c8 from 5010440,!802merge qa-build-hello-world-ma commit a0f96572 from 5010435,!801merge qa-build-hello-world-ma commit 2f129e07 from 5010395,!800merge qa-build-hello-world-ma commit ef46e63b from 5010390
......@@ -203,8 +203,8 @@ function openMR_create_new_branch(){
function openMR_update_WL_list(){
echo "[openMR] update file WL_list.md"
generate_wl_list > /tmp/WL_list.md
cat /tmp/WL_list.md
generate_wl_list #> /tmp/WL_list.md
#cat /tmp/WL_list.md
return 0
curl -i --request PUT \
--header "PRIVATE-TOKEN:${CI_PRIVATE_TOKEN}" \
......@@ -533,19 +533,23 @@ function create_sing_cache_dirs(){
function generate_wl_list(){
echo "# HEP Workloads list"
sleep 5
LONG_STRING=""
echo "| Experiment | WL repo | SIF Containers | Latest Docker Container | Lastest Built Version | Latest Pipeline status | "
echo "| -------- | -------- | -------- | -------- | -------- | -------- |"
return 0
for aexp in $(find . -mindepth 1 -maxdepth 1 -type d | sed -e 's@\.\/@@' | grep -E -v "common|build-executor|scripts|test|\..*" | sort );
EXPERIMENTS=$(find . -mindepth 1 -maxdepth 1 -type d | sed -e 's@\.\/@@' | grep -E -v "common|build-executor|scripts|test|\..*" | sort )
for aexp in ${EXPERIMENTS};
do
#echo $aexp
for wl in $(find "$aexp" -mindepth 1 -maxdepth 1 -type d| sed -e "s@$aexp\/@@" | sort);
WORKLOADS=$(find "$aexp" -mindepth 1 -maxdepth 1 -type d| sed -e "s@$aexp\/@@" | sort)
for wl in $WORKLOADS;
do
echo "${aexp}/${wl}/${aexp}-${wl}.spec"
source "${aexp}/${wl}/${aexp}-${wl}.spec"
echo "| $aexp | [$wl][${aexp}_${wl}_code] | [link][${aexp}_${wl}_sif] | [docker][${aexp}_${wl}_img] | [${HEPWL_DOCKERIMAGETAG}][${aexp}_${wl}_pipelink] | ![ci][${aexp}_${wl}_pipeline]|"
pipeline_url=$(grep "\[${aexp}_${wl}_pipelink\]:" "${CI_PROJECT_DIR}"/WL_list.md | cut -d ":" -f2- | sed -e 's@\s@@g')
sleep 2
pipeline_url=""
if [ -f "${CI_PROJECT_DIR}"/WL_list.md ]; then
pipeline_url=$(grep "\[${aexp}_${wl}_pipelink\]:" "${CI_PROJECT_DIR}"/WL_list.md | cut -d ":" -f2- | sed -e 's@\s@@g')
fi
if [ "${CI_COMMIT_BRANCH}" == "qa-build-${aexp}-${wl}" ]; then
pipeline_url="https://gitlab.cern.ch/hep-benchmarks/hep-workloads/-/pipelines/${CI_PIPELINE_ID}"
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment