Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qa-deploy-utils
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
QA
qa-deploy-utils
Commits
8785aa99
Commit
8785aa99
authored
Mar 29, 2017
by
daidekun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hack bugs
parent
ca3e9e31
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
db_replace_ip.sh
db-utils/db_replace_ip.sh
+0
-3
db_schema_sync.sh
db-utils/db_schema_sync.sh
+2
-0
No files found.
db-utils/db_replace_ip.sh
View file @
8785aa99
...
@@ -66,7 +66,4 @@ if [ "$file_count" -gt 0 ]; then
...
@@ -66,7 +66,4 @@ if [ "$file_count" -gt 0 ]; then
sed
-i
"s/
\:
70/:
${
ip_last
}
/g"
$entry
sed
-i
"s/
\:
70/:
${
ip_last
}
/g"
$entry
done
done
fi
fi
cd
..
rm
-rf
$db_sub_backup_folder
fi
fi
\ No newline at end of file
db-utils/db_schema_sync.sh
View file @
8785aa99
...
@@ -65,6 +65,8 @@ function db_schema_sync()
...
@@ -65,6 +65,8 @@ function db_schema_sync()
sync_cmd
=
"mss -conf
${
config_file_name
}
-sync"
sync_cmd
=
"mss -conf
${
config_file_name
}
-sync"
echo
"
${
sync_cmd
}
"
echo
"
${
sync_cmd
}
"
$sync_cmd
$sync_cmd
rm
-rf
$db_sub_backup_folder
}
}
function
run_sql_file
()
function
run_sql_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