Skip to content

Commit

Permalink
pass in conda_build_env=base when doing 'make conda-rerender' and 'ma…
Browse files Browse the repository at this point in the history
…ke conda-build' in .circleci/config.yml (#448)
  • Loading branch information
muryanto1 authored Jul 17, 2020
1 parent 431b234 commit 6e5f054
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ aliases:
source $BASH_ENV
source $WORKDIR/miniconda/etc/profile.d/conda.sh
conda activate base
make conda-rerender workdir=$WORKDIR branch=$CIRCLE_BRANCH
make conda-rerender workdir=$WORKDIR conda_build_env=base branch=$CIRCLE_BRANCH
- &conda_build
name: conda_build
Expand All @@ -36,7 +36,7 @@ aliases:
conda activate base
os=`uname`
artifacts_dir="artifacts/artifacts.${os}.noarch"
make conda-build workdir=$WORKDIR artifact_dir=$PWD/$artifacts_dir
make conda-build workdir=$WORKDIR conda_build_env=base artifact_dir=$PWD/$artifacts_dir
- &setup_run_tests
name: setup_run_tests
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ endif

last_stable ?= 8.2

conda_test_env = test-$(pkg_name)
conda_build_env = build-$(pkg_name)
conda_test_env ?= test-$(pkg_name)
conda_build_env ?= build-$(pkg_name)

branch ?= $(shell git rev-parse --abbrev-ref HEAD)
extra_channels ?= cdat/label/nightly conda-forge
Expand Down

0 comments on commit 6e5f054

Please sign in to comment.