Skip to content

Commit b45a092

Browse files
committed
fix typos and add comment about sequence
Signed-off-by: vyuhimenko <vyuhimenko@bloomberg.net>
1 parent 2c6f353 commit b45a092

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

core.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,8 @@ This event represents when a taskRun has been queued for execution - and is wait
115115

116116
Adopters can choose to ignore these events if they don't apply to their use cases.
117117

118+
A `taskRun.queued` event may be followed by `taskRun.started` or `taskRun.finished` for the **same** subject.
119+
118120
- Event Type: __`dev.cdevents.taskrun.queued.0.1.0-draft`__
119121
- Predicate: queued
120122
- Subject: [`taskRun`](#taskrun)
@@ -123,7 +125,7 @@ Adopters can choose to ignore these events if they don't apply to their use case
123125
|-------|------|-------------|----------|----------------------------|
124126
| id | `String` | See [id](spec.md#id-subject)| `tenant1/12345-abcde`, `namespace/taskrun-1234` ||
125127
| source | `URI-Reference` | [source](spec.md#source) from the context | | |
126-
| taskName | `String` | The name of the pipeline | `MyPipeline`, `Unit tests for my repo` | |
128+
| taskName | `String` | The name of the task | `MyTask`, `Deploy to DEV stage` | |
127129
| pipelineRun | `Object` ([`pipelineRun`](#pipelinerun)) | The `pipelineRun` that this `taskRun` belongs to. | `{"id": "namespace/pipelinerun-1234"}`| |
128130
| url | `URI` | url to the `taskRun` | `https://dashboard.org/namespace/taskrun-1234`, `https://api.cdsystem.com/namespace/taskrun-1234` | |
129131

@@ -139,7 +141,7 @@ A taskRun has started and it is running.
139141
|-------|------|-------------|----------|----------------------------|
140142
| id | `String` | See [id](spec.md#id-subject)| `tenant1/12345-abcde`, `namespace/taskrun-1234` ||
141143
| source | `URI-Reference` | [source](spec.md#source) from the context | | |
142-
| taskName | `String` | The name of the pipeline | `MyPipeline`, `Unit tests for my repo` | |
144+
| taskName | `String` | The name of the task | `MyTask`, `Deploy to DEV stage` | |
143145
| pipelineRun | `Object` ([`pipelineRun`](#pipelinerun)) | The `pipelineRun` that this `taskRun` belongs to. | `{"id": "namespace/pipelinerun-1234"}`| |
144146
| url | `URI` | url to the `taskRun` | `https://dashboard.org/namespace/taskrun-1234`, `https://api.cdsystem.com/namespace/taskrun-1234` | |
145147

@@ -155,7 +157,7 @@ A taskRun has finished, successfully or not.
155157
|-------|------|-------------|----------|----------------------------|
156158
| id | `String` | See [id](spec.md#id-subject)| `tenant1/12345-abcde`, `namespace/taskrun-1234` ||
157159
| source | `URI-Reference` | [source](spec.md#source) from the context | | |
158-
| taskName | `String` | The name of the pipeline | `MyPipeline`, `Unit tests for my repo` | |
160+
| taskName | `String` | The name of the task | `MyTask`, `Deploy to DEV stage` | |
159161
| pipelineRun | `Object` ([`pipelineRun`](#pipelinerun)) | The `pipelineRun` that this `taskRun` belongs to. | `{"id": "namespace/pipelinerun-1234"}`| |
160162
| url | `URI` | url to the `taskRun` | `https://dashboard.org/namespace/taskrun-1234`, `https://api.cdsystem.com/namespace/taskrun-1234` | |
161163
| outcome | `String (enum)` | outcome of a finished `taskRun` | `success`, `failure`, `cancel`, or `error` | `success`, `failure`, `cancel`, `error` |

0 commit comments

Comments
 (0)