Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.devtools
Commits
85580200
Commit
85580200
authored
Jan 17, 2019
by
André Anjos
💬
Browse files
[build] Be a bit more verbose about channel usage during builds
parent
b61e2f9e
Pipeline
#26039
failed with stages
in 1 minute and 15 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bob/devtools/build.py
View file @
85580200
...
...
@@ -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
,
...
...
bob/devtools/scripts/build.py
View file @
85580200
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment