是否可以将安全文件下载到本地计算机或具有构建管理员特权的Azure DevOps中的内容?

发布于 2025-02-13 04:42:35 字数 342 浏览 1 评论 0原文

我们在Azure Devops中使用了DBT编排的Azure Devops中已经运行的管道。很久以前,管道中DBT任务所需的profiles.yml文件已上传到DevOps中的安全文件。

现在,我们通过精心策划DBT建造了新的管道。由于我们不能有两个profiles.yml文件,因此我们需要在DevOps中的安全文件中更新现有文件。

另外,我们还没有看到现有安全文件的内容,因此我们害怕做出替换现有文件的决定,因为它会影响已经运行的管道。

您能否让我知道我们是否有任何可能的解决方案将安全文件下载到本地计算机上,或者如果我们可以使用build Administrator访问者在DevOps中查看其内容?

谢谢。

We have a few already running pipelines in Azure DevOps with dbt orchestration. The profiles.yml file required for the dbt tasks in the pipelines was uploaded to the secure file in DevOps a long time ago.

Now, we have built a new pipeline by orchestrating dbt. As we can't have two profiles.yml files, we are required to update the existing one in the secure file in DevOps.

Also, we have not seen the content of the existing secure file so we are afraid to make the decision to replace the existing file because it would impact the already running pipelines.

Could you please let me know whether we have any possible solution to download the secure file to our local machine or view its content in DevOps if we have the build administrator access?

Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

ぃ弥猫深巷。 2025-02-20 04:42:35

恐怕您无法将文件直接下载到本地计算机上。

我建议您可以使用下载安全的文件任务要下载安全文件,然后您可以上传安全的文件以构建工件。

这是一个示例:

steps:
- task: DownloadSecureFile@1
  displayName: 'Download secure file'
  inputs:
    secureFile: Certificates.p12

- task: PublishBuildArtifacts@1
  displayName: 'Publish Artifact: drop'
  inputs:
    PathtoPublish: '$(DOWNLOADSECUREFILE.SECUREFILEPATH)'

您可以在构建工件中找到安全文件。

I am afraid that you are not able to directly download the file to local machine.

I suggest that you can use the Download secure file task to download the secure file and then you can upload the secure file to Build artifacts.

Here is an example:

steps:
- task: DownloadSecureFile@1
  displayName: 'Download secure file'
  inputs:
    secureFile: Certificates.p12

- task: PublishBuildArtifacts@1
  displayName: 'Publish Artifact: drop'
  inputs:
    PathtoPublish: '$(DOWNLOADSECUREFILE.SECUREFILEPATH)'

You can find the secure file in Build artifacts.

enter image description here

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文