Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Pipeline tutorial fails with error #1211

Closed
moficodes opened this issue Aug 18, 2019 · 1 comment
Closed

The Pipeline tutorial fails with error #1211

moficodes opened this issue Aug 18, 2019 · 1 comment

Comments

@moficodes
Copy link
Contributor

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

@vdemeester
Copy link
Member

#1212 being merged, I think we can close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants