Gitlab管道描述与预期不符 [英] Gitlab pipeline description doesn't match as expected

查看:54
本文介绍了Gitlab管道描述与预期不符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试编写我的第一个GitLab管道描述.我使用了 needs 参数,但我仍然不知道为什么得到这种混搭的连接设置.有人知道我在做什么错吗?这是我要实现的 .

I am trying to write my first GitLab pipeline description. I use the needs parameter, and I still don't know why I get this mashed connection setup. Does anyone know what I am doing wrong? Here is what I want to achieve`.

但这是我得到的:

foo:
    stage: build

bar:
    stage: build

foo-test:
    stage: test
    needs: ["foo"]

bar-test:
    stage: test
    needs: ["bar"]

推荐答案

这没什么不对的.您应该看到 bar 完成后立即开始 bar-test .

Nothing is wrong with this. You should be seeing that bar-test starts immediately after bar is done.

用户界面在发布之前对此进行了大修,因此您仍然可以看到连接的管道图.

The UI is currently going through an overhaul as they released this before doing that, hence you're still seeing the joined up pipeline graph.

有一个未解决的问题讨论了如何在将来解决此问题亚搏体育app.

There's an open issue discussing how to resolve this for the future on GitLab.

这篇关于Gitlab管道描述与预期不符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆