【发布时间】:2020-05-24 16:16:00
【问题描述】:
我定义了两个 yaml 模板,一个用于创建 docker 注册表服务连接,第二个用于通过容器作业部署一些东西。第二个模板使用部署在第一个模板中的 docker 注册表连接。当我分别运行两个模板时,两个阶段都是成功的,但是当我在一个 azure-pipelines.yaml 中运行它们时,它会失败:
There was a resource authorization issue: "The pipeline is not valid. A service connection with name shared-stratus-acr-endpoint could not be found. The service connection does not exist or has not been authorized for use. For authorization details, refer to https://aka.ms/yamlauthz."
在这种情况下我们可以提供dependsOn 或condition 之类的方法吗?
【问题讨论】:
-
这个问题有什么更新吗?你解决了这个问题吗?如果没有,请告诉我有关此问题的最新信息吗?
标签: azure-devops azure-devops-rest-api multistage-pipeline