Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nightlies
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
nightlies
Commits
d2ca4770
There was a problem fetching the pipeline summary.
Commit
d2ca4770
authored
8 years ago
by
Tiago de Freitas Pereira
Browse files
Options
Downloads
Patches
Plain Diff
Testing ci
parent
0b0e5f8c
No related branches found
No related tags found
1 merge request
!2
Ci2
Pipeline
#
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+2
-2
2 additions, 2 deletions
.gitlab-ci.yml
ci/before_build.sh
+10
-8
10 additions, 8 deletions
ci/before_build.sh
ci/build.sh
+1
-1
1 addition, 1 deletion
ci/build.sh
with
13 additions
and
11 deletions
.gitlab-ci.yml
+
2
−
2
View file @
d2ca4770
...
...
@@ -19,9 +19,9 @@ stages:
-
git clean -ffdx
-
chmod 755 ci/install.sh
-
./ci/install.sh ci
#updates
-
./ci/before_build.sh
0
-
./ci/before_build.sh
1 buildout-bob.cfg
script
:
-
./ci/build.sh
buildout-bob.cfg
-
./ci/build.sh
after_script
:
-
./ci/after_build.sh
artifacts
:
...
...
This diff is collapsed.
Click to expand it.
ci/before_build.sh
+
10
−
8
View file @
d2ca4770
...
...
@@ -4,6 +4,7 @@
source
$(
dirname
${
0
}
)
/functions.sh
PIPINSTALL
=
$1
CONFIG_FILE
=
$2
WHEELS_REPOSITORY
=
"
${
DOCSERVER
}
/software/bob/wheels/gitlab/"
WHEELS_SERVER
=
`
echo
${
DOCSERVER
}
|
sed
's;https\?://;;'
`
...
...
@@ -49,14 +50,15 @@ if [ "$PIPINSTALL" == 1]; then
if
[
-e
requirements-bob.txt
]
;
then
run_cmd
${
use_pip
}
install
${
PIPOPTS
}
--requirement
requirements-bob.txt
else
log_info
"No requirements.txt file found, skipping 'pip install <build-deps>'..."
log_info
"No requirements
-bob
.txt file found, skipping 'pip install <build-deps>'..."
fi
fi
# Finally, bootstrap the installation from the new environment
if
[
-e
bootstrap-buildout.py
]
;
then
run_cmd
${
use_python
}
bootstrap-buildout.py
else
log_error
"No bootstrap-buildout.py file found, stopping..."
exit
1
fi
# Finally, bootstrap the installation from the new environment
if
[
-e
bootstrap-buildout.py
]
;
then
run_cmd
${
use_python
}
bootstrap-buildout.py
-c
${
CONFIG_FILE
}
else
log_error
"No bootstrap-buildout.py file found, stopping..."
exit
1
fi
This diff is collapsed.
Click to expand it.
ci/build.sh
+
1
−
1
View file @
d2ca4770
...
...
@@ -3,7 +3,7 @@
source
$(
dirname
${
0
}
)
/functions.sh
run_cmd ./bin/buildout
-c
${
1
}
run_cmd ./bin/buildout
if
[
-x
./bin/bob_dbmanage.py
]
;
then
run_cmd ./bin/bob_dbmanage.py all download
--force
;
...
...
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