From 7e43db40d2bc4a22a90448e6729f248b63ac5e49 Mon Sep 17 00:00:00 2001 From: Trevor Gross Date: Thu, 28 Sep 2023 02:54:43 -0400 Subject: [PATCH] Create docker_obj folder for CI --- .github/workflows/validation-rust.yaml | 1 + rust/run.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/validation-rust.yaml b/.github/workflows/validation-rust.yaml index a61d28468d59a..b60518a4c79db 100644 --- a/.github/workflows/validation-rust.yaml +++ b/.github/workflows/validation-rust.yaml @@ -91,6 +91,7 @@ jobs: mv /tmp/.buildx-cache-new /tmp/.buildx-cache - name: Start docker run: > + mkdir docker_obj && docker run --rm --volume $(pwd):/checkout:ro --volume $(pwd)/docker_obj:/obj diff --git a/rust/run.sh b/rust/run.sh index 8bb3e58fc9819..a37f4f5a64e9b 100755 --- a/rust/run.sh +++ b/rust/run.sh @@ -27,7 +27,7 @@ args=("${args[@]}" "--rm") build_cmd="/checkout/rust/scripts/launch/build_maria.sh" test_cmd="/checkout/rust/scripts/launch/run_mtr.sh" -help="USAGE: ./run_docker.sh build|test|shell" +help="USAGE: ./run.sh build|test|shell" if [ -z "${1:-""}" ]; then echo "$help"