mirror of
https://github.com/containers/podman.git
synced 2025-09-10 06:22:21 +08:00
Cirrus: Collect benchmarks on machine instances
The hardware used for podman-machine testing is fairly stable/predictable because it's bare-metal. This is a nearly ideal environment for collection of benchmarking data. Arrange for that to happen, and the resulting data to be collected. Also keep track of the benchmark-basis details in a machine-readable `env` file along side the raw and parsed benchmarks. Signed-off-by: Chris Evich <cevich@redhat.com>
This commit is contained in:
13
.cirrus.yml
13
.cirrus.yml
@ -666,7 +666,10 @@ podman_machine_task:
|
||||
clone_script: *get_gosrc
|
||||
setup_script: *setup
|
||||
main_script: *main
|
||||
always: *int_logs_artifacts
|
||||
always: &machine_logs_benchmarks
|
||||
<<: *int_logs_artifacts
|
||||
benchmark_artifacts:
|
||||
path: ./data/*
|
||||
|
||||
|
||||
podman_machine_aarch64_task:
|
||||
@ -692,7 +695,7 @@ podman_machine_aarch64_task:
|
||||
clone_script: *get_gosrc_aarch64
|
||||
setup_script: *setup
|
||||
main_script: *main
|
||||
always: *int_logs_artifacts
|
||||
always: *machine_logs_benchmarks
|
||||
|
||||
|
||||
# Always run subsequent to integration tests. While parallelism is lost
|
||||
@ -1087,6 +1090,12 @@ artifacts_task:
|
||||
- tar xjf repo.tbz
|
||||
- mv ./podman-remote-release-darwin_*.zip $CIRRUS_WORKING_DIR/
|
||||
- mv ./contrib/pkginstaller/out/podman-installer-macos-*.pkg $CIRRUS_WORKING_DIR/
|
||||
benchmarks_script:
|
||||
- mkdir -p /tmp/benchmarks
|
||||
- cd /tmp/benchmarks
|
||||
- $ARTCURL/podman_machine/benchmark.zip
|
||||
- unzip benchmark.zip
|
||||
- mv ./data/benchmarks.{env,csv} $CIRRUS_WORKING_DIR/
|
||||
always:
|
||||
contents_script: ls -la $CIRRUS_WORKING_DIR
|
||||
# Produce downloadable files and an automatic zip-file accessible
|
||||
|
Reference in New Issue
Block a user