4 changed files with 24 additions and 21 deletions
@ -1 +1 @@ |
|||
83607de4be0a6c7a8911c51bd4878e2190dd90d9 |
|||
52981e4a0e78be01e1306419c16693b82816518f |
@ -0,0 +1,2 @@ |
|||
requests |
|||
flask |
@ -1,13 +1,11 @@ |
|||
import re, os |
|||
from log_conf import logger |
|||
|
|||
# 项目绝对路径 |
|||
git_project_env = os.environ.get('JWHT_GIT_PROJECT_DIR') |
|||
git_project_dir = git_project_env if git_project_env else "epmet-saas" |
|||
users = set() |
|||
# users.add('x') |
|||
|
|||
# 上一次提交记录文件 |
|||
last_deploy_commit_record = os.environ.get('JWHT_LAST_DEPLOY_COMMIT_RECORD') |
|||
commit_record_file_path = last_deploy_commit_record if last_deploy_commit_record else "./lastcommit.txt" |
|||
|
|||
logger.error(git_project_dir) |
|||
logger.info(commit_record_file_path) |
|||
if users: |
|||
print('1') |
|||
else: |
|||
print('0') |
|||
本次没有服务可以发布 |
Loading…
Reference in new issue