Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
database-tests
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
James Coyle
database-tests
Commits
a15af471
Commit
a15af471
authored
Dec 19, 2016
by
j38560
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added basic loop for running table scripts.
parent
385243a2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
bin/deploy_to_test.sh
bin/deploy_to_test.sh
+17
-0
No files found.
bin/deploy_to_test.sh
0 → 100644
View file @
a15af471
#!/bin/bash
ROOT
=
"
$(
cd
"
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
"
&&
pwd
)
"
source
$ROOT
/set_env.sh
source
$ROOT
/functions.sh
echo
"Running
runRemoteSQL
$ROOT
/../source/setup.sql
if [ -f
$ROOT
/../source/tables/ ]; then
for f in
$ROOT
/../source/tables/
do
runRemoteSQL "
$f
"
done
else
echo "
No table scripts found
"
fi
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment