mirror of https://github.com/openXC7/prjxray.git
infra: Rework the artifact capture.
* Should capture logs / build directory output on failure. * Should capture the database output on success. Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
This commit is contained in:
parent
863621ca14
commit
8d65b6921d
|
|
@ -7,8 +7,10 @@ timeout_mins: 4320
|
|||
action {
|
||||
define_artifacts {
|
||||
regex: "**/*result*.xml"
|
||||
regex: "**/*.log"
|
||||
regex: "database/artix7/**"
|
||||
regex: "**/build/**"
|
||||
regex: "**/logs/**"
|
||||
regex: "**/database/zynq7/**"
|
||||
strip_prefix: "github/symbiflow-prjxray-continuous-db-artix7/"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -7,8 +7,10 @@ timeout_mins: 4320
|
|||
action {
|
||||
define_artifacts {
|
||||
regex: "**/*result*.xml"
|
||||
regex: "**/*.log"
|
||||
regex: "database/kintex7/**"
|
||||
regex: "**/build/**"
|
||||
regex: "**/logs/**"
|
||||
regex: "**/database/zynq7/**"
|
||||
strip_prefix: "github/symbiflow-prjxray-continuous-db-kintex7/"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -7,8 +7,10 @@ timeout_mins: 4320
|
|||
action {
|
||||
define_artifacts {
|
||||
regex: "**/*result*.xml"
|
||||
regex: "**/*.log"
|
||||
regex: "database/zynq7/**"
|
||||
regex: "**/build/**"
|
||||
regex: "**/logs/**"
|
||||
regex: "**/database/zynq7/**"
|
||||
strip_prefix: "github/symbiflow-prjxray-continuous-db-zynq7/"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -5,6 +5,9 @@ timeout_mins: 10
|
|||
action {
|
||||
define_artifacts {
|
||||
regex: "**/*result*.xml"
|
||||
regex: "**/*.log"
|
||||
regex: "**/logs/**"
|
||||
regex: "**/build/**"
|
||||
regex: "**/database/**"
|
||||
strip_prefix: "github/symbiflow-prjxray-db/"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -53,6 +53,7 @@ echo "----------------------------------------"
|
|||
echo "----------------------------------------"
|
||||
|
||||
# Check there is nothing to do after running...
|
||||
echo
|
||||
if [ $(make --dry-run | grep -v 'Nothing to be done' | wc -l) -gt 0 ]; then
|
||||
echo "The following targets need to still run!"
|
||||
make --dry-run
|
||||
|
|
@ -60,6 +61,7 @@ echo "----------------------------------------"
|
|||
echo "Debug output on why they still need to run"
|
||||
make --dry-run --debug
|
||||
echo "----------------------------------------"
|
||||
exit 1
|
||||
else
|
||||
echo "All good, nothing more to do!"
|
||||
fi
|
||||
|
|
@ -94,4 +96,19 @@ echo "----------------------------------------"
|
|||
echo "----------------------------------------"
|
||||
|
||||
# Check the database and fail if it is broken.
|
||||
make checkdb-${XRAY_SETTINGS}
|
||||
#make checkdb-${XRAY_SETTINGS}
|
||||
|
||||
# If we get here, then all the fuzzers completed fine. Hence we are
|
||||
# going to assume we don't want to keep all the build / logs / etc (as
|
||||
# they are quite large). Thus do a clean to get rid of them.
|
||||
echo
|
||||
echo "========================================"
|
||||
echo " Cleaning up after success"
|
||||
echo "----------------------------------------"
|
||||
(
|
||||
cd fuzzers
|
||||
echo
|
||||
echo "Cleaning up so CI doesn't save all the excess data."
|
||||
make clean
|
||||
)
|
||||
echo "----------------------------------------"
|
||||
|
|
|
|||
|
|
@ -7,8 +7,10 @@ timeout_mins: 4320
|
|||
action {
|
||||
define_artifacts {
|
||||
regex: "**/*result*.xml"
|
||||
regex: "**/*.log"
|
||||
regex: "database/artix7/**"
|
||||
regex: "**/logs/**"
|
||||
regex: "**/build/**"
|
||||
regex: "**/database/artix7/**"
|
||||
strip_prefix: "github/symbiflow-prjxray-presubmit-db-artix7/"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -7,8 +7,10 @@ timeout_mins: 4320
|
|||
action {
|
||||
define_artifacts {
|
||||
regex: "**/*result*.xml"
|
||||
regex: "**/*.log"
|
||||
regex: "database/kintex7/**"
|
||||
regex: "**/logs/**"
|
||||
regex: "**/build/**"
|
||||
regex: "**/database/kintex7/**"
|
||||
strip_prefix: "github/symbiflow-prjxray-presubmit-db-kintex7/"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -7,8 +7,10 @@ timeout_mins: 4320
|
|||
action {
|
||||
define_artifacts {
|
||||
regex: "**/*result*.xml"
|
||||
regex: "**/*.log"
|
||||
regex: "database/zynq7/**"
|
||||
regex: "**/logs/**"
|
||||
regex: "**/build/**"
|
||||
regex: "**/database/zynq7/**"
|
||||
strip_prefix: "github/symbiflow-prjxray-presubmit-db-zynq7/"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue