Skip to content

Commit 626937c

Browse files
committed
feat!: merge subject.source into subject.id
Signed-off-by: David Bernard <david.bernard.31@gmail.com>
1 parent c9d6401 commit 626937c

93 files changed

Lines changed: 84 additions & 450 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

cloudevents-binding.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,7 @@ Content-Length: nnnn
114114
"task": "my-task",
115115
"uri": "/apis/tekton.dev/v1beta1/namespaces/default/taskruns/my-taskrun-123"
116116
"pipelineRun": {
117-
"id": "/somewherelse/pipelinerun-123",
118-
"source": "/staging/jenkins/"
117+
"id": "/staging/jenkins/somewherelse/pipelinerun-123"
119118
}
120119
}
121120
}

conformance/artifact_deleted.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
},
4141
"subject": {
4242
"id": "pkg:golang/mygit.com/myorg/myapp@234fd47e07d1004f0aed9c",
43-
"source": "/event/source/123",
4443
"content": {
4544
"user": "mybot-myapp"
4645
}

conformance/artifact_downloaded.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
},
4141
"subject": {
4242
"id": "pkg:golang/mygit.com/myorg/myapp@234fd47e07d1004f0aed9c",
43-
"source": "/event/source/123",
4443
"content": {
4544
"user": "mybot-myapp"
4645
}

conformance/artifact_packaged.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,9 @@
4141
},
4242
"subject": {
4343
"id": "pkg:golang/mygit.com/myorg/myapp@234fd47e07d1004f0aed9c",
44-
"source": "/event/source/123",
4544
"content": {
4645
"change": {
47-
"id": "myChange123",
48-
"source": "my-git.example/an-org/a-repo"
46+
"id": "my-git.example/an-org/a-repo/myChange123"
4947
},
5048
"sbom": {
5149
"uri": "https://sbom.repo/myorg/234fd47e07d1004f0aed9c.sbom"

conformance/artifact_published.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
},
4242
"subject": {
4343
"id": "pkg:golang/mygit.com/myorg/myapp@234fd47e07d1004f0aed9c",
44-
"source": "/event/source/123",
4544
"content": {
4645
"sbom": {
4746
"uri": "https://sbom.repo/myorg/234fd47e07d1004f0aed9c.sbom"

conformance/artifact_signed.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
},
4242
"subject": {
4343
"id": "pkg:golang/mygit.com/myorg/myapp@234fd47e07d1004f0aed9c",
44-
"source": "/event/source/123",
4544
"content": {
4645
"signature": "MEYCIQCBT8U5ypDXWCjlNKfzTV4KH516/SK13NZSh8znnSMNkQIhAJ3XiQlc9PM1KyjITcZXHotdMB+J3NGua5T/yshmiPmp"
4746
}

conformance/branch_created.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,9 @@
4141
},
4242
"subject": {
4343
"id": "mySubject123",
44-
"source": "/event/source/123",
4544
"content": {
4645
"repository": {
47-
"id": "TestRepo/TestOrg",
48-
"source": "https://example.org"
46+
"id": "https://example.org/TestRepo/TestOrg"
4947
}
5048
}
5149
}

conformance/branch_deleted.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,9 @@
4141
},
4242
"subject": {
4343
"id": "mySubject123",
44-
"source": "/event/source/123",
4544
"content": {
4645
"repository": {
47-
"id": "TestRepo/TestOrg",
48-
"source": "https://example.org"
46+
"id": "https://example.org/TestRepo/TestOrg"
4947
}
5048
}
5149
}

conformance/build_finished.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
},
4242
"subject": {
4343
"id": "mySubject123",
44-
"source": "/event/source/123",
4544
"content": {
4645
"artifactId": "pkg:oci/myapp@sha256%3A0b31b1c02ff458ad9b7b81cbdf8f028bd54699fa151f221d1e8de6817db93427"
4746
}

conformance/build_queued.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
},
4242
"subject": {
4343
"id": "mySubject123",
44-
"source": "/event/source/123",
4544
"content": {}
4645
}
4746
}

0 commit comments

Comments
 (0)