Missing inputs

This happens when a task defines an input which is not provided to the job via get step in the plan.

missing inputs

To address this problem, go through the definition of a failed task and supply the inputs to the job via get steps.

Consider the following pipeline. It will produce the missing inputs error. To fix it, uncomment the necessary get step.

resources:
- name: code-repo
type: git
source:
branch: main
private_key: ((deploy_key))
uri: git@gitlab.com:myorg/myrepo.git
jobs:
- name: do-nothing
plan:
- get: code-repo
- name: say-hello
plan:
#- get: code-repo
- task: build
config:
platform: linux
image_resource:
type: docker-image
source:
repository: alpine
inputs:
- name: code-repo
run:
path: /bin/sh
args:
- -c
- |
echo hello