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
Merge requests
!22
Undoes download param
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Undoes download param
undo_download_param
into
master
Overview
0
Commits
2
Pipelines
0
Changes
2
Merged
André Anjos
requested to merge
undo_download_param
into
master
8 years ago
Overview
0
Commits
2
Pipelines
0
Changes
2
Expand
Following fixes in:
bob.db.base#11 (closed)
bob.db.cohface#2 (closed)
bob.db.hci_tagging#1 (closed)
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
4aa393dc
2 commits,
8 years ago
2 files
+
3
−
17
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
gitlab/before_deploy.sh
+
1
−
8
Options
#!/usr/bin/env bash
# Wed 21 Sep 2016 13:08:05 CEST
# Parameters:
#
# $1: database name to run the download command for. If unset, use "all"
#
source
$(
dirname
${
0
}
)
/functions.sh
run_cmd
$(
dirname
${
0
}
)
/before_test.sh
dbname
=
${
1
:-
all
}
# setup database locally and run `bob_dbmanage.py all download`
# if this is a database package - need auxiliary file for package
if
[[
${
CI_PROJECT_NAME
}
==
bob.db.
*
]]
;
then
run_cmd ./bin/buildout
if
[
-x
./bin/bob_dbmanage.py
]
;
then
run_cmd ./bin/bob_dbmanage.py
${
dbname
}
download
--force
;
run_cmd ./bin/bob_dbmanage.py
all
download
--force
;
fi
fi
Loading