首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >有没有办法让gitlab runnder在部署时生成详细的输出

有没有办法让gitlab runnder在部署时生成详细的输出
EN

Stack Overflow用户
提问于 2020-05-21 11:50:01
回答 2查看 470关注 0票数 0

这是我来自.gitlab-ci.yml的工作

代码语言:javascript
运行
复制
deploy:
  variables:
    CI_DEBUG_TRACE: "true"
  stage: deploy
  image: registry.gitlab.com/gitlab-org/cloud-deploy aws-base:latest # see the note below
  script:
    - aws s3 ...
    - aws create-deployment ...
  only:
    - master

部署过程失败,错误为:准备失败:引用格式(docker.go:198:0s)无效

跟踪变量对输出没有影响。

EN

回答 2

Stack Overflow用户

发布于 2020-05-21 15:30:29

在存储库URL和图像标记之间有一个空格。

代码语言:javascript
运行
复制
deploy:
  variables:
    CI_DEBUG_TRACE: "true"
  stage: deploy
  image: registry.gitlab.com/gitlab-org/cloud-deploy/aws-base:latest # see the note below
  script:
    - aws s3 ...
    - aws create-deployment ...
  only:
    - master
票数 0
EN

Stack Overflow用户

发布于 2020-05-30 23:52:11

非常感谢。但是构建过程仍然失败。以下是新的日志:

代码语言:javascript
运行
复制
 ++ export CI_DEBUG_TRACE=true
 ++ CI_DEBUG_TRACE=true
 ++ export CI_DISPOSABLE_ENVIRONMENT=true
 ++ CI_DISPOSABLE_ENVIRONMENT=true
 ++ export CI_RUNNER_VERSION=13.0.0
 ++ CI_RUNNER_VERSION=13.0.0
 ++ export CI_RUNNER_REVISION=c127439c
 ++ CI_RUNNER_REVISION=c127439c
 ++ export CI_RUNNER_EXECUTABLE_ARCH=linux/amd64
 ++ CI_RUNNER_EXECUTABLE_ARCH=linux/amd64
 ++ cd /builds/Zyubenko/humans
 + exit 0
 ERROR: Job failed: exit code 1
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/61926916

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档