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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bob
bob.devtools
Commits
b85f7874
Commit
b85f7874
authored
6 years ago
by
André Anjos
Browse files
Options
Downloads
Patches
Plain Diff
[ci] debug
parent
1fd38d77
No related branches found
No related tags found
No related merge requests found
Pipeline
#25812
failed
6 years ago
Stage: build
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ci/bootstrap.sh
+8
-4
8 additions, 4 deletions
ci/bootstrap.sh
with
8 additions
and
4 deletions
ci/bootstrap.sh
+
8
−
4
View file @
b85f7874
...
...
@@ -59,11 +59,17 @@ merge_conda_cache() {
log_info
"Merging urls.txt and packages with cached files..."
mv
${
2
}
/pkgs/
*
.tar.bz2
${
1
}
/pkgs
cat
${
_urlstxt
}
${
_cached_urlstxt
}
|
sort
|
uniq
>
${
_urlstxt
}
else
run_cmd
mkdir
-p
${
1
}
/pkgs
run_cmd
touch
${
1
}
/pkgs/urls.txt
fi
run_cmd
touch
${
1
}
/pkgs/urls
if
[
-d
${
2
}
/conda-bld
]
;
then
log_info
"Moving conda-bld packages (artifacts)..."
run_cmd
mv
${
2
}
/conda-bld
${
1
}
run_cmd conda index
${
1
}
/conda-bld
run_cmd
ls
-l
${
1
}
/conda-bld
run_cmd
ls
-l
${
1
}
/conda-bld/noarch/
fi
fi
}
...
...
@@ -121,10 +127,6 @@ if [ ! -e ${CONDA_ROOT}/bin/conda ]; then
install_miniconda
${
CONDA_ROOT
}
fi
run_cmd
mkdir
-p
${
CONDA_ROOT
}
/pkgs
run_cmd
touch
${
CONDA_ROOT
}
/pkgs/urls
run_cmd
touch
${
CONDA_ROOT
}
/pkgs/urls.txt
run_cmd
cp
-fv
${
CI_PROJECT_DIR
}
/bob/devtools/data/base-condarc
${
CONDARC
}
echo
"Contents of
\`
${
CONDARC
}
':"
cat
${
CONDARC
}
...
...
@@ -139,6 +141,8 @@ if [ "${1}" == "build" ]; then
run_cmd
${
CONDA_ROOT
}
/bin/conda
install
-n
base python
conda
=
4 conda-build
=
3
elif
[
"
${
1
}
"
==
"local"
]
;
then
CONDA_CLI_CHANNELS
=
"-c
${
CONDA_ROOT
}
/conda-bld
${
CONDA_CLI_CHANNELS
}
"
run_cmd
ls
-l
${
CONDA_ROOT
}
/conda-bld
run_cmd
ls
-l
${
CONDA_ROOT
}
/conda-bld/noarch/
run_cmd
${
CONDA_ROOT
}
/bin/conda create
-n
"
${
2
}
"
--override-channels
${
CONDA_CLI_CHANNELS
}
bob.devtools
elif
[
"
${
1
}
"
==
"beta"
]
||
[
"
${
1
}
"
==
"stable"
]
;
then
run_cmd
${
CONDA_ROOT
}
/bin/conda create
-n
"
${
2
}
"
--override-channels
${
CONDA_CLI_CHANNELS
}
bob.devtools
...
...
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