Skip to content

Commit

Permalink
Update dev docs with inverted resources/inputs/outputs
Browse files Browse the repository at this point in the history
With #1185 we resolved a lot
of confusion and inconsistency around how we nested things with
input/output, but we didn't update our developer docs :(

In #2319 we pointed someone toward these docs and the person ended up
using the old syntax and being confused :(
  • Loading branch information
bobcatfish authored and tekton-robot committed Apr 8, 2020
1 parent 4957eec commit 870e26f
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions docs/developers/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ expected in directory path `/workspace/output/resource_name`.
name: get-gcs-task
namespace: default
spec:
outputs:
resources:
resources:
outputs:
- name: gcs-workspace
type: storage
```
Expand All @@ -76,8 +76,8 @@ expected in directory path `/workspace/output/resource_name`.
name: get-gcs-task
namespace: default
spec:
outputs:
resources:
resources:
outputs:
- name: gcs-workspace
type: storage
targetPath: /workspace/outputstuff
Expand All @@ -95,13 +95,12 @@ expected in directory path `/workspace/output/resource_name`.
name: get-gcs-task
namespace: default
spec:
inputs:
resources:
resources:
inputs:
- name: gcs-workspace
type: storage
targetPath: random-space
outputs:
resources:
outputs:
- name: gcs-workspace
type: storage
```
Expand All @@ -117,12 +116,11 @@ expected in directory path `/workspace/output/resource_name`.
name: get-gcs-task
namespace: default
spec:
inputs:
resources:
resources:
inputs:
- name: gcs-workspace
type: storage
outputs:
resources:
outputs:
- name: gcs-workspace
type: storage
```
Expand Down

0 comments on commit 870e26f

Please sign in to comment.