From 8558020009a529686ea4e4df96c3b717e6c92658 Mon Sep 17 00:00:00 2001 From: Andre Anjos <andre.dos.anjos@gmail.com> Date: Thu, 17 Jan 2019 08:22:39 +0100 Subject: [PATCH] [build] Be a bit more verbose about channel usage during builds --- bob/devtools/build.py | 2 ++ bob/devtools/scripts/build.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/bob/devtools/build.py b/bob/devtools/build.py index 293f98b8..da62833c 100644 --- a/bob/devtools/build.py +++ b/bob/devtools/build.py @@ -293,6 +293,8 @@ if __name__ == '__main__': channels = bootstrap.get_channels( public=(os.environ['CI_PROJECT_VISIBILITY']=='public'), stable=(not is_prerelease), server=bootstrap._SERVER, intranet=True) + logger.info('Using the following channels during build:%s', + '\n - '.join(channels)) condarc_options['channels'] = channels + ['defaults'] conda_config = make_conda_config(conda_build_config, pyver, recipe_append, diff --git a/bob/devtools/scripts/build.py b/bob/devtools/scripts/build.py index 792272c3..b1075d8f 100644 --- a/bob/devtools/scripts/build.py +++ b/bob/devtools/scripts/build.py @@ -100,6 +100,8 @@ def build(recipe_dir, python, condarc, config, no_test, append_file, else: # use default and add channels condarc_options = yaml.load(BASE_CONDARC) #n.b.: no channels + logger.info('Using the following channels during build:%s', + '\n - '.join(channels)) condarc_options['channels'] = channels + ['defaults'] conda_config = make_conda_config(config, python, append_file, condarc_options) -- GitLab