Skip to content

Commit

Permalink
Merge pull request #1350 from stuarteberg/pass-cpu-count-to-docker
Browse files Browse the repository at this point in the history
Pass CPU_COUNT to the docker container
  • Loading branch information
isuruf authored Jun 30, 2020
2 parents b5aa6e6 + 6a686bc commit d0be1ae
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 d0be1ae

Please sign in to comment.