Commit f2c0f6a4 authored by 金凯强's avatar 金凯强 🎨

修改应用修改的报错信息

parent 20e5f79a
Pipeline #22680 failed
...@@ -18,10 +18,9 @@ build: ...@@ -18,10 +18,9 @@ build:
tags: tags:
- dev - dev
script: script:
- python /sync_release_info_to_db.py
- docker build -t ${APP_IMAGE}:${CI_COMMIT_REF_NAME} . - docker build -t ${APP_IMAGE}:${CI_COMMIT_REF_NAME} .
except: only:
- master - 1.0
push: push:
stage: push stage: push
...@@ -29,8 +28,7 @@ push: ...@@ -29,8 +28,7 @@ push:
tags: tags:
- dev - dev
script: script:
- docker build -t ${APP_IMAGE}:${APP_VERSION} . - docker push ${APP_IMAGE}:${CI_COMMIT_REF_NAME}
- docker push ${APP_IMAGE}:${APP_VERSION}
- echo "success" - echo "success"
only: only:
- web - 1.0
\ No newline at end of file \ No newline at end of file
...@@ -540,7 +540,7 @@ docker-compose -f /data/upgrade_tools_data/backup/{upgrade_no}/docker-compose.ym ...@@ -540,7 +540,7 @@ docker-compose -f /data/upgrade_tools_data/backup/{upgrade_no}/docker-compose.ym
out, err = ssh.exec_command( out, err = ssh.exec_command(
f'''export HUANSI_REGISTRY_URL=47.110.145.204:8084 &&\ f'''export HUANSI_REGISTRY_URL=47.110.145.204:8084 &&\
source /etc/profile.d/huansi.sh &&\ source /etc/profile.d/huansi.sh &&\
dockedocker -f /data/upgrade_tools_data/backup/{upgrade_no}/docker-compose.yml -p deploy restart -t 100''') docker-compose -f /data/upgrade_tools_data/backup/{upgrade_no}/docker-compose.yml -p deploy restart -t 100''')
logger.info(f'应用操作信息:{out},err:{err}') logger.info(f'应用操作信息:{out},err:{err}')
logger.info("应用修改成功") logger.info("应用修改成功")
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment