Skip to content

Commit

Permalink
Collecting sub dir artifacts in GitLab yaml. Removing collect functio…
Browse files Browse the repository at this point in the history
…n from test script. (#6499)
  • Loading branch information
krishung5 authored Nov 2, 2023
1 parent 048d5ac commit d33eaa5
Show file tree
Hide file tree
Showing 13 changed files with 0 additions and 30 deletions.
2 changes: 0 additions & 2 deletions qa/L0_backend_python/argument_validation/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,4 @@ else
echo -e "\n***\n*** Argument validation test PASSED. \n***"
fi

collect_artifacts_from_subdir

exit $RET
2 changes: 0 additions & 2 deletions qa/L0_backend_python/bls/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,4 @@ else
echo -e "\n***\n*** BLS test PASSED. \n***"
fi

collect_artifacts_from_subdir

exit $RET
2 changes: 0 additions & 2 deletions qa/L0_backend_python/custom_metrics/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,4 @@ else
echo -e "\n***\n*** Custom Metrics test PASSED. \n***"
fi

collect_artifacts_from_subdir

exit $RET
2 changes: 0 additions & 2 deletions qa/L0_backend_python/decoupled/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,4 @@ else
echo -e "\n***\n*** Decoupled test PASSED. \n***"
fi

collect_artifacts_from_subdir

exit $RET
2 changes: 0 additions & 2 deletions qa/L0_backend_python/ensemble/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,4 @@ else
echo -e "\n***\n*** Ensemble test PASSED. \n***"
fi

collect_artifacts_from_subdir

exit $RET
2 changes: 0 additions & 2 deletions qa/L0_backend_python/env/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,4 @@ else
echo -e "\n***\n*** Env Manager Test FAILED.\n***"
fi

collect_artifacts_from_subdir

exit $RET
2 changes: 0 additions & 2 deletions qa/L0_backend_python/examples/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,4 @@ else
echo -e "\n***\n*** Example verification test FAILED.\n***"
fi

collect_artifacts_from_subdir

exit $RET
2 changes: 0 additions & 2 deletions qa/L0_backend_python/io/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,4 @@ else
echo -e "\n***\n*** IO test FAILED.\n***"
fi

collect_artifacts_from_subdir

exit $RET
2 changes: 0 additions & 2 deletions qa/L0_backend_python/lifecycle/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,4 @@ else
echo -e "\n***\n*** Lifecycle test PASSED. \n***"
fi

collect_artifacts_from_subdir

exit $RET
2 changes: 0 additions & 2 deletions qa/L0_backend_python/logging/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,4 @@ else
echo -e "\n***\n*** Logging test FAILED. \n***"
fi

collect_artifacts_from_subdir

exit $RET
2 changes: 0 additions & 2 deletions qa/L0_backend_python/model_control/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,4 @@ else
echo -e "\n***\n*** model_control_test PASSED. \n***"
fi

collect_artifacts_from_subdir

exit $RET
2 changes: 0 additions & 2 deletions qa/L0_backend_python/restart/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,4 @@ else
echo -e "\n***\n*** Restart test PASSED. \n***"
fi

collect_artifacts_from_subdir

exit $RET
6 changes: 0 additions & 6 deletions qa/common/util.sh
Original file line number Diff line number Diff line change
Expand Up @@ -468,12 +468,6 @@ function kill_servers () {
done
}

# Collect all logs and core dumps and copy them to an upper-level directory for
# proper capture on the CI.
function collect_artifacts_from_subdir () {
cp *.*log* core* ../ || true
}

# Sort an array
# Call with sort_array <array_name>
# Example: sort_array array
Expand Down

0 comments on commit d33eaa5

Please sign in to comment.