Skip to content

The Pipeline tutorial fails with error #1211

@moficodes

Description

@moficodes

Expected Behavior

Push image and create deployment

Actual Behavior

Taskrun fails with

Error: asked to process document index 1 but there are only 1 document(s)

Steps to Reproduce the Problem

Run through the pipeline deployment.

Additional Info

Ran on kubernetes 1.15

Fix

The issue is that the the skaffold folder deployment.yaml removed the service yaml from the file.
GoogleContainerTools/skaffold@3f93642#diff-93aba9ab4664919e9d1c519f6798bf06

So the file has only one document and setting yqArg to -d1 tries to access document 1 instead of 0 which does not exist. I made the change in my fork. Will be Making a PR

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions