From 8404587e959da902c0d4fc9f688307fd18b9fe54 Mon Sep 17 00:00:00 2001 From: Dan Lorenc Date: Tue, 29 Oct 2019 08:54:15 -0400 Subject: [PATCH] Fix output/input resource issue in docs. The docs had task output/resources swapped in a few places. This corrects them, and fixes https://github.com/tektoncd/pipeline/issues/1458 --- docs/tasks.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/docs/tasks.md b/docs/tasks.md index 3c5bb793712..bf1bf5254da 100644 --- a/docs/tasks.md +++ b/docs/tasks.md @@ -297,8 +297,8 @@ next Task is expected to be present under the path `/workspace/output/resource_name/`. ```yaml -resources: - outputs: +outputs: + resources: name: storage-gcs type: gcs steps: @@ -325,11 +325,12 @@ directory. After execution of the Task steps, (new) tar file in directory `tar-artifact` resource definition. ```yaml -resources: - inputs: +inputs: + resources: name: tar-artifact targetPath: customworkspace - outputs: +outputs: + resources: name: tar-artifact steps: - name: untar