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
7170ee94
Commit
7170ee94
authored
7 years ago
by
Amir MOHAMMADI
Browse files
Options
Downloads
Patches
Plain Diff
check os name properly
parent
754ef0aa
Branches
Branches containing commit
No related tags found
1 merge request
!63
Conda package based CI
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
gitlab/deploy.sh
+1
-1
1 addition, 1 deletion
gitlab/deploy.sh
gitlab/functions.sh
+3
-3
3 additions, 3 deletions
gitlab/functions.sh
templates/gitlab-ci.yml
+3
-4
3 additions, 4 deletions
templates/gitlab-ci.yml
with
7 additions
and
8 deletions
gitlab/deploy.sh
+
1
−
1
View file @
7170ee94
...
...
@@ -5,7 +5,7 @@ source $(dirname ${0})/functions.sh
# Uploads all the built packages
for
os
in
"osx-64"
"noarch"
"linux-64"
;
do
for
f
in
${
CONDA_
BLD
_PATH
}
/
${
os
}
/
*
.tar.bz2
;
do
for
f
in
${
CONDA_
ENVS
_PATH
}
/
${
os
}
/
*
.tar.bz2
;
do
if
[[
-f
$f
]]
;
then
if
[
-z
"
${
CI_COMMIT_TAG
}
"
]
;
then
#beta
url
=
"private"
...
...
This diff is collapsed.
Click to expand it.
gitlab/functions.sh
+
3
−
3
View file @
7170ee94
...
...
@@ -270,10 +270,10 @@ install_miniconda() {
log_info
"Installing miniconda in
${
1
}
..."
# Download the latest conda installation script
if
[
"
${
OSNAME
}
"
==
"macosx"
]
;
then
object
=
https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
else
if
[
"
${
OSNAME
}
"
==
"linux"
]
;
then
object
=
https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
else
object
=
https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
fi
# check if miniconda.sh exists
...
...
This diff is collapsed.
Click to expand it.
templates/gitlab-ci.yml
+
3
−
4
View file @
7170ee94
...
...
@@ -4,7 +4,6 @@
# global variables
variables
:
CONDA_ENVS_PATH
:
"
conda-env"
CONDA_BLD_PATH
:
"
conda-env/conda-bld"
# Definition of our build pipeline order
...
...
@@ -36,7 +35,7 @@ stages:
expire_in
:
1 week
paths
:
-
_ci/
-
${CONDA_
BLD
_PATH}/linux-64/*.tar.bz2
-
${CONDA_
ENVS
_PATH}/linux-64/*.tar.bz2
tags
:
-
docker
image
:
continuumio/conda_builder_linux
...
...
@@ -62,7 +61,7 @@ stages:
expire_in
:
1 week
paths
:
-
_ci/
-
${CONDA_
BLD
_PATH}/osx-64/*.tar.bz2
-
${CONDA_
ENVS
_PATH}/osx-64/*.tar.bz2
tags
:
-
conda-macosx
cache
:
...
...
@@ -92,7 +91,7 @@ build_linux_36:
paths
:
-
_ci/
-
dist/
-
${CONDA_
BLD
_PATH}/linux-64/*.tar.bz2
-
${CONDA_
ENVS
_PATH}/linux-64/*.tar.bz2
build_macosx_27
:
<<
:
*macosx_build_job
...
...
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