From 266edb2439bcac44a782f4ea09d9c55ef6316698 Mon Sep 17 00:00:00 2001 From: Greg Magolan Date: Fri, 15 Mar 2024 19:03:18 -0700 Subject: [PATCH] chore: stash output of vmstat in artifacts (#793) --- .aspect/workflows/config.yaml | 7 +++++++ .aspect/workflows/deps.bzl | 10 +++++----- .circleci/config.yml | 10 ++++++++++ 3 files changed, 22 insertions(+), 5 deletions(-) diff --git a/.aspect/workflows/config.yaml b/.aspect/workflows/config.yaml index 40b6930..13bddf1 100644 --- a/.aspect/workflows/config.yaml +++ b/.aspect/workflows/config.yaml @@ -68,6 +68,13 @@ workspaces: without: true tasks: - test: + hooks: + - type: before_task + command: vmstat -a -S M -t 1 2>&1 > vmstat.out & + - type: after_task + command: cat vmstat.out + artifact_paths: + - vmstat.out - format: queue: bazel-lib-small - gazelle: diff --git a/.aspect/workflows/deps.bzl b/.aspect/workflows/deps.bzl index 6494dbb..3602f27 100644 --- a/.aspect/workflows/deps.bzl +++ b/.aspect/workflows/deps.bzl @@ -4,12 +4,12 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", _http_archive = "http_archi load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") # TODO: move this to a rule set so repositories on Aspect Workflows can avoid this boilerplate -rosetta_version = "5.9.22" +rosetta_version = "5.9.23" rosetta_integrity = { - "darwin_aarch64": "sha256-EXjXWBWQPa2l7QQTz3XbUXo2sz0aPHqxioT+LiOesyw=", - "darwin_x86_64": "sha256-6+BVUK8oKFNWZtFPW9pSnPvnSd9doDLecNsWdl7zHuk=", - "linux_aarch64": "sha256-TBHcq62DXuBW2rATy5KGlBmgKnldAT3A6iDSYCt2UBE=", - "linux_x86_64": "sha256-X4M8I9gBapSkUHlu85/Vi6Gz3qWZv9M06mWW3jAXyfY=", + "darwin_aarch64": "sha256-PDPqg71zILLpI3Ty4p+OxfqyZYE1cB4t8wAF/4A6e/E=", + "darwin_x86_64": "sha256-ZEKTyj+N3In/OqkIPKb1PSodMjf8BTfoowaCuE3IWDM=", + "linux_aarch64": "sha256-eceTIsiZ7gylU355flUe94R1ZU21fQ3fmHseOWcN2MU=", + "linux_x86_64": "sha256-pICGFRNJn/nVTuEb1DpOm8BPDasjNEVH4nceiF1e2aQ=", } # https://github.com/suzuki-shunsuke/circleci-config-merge/releases diff --git a/.circleci/config.yml b/.circleci/config.yml index 7e44944..f4c54bd 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -379,6 +379,8 @@ jobs: path: /workflows/testlogs - store_artifacts: path: /workflows/artifacts + - store_artifacts: + path: vmstat.out - run: command: rosetta run finalization environment: @@ -466,6 +468,8 @@ jobs: path: /workflows/testlogs - store_artifacts: path: /workflows/artifacts + - store_artifacts: + path: vmstat.out - run: command: rosetta run finalization environment: @@ -553,6 +557,8 @@ jobs: path: /workflows/testlogs - store_artifacts: path: /workflows/artifacts + - store_artifacts: + path: vmstat.out - run: command: rosetta run finalization environment: @@ -640,6 +646,8 @@ jobs: path: /workflows/testlogs - store_artifacts: path: /workflows/artifacts + - store_artifacts: + path: vmstat.out - run: command: rosetta run finalization environment: @@ -914,6 +922,8 @@ jobs: path: /workflows/testlogs - store_artifacts: path: /workflows/artifacts + - store_artifacts: + path: vmstat.out - run: command: rosetta run finalization environment: