From 9d9b9ff323b77ddd61212ae720cd43b79a2e2c02 Mon Sep 17 00:00:00 2001 From: Michael Sarahan Date: Tue, 25 Feb 2025 17:55:32 -0600 Subject: [PATCH 1/3] add mkdir -p for telemetry-artifacts --- tools/rapids-telemetry-setup | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 tools/rapids-telemetry-setup diff --git a/tools/rapids-telemetry-setup b/tools/rapids-telemetry-setup new file mode 100755 index 0000000..71d3817 --- /dev/null +++ b/tools/rapids-telemetry-setup @@ -0,0 +1,5 @@ +#!/bin/bash +# Set up the environment for telemetry. This is mostly done in CI scripts, +# but some stuff is done here to allow the data capture to work (and not raise errors) locally. + +mkdir -p telemetry-artifacts From 3a3582f2f39a21b28f80b3d03b0d9e8ff2acbdf3 Mon Sep 17 00:00:00 2001 From: Mike Sarahan Date: Tue, 25 Feb 2025 18:30:38 -0600 Subject: [PATCH 2/3] Update tools/rapids-telemetry-setup Co-authored-by: Bradley Dice --- tools/rapids-telemetry-setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/rapids-telemetry-setup b/tools/rapids-telemetry-setup index 71d3817..afad16c 100755 --- a/tools/rapids-telemetry-setup +++ b/tools/rapids-telemetry-setup @@ -2,4 +2,4 @@ # Set up the environment for telemetry. This is mostly done in CI scripts, # but some stuff is done here to allow the data capture to work (and not raise errors) locally. -mkdir -p telemetry-artifacts +mkdir -p ${GITHUB_WORKSPACE:-"."}/telemetry-artifacts From 549ceed1b0a20c5318636a3e0a407af9609e13f9 Mon Sep 17 00:00:00 2001 From: Bradley Dice Date: Tue, 25 Feb 2025 18:31:54 -0600 Subject: [PATCH 3/3] Appease shellcheck --- tools/rapids-telemetry-setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/rapids-telemetry-setup b/tools/rapids-telemetry-setup index afad16c..c225d78 100755 --- a/tools/rapids-telemetry-setup +++ b/tools/rapids-telemetry-setup @@ -2,4 +2,4 @@ # Set up the environment for telemetry. This is mostly done in CI scripts, # but some stuff is done here to allow the data capture to work (and not raise errors) locally. -mkdir -p ${GITHUB_WORKSPACE:-"."}/telemetry-artifacts +mkdir -p "${GITHUB_WORKSPACE:-"."}"/telemetry-artifacts