-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add example files for all events. Add a CI job that checks all examples against the schemas. Signed-off-by: Andrea Frittoli <andrea.frittoli@gmail.com>
- Loading branch information
Showing
39 changed files
with
693 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"context": { | ||
"version": "0.1.2", | ||
"id": "271069a8-fc18-44f1-b38f-9d70a1695819", | ||
"source": "/event/source/123", | ||
"type": "dev.cdevents.artifact.packaged.0.1.1", | ||
"timestamp": "2023-03-20T14:27:05.315384Z" | ||
}, | ||
"subject": { | ||
"id": "pkg:golang/mygit.com/myorg/myapp@234fd47e07d1004f0aed9c", | ||
"source": "/event/source/123", | ||
"type": "artifact", | ||
"content": { | ||
"change": { | ||
"id": "myChange123", | ||
"source": "my-git.example/an-org/a-repo" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"context": { | ||
"version": "0.1.2", | ||
"id": "271069a8-fc18-44f1-b38f-9d70a1695819", | ||
"source": "/event/source/123", | ||
"type": "dev.cdevents.artifact.published.0.1.1", | ||
"timestamp": "2023-03-20T14:27:05.315384Z" | ||
}, | ||
"subject": { | ||
"id": "pkg:golang/mygit.com/myorg/myapp@234fd47e07d1004f0aed9c", | ||
"source": "/event/source/123", | ||
"type": "artifact", | ||
"content": {} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"context": { | ||
"version": "0.1.2", | ||
"id": "271069a8-fc18-44f1-b38f-9d70a1695819", | ||
"source": "/event/source/123", | ||
"type": "dev.cdevents.branch.created.0.1.2", | ||
"timestamp": "2023-03-20T14:27:05.315384Z" | ||
}, | ||
"subject": { | ||
"id": "mySubject123", | ||
"source": "/event/source/123", | ||
"type": "branch", | ||
"content": { | ||
"repository": { | ||
"id": "TestRepo/TestOrg", | ||
"source": "https://example.org" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"context": { | ||
"version": "0.1.2", | ||
"id": "271069a8-fc18-44f1-b38f-9d70a1695819", | ||
"source": "/event/source/123", | ||
"type": "dev.cdevents.branch.deleted.0.1.2", | ||
"timestamp": "2023-03-20T14:27:05.315384Z" | ||
}, | ||
"subject": { | ||
"id": "mySubject123", | ||
"source": "/event/source/123", | ||
"type": "branch", | ||
"content": { | ||
"repository": { | ||
"id": "TestRepo/TestOrg", | ||
"source": "https://example.org" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"context": { | ||
"version": "0.1.2", | ||
"id": "271069a8-fc18-44f1-b38f-9d70a1695819", | ||
"source": "/event/source/123", | ||
"type": "dev.cdevents.build.finished.0.1.1", | ||
"timestamp": "2023-03-20T14:27:05.315384Z" | ||
}, | ||
"subject": { | ||
"id": "mySubject123", | ||
"source": "/event/source/123", | ||
"type": "build", | ||
"content": { | ||
"artifactId": "pkg:oci/myapp@sha256%3A0b31b1c02ff458ad9b7b81cbdf8f028bd54699fa151f221d1e8de6817db93427" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"context": { | ||
"version": "0.1.2", | ||
"id": "271069a8-fc18-44f1-b38f-9d70a1695819", | ||
"source": "/event/source/123", | ||
"type": "dev.cdevents.build.queued.0.1.1", | ||
"timestamp": "2023-03-20T14:27:05.315384Z" | ||
}, | ||
"subject": { | ||
"id": "mySubject123", | ||
"source": "/event/source/123", | ||
"type": "build", | ||
"content": {} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"context": { | ||
"version": "0.1.2", | ||
"id": "271069a8-fc18-44f1-b38f-9d70a1695819", | ||
"source": "/event/source/123", | ||
"type": "dev.cdevents.build.started.0.1.1", | ||
"timestamp": "2023-03-20T14:27:05.315384Z" | ||
}, | ||
"subject": { | ||
"id": "mySubject123", | ||
"source": "/event/source/123", | ||
"type": "build", | ||
"content": {} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"context": { | ||
"version": "0.1.2", | ||
"id": "271069a8-fc18-44f1-b38f-9d70a1695819", | ||
"source": "/event/source/123", | ||
"type": "dev.cdevents.change.abandoned.0.1.2", | ||
"timestamp": "2023-03-20T14:27:05.315384Z" | ||
}, | ||
"subject": { | ||
"id": "mySubject123", | ||
"source": "/event/source/123", | ||
"type": "change", | ||
"content": { | ||
"repository": { | ||
"id": "TestRepo/TestOrg", | ||
"source": "https://example.org" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"context": { | ||
"version": "0.1.2", | ||
"id": "271069a8-fc18-44f1-b38f-9d70a1695819", | ||
"source": "/event/source/123", | ||
"type": "dev.cdevents.change.created.0.1.2", | ||
"timestamp": "2023-03-20T14:27:05.315384Z" | ||
}, | ||
"subject": { | ||
"id": "mySubject123", | ||
"source": "/event/source/123", | ||
"type": "change", | ||
"content": { | ||
"repository": { | ||
"id": "TestRepo/TestOrg", | ||
"source": "https://example.org" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"context": { | ||
"version": "0.1.2", | ||
"id": "271069a8-fc18-44f1-b38f-9d70a1695819", | ||
"source": "/event/source/123", | ||
"type": "dev.cdevents.change.merged.0.1.2", | ||
"timestamp": "2023-03-20T14:27:05.315384Z" | ||
}, | ||
"subject": { | ||
"id": "mySubject123", | ||
"source": "/event/source/123", | ||
"type": "change", | ||
"content": { | ||
"repository": { | ||
"id": "TestRepo/TestOrg", | ||
"source": "https://example.org" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"context": { | ||
"version": "0.1.2", | ||
"id": "271069a8-fc18-44f1-b38f-9d70a1695819", | ||
"source": "/event/source/123", | ||
"type": "dev.cdevents.change.reviewed.0.1.2", | ||
"timestamp": "2023-03-20T14:27:05.315384Z" | ||
}, | ||
"subject": { | ||
"id": "mySubject123", | ||
"source": "/event/source/123", | ||
"type": "change", | ||
"content": { | ||
"repository": { | ||
"id": "TestRepo/TestOrg", | ||
"source": "https://example.org" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"context": { | ||
"version": "0.1.2", | ||
"id": "271069a8-fc18-44f1-b38f-9d70a1695819", | ||
"source": "/event/source/123", | ||
"type": "dev.cdevents.change.updated.0.1.2", | ||
"timestamp": "2023-03-20T14:27:05.315384Z" | ||
}, | ||
"subject": { | ||
"id": "mySubject123", | ||
"source": "/event/source/123", | ||
"type": "change", | ||
"content": { | ||
"repository": { | ||
"id": "TestRepo/TestOrg", | ||
"source": "https://example.org" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"context": { | ||
"version": "0.1.2", | ||
"id": "271069a8-fc18-44f1-b38f-9d70a1695819", | ||
"source": "/event/source/123", | ||
"type": "dev.cdevents.environment.created.0.1.1", | ||
"timestamp": "2023-03-20T14:27:05.315384Z" | ||
}, | ||
"subject": { | ||
"id": "mySubject123", | ||
"source": "/event/source/123", | ||
"type": "environment", | ||
"content": { | ||
"name": "testEnv", | ||
"url": "https://example.org/testEnv" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"context": { | ||
"version": "0.1.2", | ||
"id": "271069a8-fc18-44f1-b38f-9d70a1695819", | ||
"source": "/event/source/123", | ||
"type": "dev.cdevents.environment.deleted.0.1.1", | ||
"timestamp": "2023-03-20T14:27:05.315384Z" | ||
}, | ||
"subject": { | ||
"id": "mySubject123", | ||
"source": "/event/source/123", | ||
"type": "environment", | ||
"content": { | ||
"name": "testEnv" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"context": { | ||
"version": "0.1.2", | ||
"id": "271069a8-fc18-44f1-b38f-9d70a1695819", | ||
"source": "/event/source/123", | ||
"type": "dev.cdevents.environment.modified.0.1.1", | ||
"timestamp": "2023-03-20T14:27:05.315384Z" | ||
}, | ||
"subject": { | ||
"id": "mySubject123", | ||
"source": "/event/source/123", | ||
"type": "environment", | ||
"content": { | ||
"name": "testEnv", | ||
"url": "https://example.org/testEnv" | ||
} | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"context": { | ||
"version": "0.1.2", | ||
"id": "271069a8-fc18-44f1-b38f-9d70a1695819", | ||
"source": "/event/source/123", | ||
"type": "dev.cdevents.pipelinerun.finished.0.1.1", | ||
"timestamp": "2023-03-20T14:27:05.315384Z" | ||
}, | ||
"subject": { | ||
"id": "mySubject123", | ||
"source": "/event/source/123", | ||
"type": "pipelineRun", | ||
"content": { | ||
"pipelineName": "myPipeline", | ||
"url": "https://www.example.com/mySubject123", | ||
"outcome": "failure", | ||
"errors": "Something went wrong\nWith some more details" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"context": { | ||
"version": "0.1.2", | ||
"id": "271069a8-fc18-44f1-b38f-9d70a1695819", | ||
"source": "/event/source/123", | ||
"type": "dev.cdevents.pipelinerun.queued.0.1.1", | ||
"timestamp": "2023-03-20T14:27:05.315384Z" | ||
}, | ||
"subject": { | ||
"id": "mySubject123", | ||
"source": "/event/source/123", | ||
"type": "pipelineRun", | ||
"content": { | ||
"pipelineName": "myPipeline", | ||
"url": "https://www.example.com/mySubject123" | ||
} | ||
} | ||
} |
Oops, something went wrong.