我可以关闭Azure DevOps管道中的并行作业吗?

2024-05-15 19:29:54 发布

您现在位置:Python中文网/ 问答频道 /正文

我不熟悉Azure管道。我正在尝试创建用于部署简单python应用程序的管道。 但我有一个错误

No hosted parallelism has been purchased or granted

据我所知,微软禁止在新组织中为公共项目和某些私人项目免费提供平行工作。但是如果我不需要平行的工作呢?我需要一个接一个的工作。我可以关闭并行作业的使用吗

我选择了模板“Python包”,并将环境变量“Python.version”只设置为一个版本“3.7”。但这没用。我仍然有同样的错误

No hosted parallelism has been purchased or granted


Tags: or项目no应用程序管道部署错误azure
1条回答
网友
1楼 · 发布于 2024-05-15 19:29:54

空闲层支持1个并行作业,该作业仅为1个作业。 enter image description here

请参阅下面的并行作业的microsoft's defination

What is a parallel job? When you define a pipeline, you can define it as a collection of jobs. When a pipeline runs, you can run multiple jobs as part of that pipeline. Each running job consumes a parallel job that runs on an agent. When there aren't enough parallel jobs available for your organization, the jobs are queued up and run one after the other.

正如你正确地提到的,msft为私人项目暂时禁用了它。但是,您可以请求授予免费作业的访问权限。这可能需要2-3天的时间才能访问。 To request the free grant for public or private projects, submit a request here

相关问题 更多 >