From 6a686bca0bb33841604398e0f00d0c399b3dfc41 Mon Sep 17 00:00:00 2001 From: Stuart Berg Date: Sun, 28 Jun 2020 14:24:33 -0400 Subject: [PATCH] Pass CPU_COUNT to the docker container --- .../templates/run_docker_build.sh.tmpl | 1 + news/pass-cpu-count-to-docker.rst | 25 +++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 news/pass-cpu-count-to-docker.rst diff --git a/conda_smithy/templates/run_docker_build.sh.tmpl b/conda_smithy/templates/run_docker_build.sh.tmpl index 474d71fd9..a17783867 100644 --- a/conda_smithy/templates/run_docker_build.sh.tmpl +++ b/conda_smithy/templates/run_docker_build.sh.tmpl @@ -73,6 +73,7 @@ export UPLOAD_PACKAGES="${UPLOAD_PACKAGES:-True}" -e UPLOAD_ON_BRANCH \ -e CI \ -e FEEDSTOCK_NAME \ + -e CPU_COUNT \ {%- for secret in secrets %} -e {{ secret }} \ {%- endfor %} diff --git a/news/pass-cpu-count-to-docker.rst b/news/pass-cpu-count-to-docker.rst new file mode 100644 index 000000000..3a21d4833 --- /dev/null +++ b/news/pass-cpu-count-to-docker.rst @@ -0,0 +1,25 @@ +**Added:** + +* Pass ``CPU_COUNT`` from the host environment to the docker build. + (Convenient when building locally.) + +**Changed:** + +* + +**Deprecated:** + +* + +**Removed:** + +* + +**Fixed:** + +* + +**Security:** + +* +