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

修改应用修改的报错信息

parent 20e5f79a
Pipeline #22680 failed
......@@ -18,10 +18,9 @@ build:
tags:
- dev
script:
- python /sync_release_info_to_db.py
- docker build -t ${APP_IMAGE}:${CI_COMMIT_REF_NAME} .
except:
- master
only:
- 1.0
push:
stage: push
......@@ -29,8 +28,7 @@ push:
tags:
- dev
script:
- docker build -t ${APP_IMAGE}:${APP_VERSION} .
- docker push ${APP_IMAGE}:${APP_VERSION}
- docker push ${APP_IMAGE}:${CI_COMMIT_REF_NAME}
- echo "success"
only:
- web
\ No newline at end of file
only:
- 1.0
\ No newline at end of file
......@@ -540,7 +540,7 @@ docker-compose -f /data/upgrade_tools_data/backup/{upgrade_no}/docker-compose.ym
out, err = ssh.exec_command(
f'''export HUANSI_REGISTRY_URL=47.110.145.204:8084 &&\
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("应用修改成功")
\ 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