【发布时间】:2018-03-08 18:04:32
【问题描述】:
我正在尝试构建一个由 git 触发的大厅管道,然后在该 git 存储库中运行一个脚本。
这是我目前所拥有的:
resources:
- name: component_structure_git
type: git
source:
branch: master
uri: git@bitbucket.org:foo/bar.git
jobs:
- name: component_structure-docker
serial: true
plan:
- aggregate:
- get: component_structure_git
trigger: true
- task: do-something
config:
platform: linux
image_resource:
type: docker-image
source: { repository: ubuntu }
inputs:
- name: component_structure_git
outputs:
- name: updated-gist
run:
path: component_structure_git/run.sh
- put: component_structure-docker
params:
build: component_structure/concourse
- name: component_structure-deploy-test
serial: true
plan:
- aggregate:
- get: component_structure-docker
passed: [component_structure-docker]
- name: component_structure-deploy-prod
serial: true
plan:
- aggregate:
- get: component_structure-docker
passed: [component_structure-docker]
当我使用 fly 应用此代码时,一切正常。当我尝试运行构建时。它失败并出现以下错误:
缺少输入:component_structure_git
知道我在这里缺少什么吗?
【问题讨论】:
标签: continuous-integration concourse