Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: use correct rust mounts #2627

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .circleci/continue_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -508,8 +508,8 @@ commands:
command: |
touch /tmp/docker.out
mkdir /tmp/bashenv
sudo mkdir /rust
sudo chmod 777 /rust
sudo mkdir -p /rust/cargo/{git,registry}
sudo chmod -R 777 /rust
mkdir /tmp/artifacts
sudo chmod 777 /tmp/artifacts
image=<< parameters.docker_image >>
Expand All @@ -530,7 +530,8 @@ commands:
-e CIRCLE_PROJECT_REPONAME \
-v $(pwd):/home/circleci/datadog \
-v /tmp/bashenv:/home/circleci/bashenv \
-v /rust:/rust \
-v /rust/cargo/git:/rust/cargo/git \
-v /rust/cargo/registry:/rust/cargo/registry \
-v /tmp/artifacts:/tmp/artifacts \
$(if [ -n "${CARGO_TARGET_DIR:-}" ]; then echo -v ${CARGO_TARGET_DIR}:${CARGO_TARGET_DIR} -e CARGO_TARGET_DIR=${CARGO_TARGET_DIR}; fi) \
$image \
Expand Down
Loading