Skip to content
Snippets Groups Projects
Commit 85580200 authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

[build] Be a bit more verbose about channel usage during builds

parent b61e2f9e
No related branches found
No related tags found
No related merge requests found
Pipeline #26039 failed
......@@ -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,
......
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment