Skip to content
Snippets Groups Projects
Commit 71bc5ce9 authored by Chase Qi's avatar Chase Qi
Browse files

.oniro-ci: exclude symbolic link for zephyr image test


Signed-off-by: default avatarChase Qi <chase.qi@linaro.org>
parent 11015822
No related branches found
No related tags found
1 merge request!286.oniro-ci: exclude symbolic link for zephyr image test
...@@ -73,7 +73,7 @@ ...@@ -73,7 +73,7 @@
rm -rf lava_jobs && mkdir lava_jobs rm -rf lava_jobs && mkdir lava_jobs
# Generate job definitions for zephyr build # Generate job definitions for zephyr build
if echo "${CI_BUILD_JOB_NAME}" | grep -i "zephyr" | grep -vi "twister"; then if echo "${CI_BUILD_JOB_NAME}" | grep -i "zephyr" | grep -vi "twister"; then
for image in $(find artifacts/images/${MACHINE} -name "*.elf" -exec basename {} \;); do for image in $(find artifacts/images/${MACHINE} -type f -name "*.elf" -exec basename {} \;); do
image_basename=$(basename "${image}" ".elf") image_basename=$(basename "${image}" ".elf")
echo "--- Generating lava job definition ${image_basename}.yaml ---" echo "--- Generating lava job definition ${image_basename}.yaml ---"
sed "s/@image_basename@/$image_basename/" job_def.yaml | tee lava_jobs/"${image_basename}".yaml sed "s/@image_basename@/$image_basename/" job_def.yaml | tee lava_jobs/"${image_basename}".yaml
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment