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
6c6264c8
Commit
6c6264c8
authored
7 years ago
by
André Anjos
Browse files
Options
Downloads
Patches
Plain Diff
Make sure the new miniconda installation is on the path
parent
820e6944
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!63
Conda package based CI
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
gitlab/before_build.sh
+6
-4
6 additions, 4 deletions
gitlab/before_build.sh
gitlab/build.sh
+2
-0
2 additions, 0 deletions
gitlab/build.sh
with
8 additions
and
4 deletions
gitlab/before_build.sh
+
6
−
4
View file @
6c6264c8
...
...
@@ -19,21 +19,23 @@ default_channels:
- https://repo.continuum.io/pkgs/r
- https://repo.continuum.io/pkgs/pro
EOF
echo
"Contents of
\`
${
CONDARC
}
':"
cat
${
CONDARC
}
run_cmd
${
CONDA_ROOT
}
/bin/conda config
--set
add_pip_as_python_dependency
false
run_cmd
${
CONDA_ROOT
}
/bin/conda config
--set
always_yes
yes
--set
changeps1
no
run_cmd
${
CONDA_ROOT
}
/bin/conda config
--set
changeps1
false
run_cmd
${
CONDA_ROOT
}
/bin/conda config
--set
always_yes
true
run_cmd
${
CONDA_ROOT
}
/bin/conda config
--set
quiet
true
run_cmd
${
CONDA_ROOT
}
/bin/conda config
--set
show_channel_urls
true
run_cmd
${
CONDA_ROOT
}
/bin/conda config
--set
anaconda_upload
no
run_cmd
${
CONDA_ROOT
}
/bin/conda config
--set
anaconda_upload
false
run_cmd
${
CONDA_ROOT
}
/bin/conda config
--add
channels
${
CONDA_CHANNEL
}
if
[
-z
"
${
CI_COMMIT_TAG
}
"
]
;
then
run_cmd
${
CONDA_ROOT
}
/bin/conda config
--add
channels
${
CONDA_BETA_CHANNEL
}
fi
run_cmd
${
CONDA_ROOT
}
/bin/conda config
--set
ssl_verify
false
# displays contents of our configuration
echo
"Contents of
\`
${
CONDARC
}
':"
cat
${
CONDARC
}
# updates conda installation
run_cmd
${
CONDA_ROOT
}
/bin/conda
install
--quiet
--yes
python
conda
=
4.4 curl conda-build
=
3
...
...
This diff is collapsed.
Click to expand it.
gitlab/build.sh
+
2
−
0
View file @
6c6264c8
...
...
@@ -4,6 +4,8 @@
source
$(
dirname
${
0
}
)
/functions.sh
# Makes sure we activate the base environment if available
PATH
=
${
CONDA_ROOT
}
/bin:
${
PATH
}
export_env PATH
run_cmd
source
${
CONDA_ROOT
}
/etc/profile.d/conda.sh
run_cmd conda activate base
...
...
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