diff options
| author | Jason Gross | 2020-08-25 14:56:32 -0400 |
|---|---|---|
| committer | Jason Gross | 2020-09-03 14:15:07 -0400 |
| commit | f9eeec7101da55263b644164d1f096af232eb995 (patch) | |
| tree | 034a851deaf3697148bcc5da23c8252900852cfb /dev/bench | |
| parent | f9c37872f559e018f9782b183e4959a0ead03912 (diff) | |
[bench] Only upload some files
We will now also record a listing of all files that we could have
uploaded, in case we want to know what's available to upload in the
future.
Diffstat (limited to 'dev/bench')
| -rw-r--r-- | dev/bench/gitlab-bench.yml | 7 | ||||
| -rwxr-xr-x | dev/bench/gitlab.sh | 14 |
2 files changed, 19 insertions, 2 deletions
diff --git a/dev/bench/gitlab-bench.yml b/dev/bench/gitlab-bench.yml index 63e137ac2a..4275e3d121 100644 --- a/dev/bench/gitlab-bench.yml +++ b/dev/bench/gitlab-bench.yml @@ -28,7 +28,10 @@ bench: paths: - _bench/html/**/*.v.html - _bench/logs - - _bench/opam.NEW - - _bench/opam.OLD + - _bench/files.listing + - _bench/opam.NEW/**/*.log + - _bench/opam.NEW/**/*.timing + - _bench/opam.OLD/**/*.log + - _bench/opam.OLD/**/*.timing when: always expire_in: 1 year diff --git a/dev/bench/gitlab.sh b/dev/bench/gitlab.sh index fe17769d99..7625e4e7f7 100755 --- a/dev/bench/gitlab.sh +++ b/dev/bench/gitlab.sh @@ -114,6 +114,15 @@ else exit 1 fi +if which du > /dev/null; then + : +else + echo > /dev/stderr + echo "ERROR: \"du\" program is not available." > /dev/stderr + echo > /dev/stderr + exit 1 +fi + if [ ! -e "$working_dir" ]; then echo > /dev/stderr echo "ERROR: \"$working_dir\" does not exist." > /dev/stderr @@ -430,6 +439,11 @@ for coq_opam_package in $sorted_coq_opam_packages; do done done +# Since we do not upload all files, store a list of the files +# available so that if we at some point want to tweak which files we +# upload, we'll know which ones are available for upload +du -ha "$working_dir" > "$working_dir/files.listing" + # The following directories in $working_dir are no longer used: # # - coq, opam.OLD, opam.NEW |
