Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.devtools
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bob
bob.devtools
Merge requests
!171
Specify the upload channel explicitly
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
Specify the upload channel explicitly
upload-channel
into
master
Overview
1
Commits
1
Pipelines
1
Changes
8
1 open thread
Hide all comments
Merged
Specify the upload channel explicitly
Amir MOHAMMADI
requested to merge
upload-channel
into
master
Oct 14, 2020
Overview
1
Commits
1
Pipelines
1
Changes
8
1 open thread
Hide all comments
Related to #58
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
91e1b1f0
1 commit,
Oct 14, 2020
8 files
+
63
−
32
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
8
bob/devtools/scripts/build.py
+
3
−
3
View file @ 91e1b1f0
Edit in single-file editor
Open in Web IDE
Show full file
@@ -189,7 +189,7 @@ def build(
# use default
condarc_options
=
yaml
.
load
(
BASE_CONDARC
,
Loader
=
yaml
.
FullLoader
)
channels
=
get_channels
(
channels
,
upload_channel
=
get_channels
(
public
=
(
not
private
),
stable
=
stable
,
server
=
server
,
intranet
=
ci
,
group
=
group
,
)
@@ -201,7 +201,7 @@ def build(
"
\n
-
"
.
join
(
condarc_options
[
"
channels
"
]),
)
logger
.
info
(
"
Uploading resulting package to: %s
"
,
channel
s
[
0
]
)
logger
.
info
(
"
Uploading resulting package to: %s
"
,
upload_
channel
)
# dump packages at base environment
prefix
=
get_env_directory
(
os
.
environ
[
"
CONDA_EXE
"
],
"
base
"
)
@@ -246,7 +246,7 @@ def build(
path
=
get_output_path
(
metadata
,
conda_config
)[
0
]
# gets the next build number
build_number
,
_
=
next_build_number
(
channel
s
[
0
]
,
os
.
path
.
basename
(
path
))
build_number
,
_
=
next_build_number
(
upload_
channel
,
os
.
path
.
basename
(
path
))
logger
.
info
(
"
Building %s-%s-py%s (build: %d) for %s
"
,
Loading