summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2022-01-16 12:49:38 +0200
committerLars Wirzenius <liw@liw.fi>2022-01-16 12:49:38 +0200
commit3805906085f5a9c48238679883b16235614a08f8 (patch)
tree13c09af93e7601c26928cc9ccc413d936f0da07b
parent003ce052a3517828e10bcdc0428d0e43e26e7884 (diff)
downloadliw-ci-3805906085f5a9c48238679883b16235614a08f8.tar.gz
add obnam-benchmark-results project
Sponsored-by: author
-rw-r--r--ci-prod.ick36
1 files changed, 36 insertions, 0 deletions
diff --git a/ci-prod.ick b/ci-prod.ick
index dc99062..a5453f2 100644
--- a/ci-prod.ick
+++ b/ci-prod.ick
@@ -886,6 +886,25 @@ projects:
workspace_name: obnam-benchmark
pipelines: *deb_ci_rustup_without_check_pipelines
+ - project: obnam-benchmark-results
+ parameters:
+ <<: *dummy_program_params
+ sources:
+ - name: code
+ repo: git://git.liw.fi/obnam-benchmark-results
+ ref: main
+ location: src
+ rsync_target: ickliwfi@http.liw.fi:/srv/http/doc.obnam.org/obnam-benchmark-results
+ workspace_name: obnam-benchmark-results
+ pipelines:
+ - ick/setup_container
+ - ick/add_apt_signing_keys
+ - ick/add_apt_sources
+ - ick/restore_workspace
+ - ick/get_sources
+ - generate_obnam_benchmark_report
+ - ick/save_workspace
+
# - project: bumper
# parameters:
# <<: *dummy_program_params
@@ -1306,3 +1325,20 @@ pipelines:
git branch -a
git checkout liw/debian
git rebase main
+
+ - pipeline: generate_obnam_benchmark_report
+ parameters:
+ - rsync_src
+ - rsync_target
+ actions:
+ - where: container
+ shell: |
+ apt-get update
+ apt-get install obnam-benchmark
+ mkdir -p publish
+ cd src
+ ./report.sh *.json > ../publish/obnam-benchmark.html
+ find ../publish -type f -exec chmod 0644 '{}' +
+
+ - where: host
+ action: rsync