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
912a8da2
Commit
912a8da2
authored
8 years ago
by
André Anjos
Browse files
Options
Downloads
Patches
Plain Diff
Allow the user to pass a parameter to define database to download (see
bob.db.base#11
)
parent
91c3a6da
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!19
Allow the user to pass a parameter to define database to download (see bob/bob.db.base#11)
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gitlab/build.sh
+9
-2
9 additions, 2 deletions
gitlab/build.sh
with
9 additions
and
2 deletions
gitlab/build.sh
+
9
−
2
View file @
912a8da2
#!/usr/bin/env bash
# Wed 21 Sep 2016 13:08:05 CEST
# Tue 13 Dec 2016 17:36:51 CET
# Parameters:
#
# $1: database name to run the download command for. If unset, use "all"
#
source
$(
dirname
${
0
}
)
/functions.sh
run_cmd ./bin/buildout
dbname
=
${
1
:-
all
}
if
[
-x
./bin/bob_dbmanage.py
]
;
then
run_cmd ./bin/bob_dbmanage.py
all
download
--force
;
run_cmd ./bin/bob_dbmanage.py
${
dbname
}
download
--force
;
fi
if
[
-d
./doc
]
;
then
...
...
This diff is collapsed.
Click to expand it.
André Anjos
@aanjos
mentioned in commit
4aa393dc
·
8 years ago
mentioned in commit
4aa393dc
mentioned in commit 4aa393dc60d468c94814c7619e0f0602d239c210
Toggle commit list
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