Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.admin
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
bob
bob.admin
Commits
cf8c4658
Commit
cf8c4658
authored
6 years ago
by
André Anjos
Browse files
Options
Downloads
Patches
Plain Diff
Revert "Add to existing channels if CONDA_CHANNELS is preset"
This reverts commit
86e346df
.
parent
86e346df
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gitlab/functions.sh
+1
-5
1 addition, 5 deletions
gitlab/functions.sh
with
1 addition
and
5 deletions
gitlab/functions.sh
+
1
−
5
View file @
cf8c4658
...
...
@@ -355,11 +355,7 @@ install_miniconda() {
# $2: typically, the value of ${CI_COMMIT_TAG} or empty
# given the current visibility/tagging conditions of the package.
set_conda_channels
()
{
if
[
-z
"
${
CONDA_CHANNELS
+abc
}
"
]
;
then
CONDA_CHANNELS
=()
#sets bash array
else
log_info
"Appending to existing
\$\{
CONDA_CHANNELS
\}
setup..."
fi
CONDA_CHANNELS
=()
#resets bash array
if
[
"
${
1
}
"
==
"public"
]
;
then
if
[
-z
"
${
2
}
"
]
;
then
#public beta build
CONDA_CHANNELS+
=(
'public/conda/label/beta'
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment