Skip to content

Commit

Permalink
Pass CPU_COUNT to the docker container
Browse files Browse the repository at this point in the history
  • Loading branch information
stuarteberg committed Jun 28, 2020
1 parent b5aa6e6 commit 6a686bc
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
1 change: 1 addition & 0 deletions conda_smithy/templates/run_docker_build.sh.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand Down
25 changes: 25 additions & 0 deletions news/pass-cpu-count-to-docker.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
**Added:**

* Pass ``CPU_COUNT`` from the host environment to the docker build.
(Convenient when building locally.)

**Changed:**

* <news item>

**Deprecated:**

* <news item>

**Removed:**

* <news item>

**Fixed:**

* <news item>

**Security:**

* <news item>

0 comments on commit 6a686bc

Please sign in to comment.