AliyunCodePipeline / issues

AliyunCodePipeline公共issues管理(产品目前已交接给怀虎,可提交工单或工单群@相关同学)
8 stars 1 forks source link

通过CodePipeline构建发布到容器集群,更新应用报错 #31

Closed steventong closed 6 years ago

steventong commented 6 years ago

删除应用重建,构建成功。修改代码之后,再次触发构建,会提示失败。但是docker镜像构建成功了,容器服务也正常更新了。

appName is : demo-service
composeTemplate path is : docker-compose.yml
envFile path is : refreshProject : Project{masterUrl='https://xxxxxxxxxxxxxxxxx', name='demo-service'}, time:10:09:22, publishStrategyrolling, compose: demo-service:
  image: registry.cn-hangzhou.aliyuncs.com/xxxxxxxxx/demo-service
  environment:
    - SPRING_PROFILES_ACTIVE=default
  ports:
    - 8080:8080
  restart: always
  labels:
    aliyun.scale: 1
    aliyun.rolling_updates: true
    aliyun.probe.url: 'http://container:8080/health'
    aliyun.probe.initial_delay_seconds: 3
    aliyun.probe.timeout_seconds: 10
    aliyun.lb.port_8080: 'tcp://slb_xxxxxxxxxx:8080'
    aliyun.routing.port_8080: 'http://demo-service'
    aliyun.routing.session_sticky: true
returnCode is : 500
detail message is : Failed to update project demo-service: Incorrect state "updating" for operation "update" of project "demo-service"

send deploy request fail!
ERROR: send deploy request fail!Finished: FAILURE