-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature: 插件包导入命令支持指定标签 (closed #1922)
- Loading branch information
1 parent
5439253
commit 19ce06d
Showing
6 changed files
with
125 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/bin/bash | ||
|
||
python manage.py makemigrations --check --dry-run | ||
|
||
|
||
if [[ $? -ne 0 ]]; | ||
then | ||
echo "Migrations 检测未通过!" | ||
exit 1 | ||
else | ||
echo "单元测试已通过" | ||
fi | ||
|
||
|
||
python manage.py migrate | ||
|
||
if [[ $? -ne 0 ]]; | ||
then | ||
echo "Migrate 检测未通过!" | ||
exit 1 | ||
else | ||
echo "单元测试已通过" | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
exit 1 | ||
exit 0 | ||
if [ "$YUM_INSTALL_SERVICE" ]; then | ||
yum install mysql-devel -y | ||
yum install redis -y | ||
|