【问题标题】:Use older version of github-release-resource in Concourse using dynamic tag from a file使用来自文件的动态标签在 Concourse 中使用旧版本的 github-release-resource
【发布时间】:2020-11-24 19:11:14
【问题描述】:

GitHub-release 资源总是发布最新版本。我想获取文件中指定版本的特定标签。

以下未获取版本 - github-release - pinned version tag: path/to/the/file/with/version not found

- get: github-release
  version: 
   tag: path/to/the/file/with/version
  params:
   include_source_zip: true

我可以通过对版本进行硬编码来获得旧版本

- get: github-release
  version: { tag : 'v1.0.0' }
  params:
   include_source_zip: true

fly check-resource -r pipeline/github-release-resource --from tag:v1.0.0

【问题讨论】:

    标签: concourse concourse-pipeline concourse-resource-types


    【解决方案1】:

    这是一个大厅配置。 基本上,正如here 所述,除非您重置管道,否则您无法在运行时真正更改它:

    通过管道配置固定对于更永久的固定状态很有用。如果通过管道配置固定资源,则无法通过 Web UI 修改,只能通过修改和重置管道配置来更改。

    此外,命令 fly check-resource ... 对于验证版本实际存在很有用。

    【讨论】:

      猜你喜欢
      • 2017-04-27
      • 2021-07-06
      • 1970-01-01
      • 2019-04-10
      • 1970-01-01
      • 1970-01-01
      • 2020-02-06
      • 1970-01-01
      相关资源
      最近更新 更多