diff --git a/cloudevents-binding.md b/cloudevents-binding.md index 304e31c..4c494e8 100644 --- a/cloudevents-binding.md +++ b/cloudevents-binding.md @@ -114,8 +114,7 @@ Content-Length: nnnn "task": "my-task", "uri": "/apis/tekton.dev/v1beta1/namespaces/default/taskruns/my-taskrun-123" "pipelineRun": { - "id": "/somewherelse/pipelinerun-123", - "source": "/staging/jenkins/" + "id": "/staging/jenkins/somewherelse/pipelinerun-123" } } } diff --git a/conformance/artifact_deleted.json b/conformance/artifact_deleted.json index e0bf17a..3759baf 100644 --- a/conformance/artifact_deleted.json +++ b/conformance/artifact_deleted.json @@ -40,7 +40,6 @@ }, "subject": { "id": "pkg:golang/mygit.com/myorg/myapp@234fd47e07d1004f0aed9c", - "source": "/event/source/123", "content": { "user": "mybot-myapp" } diff --git a/conformance/artifact_downloaded.json b/conformance/artifact_downloaded.json index 80f9297..2d781f2 100644 --- a/conformance/artifact_downloaded.json +++ b/conformance/artifact_downloaded.json @@ -40,7 +40,6 @@ }, "subject": { "id": "pkg:golang/mygit.com/myorg/myapp@234fd47e07d1004f0aed9c", - "source": "/event/source/123", "content": { "user": "mybot-myapp" } diff --git a/conformance/artifact_packaged.json b/conformance/artifact_packaged.json index 123588f..20684ff 100644 --- a/conformance/artifact_packaged.json +++ b/conformance/artifact_packaged.json @@ -41,11 +41,9 @@ }, "subject": { "id": "pkg:golang/mygit.com/myorg/myapp@234fd47e07d1004f0aed9c", - "source": "/event/source/123", "content": { "change": { - "id": "myChange123", - "source": "my-git.example/an-org/a-repo" + "id": "my-git.example/an-org/a-repo/myChange123" }, "sbom": { "uri": "https://sbom.repo/myorg/234fd47e07d1004f0aed9c.sbom" diff --git a/conformance/artifact_published.json b/conformance/artifact_published.json index 9315bac..198cf0e 100644 --- a/conformance/artifact_published.json +++ b/conformance/artifact_published.json @@ -41,7 +41,6 @@ }, "subject": { "id": "pkg:golang/mygit.com/myorg/myapp@234fd47e07d1004f0aed9c", - "source": "/event/source/123", "content": { "sbom": { "uri": "https://sbom.repo/myorg/234fd47e07d1004f0aed9c.sbom" diff --git a/conformance/artifact_signed.json b/conformance/artifact_signed.json index db04da6..9dad277 100644 --- a/conformance/artifact_signed.json +++ b/conformance/artifact_signed.json @@ -41,7 +41,6 @@ }, "subject": { "id": "pkg:golang/mygit.com/myorg/myapp@234fd47e07d1004f0aed9c", - "source": "/event/source/123", "content": { "signature": "MEYCIQCBT8U5ypDXWCjlNKfzTV4KH516/SK13NZSh8znnSMNkQIhAJ3XiQlc9PM1KyjITcZXHotdMB+J3NGua5T/yshmiPmp" } diff --git a/conformance/branch_created.json b/conformance/branch_created.json index 38bea8d..37f33e8 100644 --- a/conformance/branch_created.json +++ b/conformance/branch_created.json @@ -41,11 +41,9 @@ }, "subject": { "id": "mySubject123", - "source": "/event/source/123", "content": { "repository": { - "id": "TestRepo/TestOrg", - "source": "https://example.org" + "id": "https://example.org/TestRepo/TestOrg" } } } diff --git a/conformance/branch_deleted.json b/conformance/branch_deleted.json index fa6ad8d..0dd35b1 100644 --- a/conformance/branch_deleted.json +++ b/conformance/branch_deleted.json @@ -41,11 +41,9 @@ }, "subject": { "id": "mySubject123", - "source": "/event/source/123", "content": { "repository": { - "id": "TestRepo/TestOrg", - "source": "https://example.org" + "id": "https://example.org/TestRepo/TestOrg" } } } diff --git a/conformance/build_finished.json b/conformance/build_finished.json index 1e19bea..04c1dfe 100644 --- a/conformance/build_finished.json +++ b/conformance/build_finished.json @@ -41,7 +41,6 @@ }, "subject": { "id": "mySubject123", - "source": "/event/source/123", "content": { "artifactId": "pkg:oci/myapp@sha256%3A0b31b1c02ff458ad9b7b81cbdf8f028bd54699fa151f221d1e8de6817db93427" } diff --git a/conformance/build_queued.json b/conformance/build_queued.json index 671d2bd..cac70bf 100644 --- a/conformance/build_queued.json +++ b/conformance/build_queued.json @@ -41,7 +41,6 @@ }, "subject": { "id": "mySubject123", - "source": "/event/source/123", "content": {} } } diff --git a/conformance/build_started.json b/conformance/build_started.json index 21104b8..0042f55 100644 --- a/conformance/build_started.json +++ b/conformance/build_started.json @@ -41,7 +41,6 @@ }, "subject": { "id": "mySubject123", - "source": "/event/source/123", "content": {} } } diff --git a/conformance/change_abandoned.json b/conformance/change_abandoned.json index a24b7c3..58afb4a 100644 --- a/conformance/change_abandoned.json +++ b/conformance/change_abandoned.json @@ -41,11 +41,9 @@ }, "subject": { "id": "mySubject123", - "source": "/event/source/123", "content": { "repository": { - "id": "TestRepo/TestOrg", - "source": "https://example.org" + "id": "https://example.org/TestRepo/TestOrg" } } } diff --git a/conformance/change_created.json b/conformance/change_created.json index 67355ab..7b2933d 100644 --- a/conformance/change_created.json +++ b/conformance/change_created.json @@ -41,12 +41,10 @@ }, "subject": { "id": "mySubject123", - "source": "/event/source/123", "content": { "description": "This PR address a bug from a recent PR", "repository": { - "id": "TestRepo/TestOrg", - "source": "https://example.org" + "id": "https://example.org/TestRepo/TestOrg" } } } diff --git a/conformance/change_merged.json b/conformance/change_merged.json index c416756..a88abae 100644 --- a/conformance/change_merged.json +++ b/conformance/change_merged.json @@ -41,11 +41,9 @@ }, "subject": { "id": "mySubject123", - "source": "/event/source/123", "content": { "repository": { - "id": "TestRepo/TestOrg", - "source": "https://example.org" + "id": "https://example.org/TestRepo/TestOrg" } } } diff --git a/conformance/change_reviewed.json b/conformance/change_reviewed.json index c2c5d1c..63094cf 100644 --- a/conformance/change_reviewed.json +++ b/conformance/change_reviewed.json @@ -41,11 +41,9 @@ }, "subject": { "id": "mySubject123", - "source": "/event/source/123", "content": { "repository": { - "id": "TestRepo/TestOrg", - "source": "https://example.org" + "id": "https://example.org/TestRepo/TestOrg" } } } diff --git a/conformance/change_updated.json b/conformance/change_updated.json index 1d8b640..d13eec8 100644 --- a/conformance/change_updated.json +++ b/conformance/change_updated.json @@ -41,11 +41,9 @@ }, "subject": { "id": "mySubject123", - "source": "/event/source/123", "content": { "repository": { - "id": "TestRepo/TestOrg", - "source": "https://example.org" + "id": "https://example.org/TestRepo/TestOrg" } } } diff --git a/conformance/environment_created.json b/conformance/environment_created.json index 5744435..10f16ee 100644 --- a/conformance/environment_created.json +++ b/conformance/environment_created.json @@ -41,7 +41,6 @@ }, "subject": { "id": "mySubject123", - "source": "/event/source/123", "content": { "name": "testEnv", "uri": "https://example.org/testEnv" diff --git a/conformance/environment_deleted.json b/conformance/environment_deleted.json index 5ea1893..3ec04be 100644 --- a/conformance/environment_deleted.json +++ b/conformance/environment_deleted.json @@ -41,7 +41,6 @@ }, "subject": { "id": "mySubject123", - "source": "/event/source/123", "content": { "name": "testEnv" } diff --git a/conformance/environment_modified.json b/conformance/environment_modified.json index 90f4d19..93af96a 100644 --- a/conformance/environment_modified.json +++ b/conformance/environment_modified.json @@ -41,7 +41,6 @@ }, "subject": { "id": "mySubject123", - "source": "/event/source/123", "content": { "name": "testEnv", "uri": "https://example.org/testEnv" diff --git a/conformance/incident_detected.json b/conformance/incident_detected.json index 456d192..79918f5 100644 --- a/conformance/incident_detected.json +++ b/conformance/incident_detected.json @@ -41,16 +41,13 @@ }, "subject": { "id": "incident-123", - "source": "/monitoring/prod1", "content": { "description": "Response time above threshold of 100ms", "environment": { - "id": "prod1", - "source": "/iaas/geo1" + "id": "/iaas/geo1/prod1" }, "service": { - "id": "myApp", - "source": "/clusterA/namespaceB" + "id": "/clusterA/namespaceB/myApp" }, "artifactId": "pkg:oci/myapp@sha256%3A0b31b1c02ff458ad9b7b81cbdf8f028bd54699fa151f221d1e8de6817db93427" } diff --git a/conformance/incident_reported.json b/conformance/incident_reported.json index 7de43fa..ad25ac0 100644 --- a/conformance/incident_reported.json +++ b/conformance/incident_reported.json @@ -41,16 +41,13 @@ }, "subject": { "id": "incident-123", - "source": "/monitoring/prod1", "content": { "description": "Response time above threshold of 100ms", "environment": { - "id": "prod1", - "source": "/iaas/geo1" + "id": "/iaas/geo1/prod1" }, "service": { - "id": "myApp", - "source": "/clusterA/namespaceB" + "id": "/clusterA/namespaceB/myApp" }, "artifactId": "pkg:oci/myapp@sha256%3A0b31b1c02ff458ad9b7b81cbdf8f028bd54699fa151f221d1e8de6817db93427", "ticketURI": "https://my-issues.example/incidents/ticket-345" diff --git a/conformance/incident_resolved.json b/conformance/incident_resolved.json index 9e07271..141536a 100644 --- a/conformance/incident_resolved.json +++ b/conformance/incident_resolved.json @@ -41,16 +41,13 @@ }, "subject": { "id": "incident-123", - "source": "/monitoring/prod1", "content": { "description": "Response time restored below 100ms", "environment": { - "id": "prod1", - "source": "/iaas/geo1" + "id": "/iaas/geo1/prod1" }, "service": { - "id": "myApp", - "source": "/clusterA/namespaceB" + "id": "/clusterA/namespaceB/myApp" }, "artifactId": "pkg:oci/myapp@sha256%3A0b31b1c02ff458ad9b7b81cbdf8f028bd54699fa151f221d1e8de6817db93439" } diff --git a/conformance/pipelinerun_finished.json b/conformance/pipelinerun_finished.json index aa7fa80..7177e79 100644 --- a/conformance/pipelinerun_finished.json +++ b/conformance/pipelinerun_finished.json @@ -41,7 +41,6 @@ }, "subject": { "id": "mySubject123", - "source": "/event/source/123", "content": { "pipelineName": "myPipeline", "uri": "https://www.example.com/mySubject123", diff --git a/conformance/pipelinerun_queued.json b/conformance/pipelinerun_queued.json index 2ba2a72..32c5023 100644 --- a/conformance/pipelinerun_queued.json +++ b/conformance/pipelinerun_queued.json @@ -41,7 +41,6 @@ }, "subject": { "id": "mySubject123", - "source": "/event/source/123", "content": { "pipelineName": "myPipeline", "uri": "https://www.example.com/mySubject123" diff --git a/conformance/pipelinerun_started.json b/conformance/pipelinerun_started.json index 576c993..7e9b5eb 100644 --- a/conformance/pipelinerun_started.json +++ b/conformance/pipelinerun_started.json @@ -41,7 +41,6 @@ }, "subject": { "id": "mySubject123", - "source": "/event/source/123", "content": { "pipelineName": "myPipeline", "uri": "https://www.example.com/mySubject123" diff --git a/conformance/repository_created.json b/conformance/repository_created.json index 5470eed..b127d4b 100644 --- a/conformance/repository_created.json +++ b/conformance/repository_created.json @@ -41,7 +41,6 @@ }, "subject": { "id": "mySubject123", - "source": "/event/source/123", "content": { "name": "TestRepo", "owner": "TestOrg", diff --git a/conformance/repository_deleted.json b/conformance/repository_deleted.json index fef2c1a..d0b6a65 100644 --- a/conformance/repository_deleted.json +++ b/conformance/repository_deleted.json @@ -41,7 +41,6 @@ }, "subject": { "id": "mySubject123", - "source": "/event/source/123", "content": { "name": "TestRepo", "owner": "TestOrg", diff --git a/conformance/repository_modified.json b/conformance/repository_modified.json index 541a667..4cfd513 100644 --- a/conformance/repository_modified.json +++ b/conformance/repository_modified.json @@ -41,7 +41,6 @@ }, "subject": { "id": "mySubject123", - "source": "/event/source/123", "content": { "name": "TestRepo", "owner": "TestOrg", diff --git a/conformance/service_deployed.json b/conformance/service_deployed.json index 709bb79..60e7403 100644 --- a/conformance/service_deployed.json +++ b/conformance/service_deployed.json @@ -41,7 +41,6 @@ }, "subject": { "id": "mySubject123", - "source": "/event/source/123", "content": { "environment": { "id": "test123" diff --git a/conformance/service_published.json b/conformance/service_published.json index f03ce7e..f1aff12 100644 --- a/conformance/service_published.json +++ b/conformance/service_published.json @@ -41,7 +41,6 @@ }, "subject": { "id": "mySubject123", - "source": "/event/source/123", "content": { "environment": { "id": "test123" diff --git a/conformance/service_removed.json b/conformance/service_removed.json index b04278c..ad9582f 100644 --- a/conformance/service_removed.json +++ b/conformance/service_removed.json @@ -41,7 +41,6 @@ }, "subject": { "id": "mySubject123", - "source": "/event/source/123", "content": { "environment": { "id": "test123" diff --git a/conformance/service_rolledback.json b/conformance/service_rolledback.json index 94125ef..cb942e6 100644 --- a/conformance/service_rolledback.json +++ b/conformance/service_rolledback.json @@ -41,7 +41,6 @@ }, "subject": { "id": "mySubject123", - "source": "/event/source/123", "content": { "environment": { "id": "test123" diff --git a/conformance/service_upgraded.json b/conformance/service_upgraded.json index dc2d363..eaca931 100644 --- a/conformance/service_upgraded.json +++ b/conformance/service_upgraded.json @@ -41,7 +41,6 @@ }, "subject": { "id": "mySubject123", - "source": "/event/source/123", "content": { "environment": { "id": "test123" diff --git a/conformance/taskrun_finished.json b/conformance/taskrun_finished.json index c25f9f5..6b81182 100644 --- a/conformance/taskrun_finished.json +++ b/conformance/taskrun_finished.json @@ -41,7 +41,6 @@ }, "subject": { "id": "mySubject123", - "source": "/event/source/123", "content": { "taskName": "myTask", "uri": "https://www.example.com/mySubject123", diff --git a/conformance/taskrun_started.json b/conformance/taskrun_started.json index 0638910..41466b8 100644 --- a/conformance/taskrun_started.json +++ b/conformance/taskrun_started.json @@ -41,7 +41,6 @@ }, "subject": { "id": "mySubject123", - "source": "/event/source/123", "content": { "taskName": "myTask", "uri": "https://www.example.com/mySubject123", diff --git a/conformance/testcaserun_finished.json b/conformance/testcaserun_finished.json index 8bdd7c8..16e4418 100644 --- a/conformance/testcaserun_finished.json +++ b/conformance/testcaserun_finished.json @@ -41,12 +41,10 @@ }, "subject": { "id": "myTestCaseRun123", - "source": "/event/source/123", "content": { "outcome": "success", "environment": { - "id": "dev", - "source": "testkube-dev-123" + "id": "/testkube-dev-123/dev" }, "testCase": { "id": "92834723894", diff --git a/conformance/testcaserun_queued.json b/conformance/testcaserun_queued.json index b80a806..ae7152d 100644 --- a/conformance/testcaserun_queued.json +++ b/conformance/testcaserun_queued.json @@ -41,11 +41,9 @@ }, "subject": { "id": "myTestCaseRun123", - "source": "/event/source/123", "content": { "environment": { - "id": "dev", - "source": "testkube-dev-123" + "id": "/testkube-dev-123/dev" }, "testCase": { "id": "92834723894", diff --git a/conformance/testcaserun_skipped.json b/conformance/testcaserun_skipped.json index 94df0be..6e9c031 100644 --- a/conformance/testcaserun_skipped.json +++ b/conformance/testcaserun_skipped.json @@ -40,16 +40,13 @@ }, "subject": { "id": "myTestCaseRun123", - "source": "/event/source/123", "content": { "reason": "Not running in this environment", "environment": { - "id": "dev", - "source": "testkube-dev-123" + "id": "/testkube-dev-123/dev" }, "testSuiteRun": { - "id": "test-suite-111", - "source": "testkube-dev-123" + "id": "/testkube-dev-123/test-suite-111" }, "testCase": { "id": "92834723894", diff --git a/conformance/testcaserun_started.json b/conformance/testcaserun_started.json index d1a4eaa..11fbee5 100644 --- a/conformance/testcaserun_started.json +++ b/conformance/testcaserun_started.json @@ -41,11 +41,9 @@ }, "subject": { "id": "myTestCaseRun123", - "source": "/event/source/123", "content": { "environment": { - "id": "dev", - "source": "testkube-dev-123" + "id": "/testkube-dev-123/dev" }, "testCase": { "id": "92834723894", diff --git a/conformance/testoutput_published.json b/conformance/testoutput_published.json index c712b27..4f7cfa0 100644 --- a/conformance/testoutput_published.json +++ b/conformance/testoutput_published.json @@ -41,13 +41,11 @@ }, "subject": { "id": "testrunreport-12123", - "source": "/event/source/testrunreport-12123", "content": { "outputType": "video", "format": "video/quicktime", "testCaseRun": { - "id": "myTestCaseRun123", - "source": "testkube-dev-123" + "id": "/testkube-dev-123/myTestCaseRun123" } } } diff --git a/conformance/testsuiterun_finished.json b/conformance/testsuiterun_finished.json index c91d8fe..f4cad9b 100644 --- a/conformance/testsuiterun_finished.json +++ b/conformance/testsuiterun_finished.json @@ -41,14 +41,12 @@ }, "subject": { "id": "myTestSuiteRun123", - "source": "/event/source/123", "content": { "outcome": "failure", "severity": "critical", "reason": "Host 123.34.23.32 not found", "environment": { - "id": "dev", - "source": "testkube-dev-123" + "id": "/testkube-dev-123/dev" }, "testSuite": { "id": "92834723894", diff --git a/conformance/testsuiterun_queued.json b/conformance/testsuiterun_queued.json index d3d9709..12257c5 100644 --- a/conformance/testsuiterun_queued.json +++ b/conformance/testsuiterun_queued.json @@ -41,11 +41,9 @@ }, "subject": { "id": "myTestSuiteRun123", - "source": "/event/source/123", "content": { "environment": { - "id": "dev", - "source": "testkube-dev-123" + "id": "/testkube-dev-123/dev" }, "testSuite": { "id": "92834723894", diff --git a/conformance/testsuiterun_started.json b/conformance/testsuiterun_started.json index 30e6e3f..d36ca9a 100644 --- a/conformance/testsuiterun_started.json +++ b/conformance/testsuiterun_started.json @@ -41,11 +41,9 @@ }, "subject": { "id": "myTestSuiteRun123", - "source": "/event/source/123", "content": { "environment": { - "id": "dev", - "source": "testkube-dev-123" + "id": "/testkube-dev-123/dev" }, "testSuite": { "id": "92834723894", diff --git a/conformance/ticket_closed.json b/conformance/ticket_closed.json index ad8fcb1..348386f 100644 --- a/conformance/ticket_closed.json +++ b/conformance/ticket_closed.json @@ -40,7 +40,6 @@ }, "subject": { "id": "ticket-123", - "source": "/ticketing/system", "content": { "summary": "New CVE-123 detected", "ticketType": "task", diff --git a/conformance/ticket_created.json b/conformance/ticket_created.json index c413b8f..97a9788 100644 --- a/conformance/ticket_created.json +++ b/conformance/ticket_created.json @@ -40,7 +40,6 @@ }, "subject": { "id": "ticket-123", - "source": "/ticketing/system", "content": { "summary": "New CVE-123 detected", "ticketType": "task", diff --git a/conformance/ticket_updated.json b/conformance/ticket_updated.json index 96fe1da..0f9b371 100644 --- a/conformance/ticket_updated.json +++ b/conformance/ticket_updated.json @@ -40,7 +40,6 @@ }, "subject": { "id": "ticket-123", - "source": "/ticketing/system", "content": { "summary": "New CVE-123 detected", "ticketType": "task", diff --git a/custom/conformance.json b/custom/conformance.json index 60dc135..97aced4 100644 --- a/custom/conformance.json +++ b/custom/conformance.json @@ -41,7 +41,6 @@ }, "subject": { "id": "pkg:resource/name@234fd47e07d1004f0aed9c", - "source": "/event/source/123", "content": { "user": "mybot-myapp", "description": "a useful resource", diff --git a/custom/schema.json b/custom/schema.json index 9765905..fdb9ab5 100644 --- a/custom/schema.json +++ b/custom/schema.json @@ -52,13 +52,9 @@ "properties": { "id": { "type": "string", + "format": "uri-reference", "minLength": 1 }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" - }, "content": { "type": "object", "additionalProperties": true diff --git a/links.md b/links.md index 2a35fff..721682e 100644 --- a/links.md +++ b/links.md @@ -181,7 +181,6 @@ systems to act accordingly based off the ending notation. }, "subject": { "id": "mySubject123", - "source": "/event/source/123", "content": { "pipelineName": "myPipeline", "uri": "https://www.example.com/mySubject123" @@ -215,7 +214,6 @@ further, we can allow for a path link between `pipelinerun.queued` to the }, "subject": { "id": "mySubject123", - "source": "/event/source/123", "content": { "pipelineName": "myPipeline", "uri": "https://www.example.com/mySubject123" @@ -380,8 +378,7 @@ help explain the overall flow using payloads from CDEvents. "type": "change", "content": { "repository": { - "id": "cdevents/service", - "source": "https://github.com/cdevents/service/pull/1234" + "id": "https://github.com/cdevents/service" } } } @@ -426,7 +423,6 @@ sender generates this id. }, "subject": { "id": "mySubject123", - "source": "/event/source/123", "content": { "pipelineName": "myPipeline", "uri": "https://www.example.com/mySubject123" diff --git a/schemas/artifactdeleted.json b/schemas/artifactdeleted.json index 8e45138..9de4d57 100644 --- a/schemas/artifactdeleted.json +++ b/schemas/artifactdeleted.json @@ -55,13 +55,9 @@ "properties": { "id": { "type": "string", + "format": "uri-reference", "minLength": 1 }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" - }, "content": { "properties": { "user": { diff --git a/schemas/artifactdownloaded.json b/schemas/artifactdownloaded.json index 58e8935..00d5d44 100644 --- a/schemas/artifactdownloaded.json +++ b/schemas/artifactdownloaded.json @@ -55,13 +55,9 @@ "properties": { "id": { "type": "string", + "format": "uri-reference", "minLength": 1 }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" - }, "content": { "properties": { "user": { diff --git a/schemas/artifactpackaged.json b/schemas/artifactpackaged.json index 504d900..046839b 100644 --- a/schemas/artifactpackaged.json +++ b/schemas/artifactpackaged.json @@ -55,13 +55,9 @@ "properties": { "id": { "type": "string", + "format": "uri-reference", "minLength": 1 }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" - }, "content": { "properties": { "change": { @@ -69,11 +65,6 @@ "id": { "type": "string", "minLength": 1 - }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" } }, "additionalProperties": false, diff --git a/schemas/artifactpublished.json b/schemas/artifactpublished.json index 8000522..6b9bc07 100644 --- a/schemas/artifactpublished.json +++ b/schemas/artifactpublished.json @@ -55,13 +55,9 @@ "properties": { "id": { "type": "string", + "format": "uri-reference", "minLength": 1 }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" - }, "content": { "properties": { "sbom": { diff --git a/schemas/artifactsigned.json b/schemas/artifactsigned.json index 15798d1..a3c8d8e 100644 --- a/schemas/artifactsigned.json +++ b/schemas/artifactsigned.json @@ -55,13 +55,9 @@ "properties": { "id": { "type": "string", + "format": "uri-reference", "minLength": 1 }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" - }, "content": { "properties": { "signature": { diff --git a/schemas/branchcreated.json b/schemas/branchcreated.json index 0e09174..3f6d0aa 100644 --- a/schemas/branchcreated.json +++ b/schemas/branchcreated.json @@ -55,13 +55,9 @@ "properties": { "id": { "type": "string", + "format": "uri-reference", "minLength": 1 }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" - }, "content": { "properties": { "repository": { @@ -69,11 +65,6 @@ "id": { "type": "string", "minLength": 1 - }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" } }, "additionalProperties": false, diff --git a/schemas/branchdeleted.json b/schemas/branchdeleted.json index dd4cdd3..67101a1 100644 --- a/schemas/branchdeleted.json +++ b/schemas/branchdeleted.json @@ -55,13 +55,9 @@ "properties": { "id": { "type": "string", + "format": "uri-reference", "minLength": 1 }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" - }, "content": { "properties": { "repository": { @@ -69,11 +65,6 @@ "id": { "type": "string", "minLength": 1 - }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" } }, "additionalProperties": false, diff --git a/schemas/buildfinished.json b/schemas/buildfinished.json index 3dfcf5e..d3bf9fc 100644 --- a/schemas/buildfinished.json +++ b/schemas/buildfinished.json @@ -55,13 +55,9 @@ "properties": { "id": { "type": "string", + "format": "uri-reference", "minLength": 1 }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" - }, "content": { "properties": { "artifactId": { diff --git a/schemas/buildqueued.json b/schemas/buildqueued.json index 314bea3..767dfe1 100644 --- a/schemas/buildqueued.json +++ b/schemas/buildqueued.json @@ -55,13 +55,9 @@ "properties": { "id": { "type": "string", + "format": "uri-reference", "minLength": 1 }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" - }, "content": { "properties": {}, "additionalProperties": false, diff --git a/schemas/buildstarted.json b/schemas/buildstarted.json index 5669b72..1386ce6 100644 --- a/schemas/buildstarted.json +++ b/schemas/buildstarted.json @@ -55,13 +55,9 @@ "properties": { "id": { "type": "string", + "format": "uri-reference", "minLength": 1 }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" - }, "content": { "properties": {}, "additionalProperties": false, diff --git a/schemas/changeabandoned.json b/schemas/changeabandoned.json index 576cab8..12a1555 100644 --- a/schemas/changeabandoned.json +++ b/schemas/changeabandoned.json @@ -55,13 +55,9 @@ "properties": { "id": { "type": "string", + "format": "uri-reference", "minLength": 1 }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" - }, "content": { "properties": { "repository": { @@ -69,11 +65,6 @@ "id": { "type": "string", "minLength": 1 - }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" } }, "additionalProperties": false, diff --git a/schemas/changecreated.json b/schemas/changecreated.json index 95e93eb..432f98a 100644 --- a/schemas/changecreated.json +++ b/schemas/changecreated.json @@ -55,13 +55,9 @@ "properties": { "id": { "type": "string", + "format": "uri-reference", "minLength": 1 }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" - }, "content": { "properties": { "description": { @@ -73,11 +69,6 @@ "id": { "type": "string", "minLength": 1 - }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" } }, "additionalProperties": false, diff --git a/schemas/changemerged.json b/schemas/changemerged.json index dacb822..2893095 100644 --- a/schemas/changemerged.json +++ b/schemas/changemerged.json @@ -55,13 +55,9 @@ "properties": { "id": { "type": "string", + "format": "uri-reference", "minLength": 1 }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" - }, "content": { "properties": { "repository": { @@ -69,11 +65,6 @@ "id": { "type": "string", "minLength": 1 - }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" } }, "additionalProperties": false, diff --git a/schemas/changereviewed.json b/schemas/changereviewed.json index f4c900b..58edc13 100644 --- a/schemas/changereviewed.json +++ b/schemas/changereviewed.json @@ -55,13 +55,9 @@ "properties": { "id": { "type": "string", + "format": "uri-reference", "minLength": 1 }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" - }, "content": { "properties": { "repository": { @@ -69,11 +65,6 @@ "id": { "type": "string", "minLength": 1 - }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" } }, "additionalProperties": false, diff --git a/schemas/changeupdated.json b/schemas/changeupdated.json index 38ddb92..298b875 100644 --- a/schemas/changeupdated.json +++ b/schemas/changeupdated.json @@ -55,13 +55,9 @@ "properties": { "id": { "type": "string", + "format": "uri-reference", "minLength": 1 }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" - }, "content": { "properties": { "repository": { @@ -69,11 +65,6 @@ "id": { "type": "string", "minLength": 1 - }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" } }, "additionalProperties": false, diff --git a/schemas/environmentcreated.json b/schemas/environmentcreated.json index 9dca186..30095cf 100644 --- a/schemas/environmentcreated.json +++ b/schemas/environmentcreated.json @@ -55,13 +55,9 @@ "properties": { "id": { "type": "string", + "format": "uri-reference", "minLength": 1 }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" - }, "content": { "properties": { "name": { diff --git a/schemas/environmentdeleted.json b/schemas/environmentdeleted.json index c253934..03905f7 100644 --- a/schemas/environmentdeleted.json +++ b/schemas/environmentdeleted.json @@ -55,13 +55,9 @@ "properties": { "id": { "type": "string", + "format": "uri-reference", "minLength": 1 }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" - }, "content": { "properties": { "name": { diff --git a/schemas/environmentmodified.json b/schemas/environmentmodified.json index 2cf3175..cd36a17 100644 --- a/schemas/environmentmodified.json +++ b/schemas/environmentmodified.json @@ -55,13 +55,9 @@ "properties": { "id": { "type": "string", + "format": "uri-reference", "minLength": 1 }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" - }, "content": { "properties": { "name": { diff --git a/schemas/incidentdetected.json b/schemas/incidentdetected.json index f268f5c..8ffed5d 100644 --- a/schemas/incidentdetected.json +++ b/schemas/incidentdetected.json @@ -55,13 +55,9 @@ "properties": { "id": { "type": "string", + "format": "uri-reference", "minLength": 1 }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" - }, "content": { "properties": { "description": { @@ -72,11 +68,6 @@ "id": { "type": "string", "minLength": 1 - }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" } }, "additionalProperties": false, @@ -90,11 +81,6 @@ "id": { "type": "string", "minLength": 1 - }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" } }, "additionalProperties": false, diff --git a/schemas/incidentreported.json b/schemas/incidentreported.json index 192fc8c..789ca83 100644 --- a/schemas/incidentreported.json +++ b/schemas/incidentreported.json @@ -55,13 +55,9 @@ "properties": { "id": { "type": "string", + "format": "uri-reference", "minLength": 1 }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" - }, "content": { "properties": { "description": { @@ -72,11 +68,6 @@ "id": { "type": "string", "minLength": 1 - }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" } }, "additionalProperties": false, @@ -95,11 +86,6 @@ "id": { "type": "string", "minLength": 1 - }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" } }, "additionalProperties": false, diff --git a/schemas/incidentresolved.json b/schemas/incidentresolved.json index edaf13d..6cce16c 100644 --- a/schemas/incidentresolved.json +++ b/schemas/incidentresolved.json @@ -55,13 +55,9 @@ "properties": { "id": { "type": "string", + "format": "uri-reference", "minLength": 1 }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" - }, "content": { "properties": { "description": { @@ -72,11 +68,6 @@ "id": { "type": "string", "minLength": 1 - }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" } }, "additionalProperties": false, @@ -90,11 +81,6 @@ "id": { "type": "string", "minLength": 1 - }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" } }, "additionalProperties": false, diff --git a/schemas/pipelinerunfinished.json b/schemas/pipelinerunfinished.json index 35d8b4d..9273f33 100644 --- a/schemas/pipelinerunfinished.json +++ b/schemas/pipelinerunfinished.json @@ -47,13 +47,9 @@ "properties": { "id": { "type": "string", + "format": "uri-reference", "minLength": 1 }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" - }, "content": { "properties": { "pipelineName": { diff --git a/schemas/pipelinerunqueued.json b/schemas/pipelinerunqueued.json index 18d9067..06e98b0 100644 --- a/schemas/pipelinerunqueued.json +++ b/schemas/pipelinerunqueued.json @@ -55,13 +55,9 @@ "properties": { "id": { "type": "string", + "format": "uri-reference", "minLength": 1 }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" - }, "content": { "properties": { "pipelineName": { diff --git a/schemas/pipelinerunstarted.json b/schemas/pipelinerunstarted.json index 04c16cd..9c3e427 100644 --- a/schemas/pipelinerunstarted.json +++ b/schemas/pipelinerunstarted.json @@ -59,13 +59,9 @@ "properties": { "id": { "type": "string", + "format": "uri-reference", "minLength": 1 }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" - }, "content": { "properties": { "pipelineName": { diff --git a/schemas/repositorycreated.json b/schemas/repositorycreated.json index 8583295..4c327f8 100644 --- a/schemas/repositorycreated.json +++ b/schemas/repositorycreated.json @@ -55,13 +55,9 @@ "properties": { "id": { "type": "string", + "format": "uri-reference", "minLength": 1 }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" - }, "content": { "properties": { "name": { @@ -116,4 +112,4 @@ "context", "subject" ] -} \ No newline at end of file +} diff --git a/schemas/repositorydeleted.json b/schemas/repositorydeleted.json index 09c4b7e..3140de1 100644 --- a/schemas/repositorydeleted.json +++ b/schemas/repositorydeleted.json @@ -55,13 +55,9 @@ "properties": { "id": { "type": "string", + "format": "uri-reference", "minLength": 1 }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" - }, "content": { "properties": { "name": { diff --git a/schemas/repositorymodified.json b/schemas/repositorymodified.json index f4b5ea9..02cb478 100644 --- a/schemas/repositorymodified.json +++ b/schemas/repositorymodified.json @@ -55,13 +55,9 @@ "properties": { "id": { "type": "string", + "format": "uri-reference", "minLength": 1 }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" - }, "content": { "properties": { "name": { diff --git a/schemas/servicedeployed.json b/schemas/servicedeployed.json index 0832019..e530db0 100644 --- a/schemas/servicedeployed.json +++ b/schemas/servicedeployed.json @@ -55,13 +55,9 @@ "properties": { "id": { "type": "string", + "format": "uri-reference", "minLength": 1 }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" - }, "content": { "properties": { "environment": { @@ -69,11 +65,6 @@ "id": { "type": "string", "minLength": 1 - }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" } }, "additionalProperties": false, diff --git a/schemas/servicepublished.json b/schemas/servicepublished.json index 6baeb47..6ceab8e 100644 --- a/schemas/servicepublished.json +++ b/schemas/servicepublished.json @@ -55,13 +55,9 @@ "properties": { "id": { "type": "string", + "format": "uri-reference", "minLength": 1 }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" - }, "content": { "properties": { "environment": { @@ -69,11 +65,6 @@ "id": { "type": "string", "minLength": 1 - }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" } }, "additionalProperties": false, diff --git a/schemas/serviceremoved.json b/schemas/serviceremoved.json index b0cd26e..d419d08 100644 --- a/schemas/serviceremoved.json +++ b/schemas/serviceremoved.json @@ -55,13 +55,9 @@ "properties": { "id": { "type": "string", + "format": "uri-reference", "minLength": 1 }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" - }, "content": { "properties": { "environment": { @@ -69,11 +65,6 @@ "id": { "type": "string", "minLength": 1 - }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" } }, "additionalProperties": false, diff --git a/schemas/servicerolledback.json b/schemas/servicerolledback.json index b6acb00..9ce5677 100644 --- a/schemas/servicerolledback.json +++ b/schemas/servicerolledback.json @@ -55,13 +55,9 @@ "properties": { "id": { "type": "string", + "format": "uri-reference", "minLength": 1 }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" - }, "content": { "properties": { "environment": { @@ -69,11 +65,6 @@ "id": { "type": "string", "minLength": 1 - }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" } }, "additionalProperties": false, diff --git a/schemas/serviceupgraded.json b/schemas/serviceupgraded.json index 5021561..bb6737f 100644 --- a/schemas/serviceupgraded.json +++ b/schemas/serviceupgraded.json @@ -55,13 +55,9 @@ "properties": { "id": { "type": "string", + "format": "uri-reference", "minLength": 1 }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" - }, "content": { "properties": { "environment": { @@ -69,11 +65,6 @@ "id": { "type": "string", "minLength": 1 - }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" } }, "additionalProperties": false, diff --git a/schemas/taskrunfinished.json b/schemas/taskrunfinished.json index 580e707..27b82d7 100644 --- a/schemas/taskrunfinished.json +++ b/schemas/taskrunfinished.json @@ -55,13 +55,9 @@ "properties": { "id": { "type": "string", + "format": "uri-reference", "minLength": 1 }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" - }, "content": { "properties": { "taskName": { @@ -76,11 +72,6 @@ "id": { "type": "string", "minLength": 1 - }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" } }, "additionalProperties": false, diff --git a/schemas/taskrunstarted.json b/schemas/taskrunstarted.json index 84bfc33..1280c15 100644 --- a/schemas/taskrunstarted.json +++ b/schemas/taskrunstarted.json @@ -55,13 +55,9 @@ "properties": { "id": { "type": "string", + "format": "uri-reference", "minLength": 1 }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" - }, "content": { "properties": { "taskName": { @@ -76,11 +72,6 @@ "id": { "type": "string", "minLength": 1 - }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" } }, "additionalProperties": false, diff --git a/schemas/testcaserunfinished.json b/schemas/testcaserunfinished.json index 00303aa..5ff5540 100644 --- a/schemas/testcaserunfinished.json +++ b/schemas/testcaserunfinished.json @@ -69,11 +69,6 @@ "id": { "type": "string", "minLength": 1 - }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" } }, "additionalProperties": false, diff --git a/schemas/testcaserunqueued.json b/schemas/testcaserunqueued.json index 06d15c2..717087b 100644 --- a/schemas/testcaserunqueued.json +++ b/schemas/testcaserunqueued.json @@ -85,11 +85,6 @@ "id": { "type": "string", "minLength": 1 - }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" } }, "additionalProperties": false, diff --git a/schemas/testcaserunskipped.json b/schemas/testcaserunskipped.json index 2a09673..f6dce30 100644 --- a/schemas/testcaserunskipped.json +++ b/schemas/testcaserunskipped.json @@ -69,11 +69,6 @@ "id": { "type": "string", "minLength": 1 - }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" } }, "additionalProperties": false, diff --git a/schemas/testcaserunstarted.json b/schemas/testcaserunstarted.json index 72f4c7f..591f731 100644 --- a/schemas/testcaserunstarted.json +++ b/schemas/testcaserunstarted.json @@ -85,11 +85,6 @@ "id": { "type": "string", "minLength": 1 - }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" } }, "additionalProperties": false, diff --git a/schemas/testsuiterunfinished.json b/schemas/testsuiterunfinished.json index 3725cad..625c7fb 100644 --- a/schemas/testsuiterunfinished.json +++ b/schemas/testsuiterunfinished.json @@ -58,11 +58,6 @@ "id": { "type": "string", "minLength": 1 - }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" } }, "additionalProperties": false, diff --git a/schemas/testsuiterunqueued.json b/schemas/testsuiterunqueued.json index d894d29..b2e95c5 100644 --- a/schemas/testsuiterunqueued.json +++ b/schemas/testsuiterunqueued.json @@ -85,11 +85,6 @@ "id": { "type": "string", "minLength": 1 - }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" } }, "additionalProperties": false, diff --git a/schemas/testsuiterunstarted.json b/schemas/testsuiterunstarted.json index 5154c47..c9a71bd 100644 --- a/schemas/testsuiterunstarted.json +++ b/schemas/testsuiterunstarted.json @@ -85,11 +85,6 @@ "id": { "type": "string", "minLength": 1 - }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" } }, "additionalProperties": false, diff --git a/schemas/ticketcreated.json b/schemas/ticketcreated.json index f001d69..d8962b9 100644 --- a/schemas/ticketcreated.json +++ b/schemas/ticketcreated.json @@ -55,13 +55,9 @@ "properties": { "id": { "type": "string", + "format": "uri-reference", "minLength": 1 }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" - }, "content": { "properties": { "summary": { diff --git a/schemas/ticketupdated.json b/schemas/ticketupdated.json index d731b4d..1890971 100644 --- a/schemas/ticketupdated.json +++ b/schemas/ticketupdated.json @@ -55,13 +55,9 @@ "properties": { "id": { "type": "string", + "format": "uri-reference", "minLength": 1 }, - "source": { - "type": "string", - "minLength": 1, - "format": "uri-reference" - }, "content": { "properties": { "summary": { diff --git a/spec.md b/spec.md index 0927ed4..1672cb0 100644 --- a/spec.md +++ b/spec.md @@ -40,8 +40,6 @@ CDEvents is a common specification for Continuous Delivery events. - [REQUIRED Subject Attributes](#required-subject-attributes) - [id (subject)](#id-subject) - [content](#content) - - [OPTIONAL Subject Attributes](#optional-subject-attributes) - - [source (subject)](#source-subject) - [Subject example](#subject-example) - [CDEvents custom data](#cdevents-custom-data) - [OPTIONAL Custom Data attributes](#optional-custom-data-attributes) @@ -389,18 +387,31 @@ defined in the [vocabulary](#vocabulary): #### id (subject) -- Type: [`String`][typesystem] +- Type: [`URI-Reference`][typesystem] - Description: Identifier for a subject. Subsequent events associated to the same subject MUST use the same subject [`id`](#id-subject). - Constraints: - REQUIRED - - MUST be a non-empty string - - MUST be unique within the given [`source`](#source-subject) (in the scope of - the producer) + - MUST be a non-empty URI-reference + - MUST be unique + - An absolute URI is RECOMMENDED + - A URI to access the subject via API is RECOMMENDED over a human-facing frontend URL - Examples: - - A [UUID version 4](https://en.wikipedia.org/wiki/Universally_unique_identifier#Version_4_(random)) + - An absolute URI + - `https://api.github.com/repos/my-org/my-repo/actions/runs/11111111111` + - An organization scoped PATH + - `/my-cluster/my-region/dev` + - `/my-namespace/my-deployment/my-container` + - `/teamX/knative-1` + - A [Uniform Resource Name (URN)](https://en.wikipedia.org/wiki/Uniform_Resource_Name) + - `urn:uuid:6e8bc430-9c3a-11d9-9669-0800200c9a66` + - A [UUID version 4](https://en.wikipedia.org/wiki/Universally_unique_identifier#Version_4_(random)) or version 7 + - A [Content Identifiers (CIDs) | IPFS Docs](https://docs.ipfs.tech/concepts/content-addressing/#what-is-a-cid) + +> [!NOTE] +> Migration from spec 0.5 and below by merging the previous `subject.source` into `subject.id`: `subject.id = "${subject.source}/${subject.id}"` #### content @@ -426,20 +437,6 @@ defined in the [vocabulary](#vocabulary): } ``` -### OPTIONAL Subject Attributes - -#### source (subject) - -- Type: [`URI-Reference`][typesystem] -- Description: defines the context in which the subject originated. In most - cases the [`source`](#source-subject) of the subject matches the - [`source`](#source-context) of the event. This field should be used only in - cases where the [`source`](#source-subject) of the *subject* is different from - the [`source`](#source-context) of the event. - - The format and semantic of the *subject* [`source`](#source-subject) are the - same of those of the *context* [`source`](#source-context). - ### Subject example The following example shows `context` and `subject` together, rendered as JSON. @@ -454,13 +451,12 @@ The following example shows `context` and `subject` together, rendered as JSON. "timestamp" : "2018-04-05T17:31:00Z" }, "subject" : { - "id": "my-taskrun-123", + "id": "https://my-server/apis/tekton.dev/v1beta1/namespaces/default/taskruns/my-taskrun-123", "content": { "task": "my-task", - "uri": "/apis/tekton.dev/v1beta1/namespaces/default/taskruns/my-taskrun-123", + "uri": "https://my-server/apis/tekton.dev/v1beta1/namespaces/default/taskruns/my-taskrun-123", "pipelineRun": { - "id": "my-distributed-pipelinerun", - "source": "/tenant1/tekton/" + "id": "https://my-server/tenant1/tekton/my-distributed-pipelinerun", } } }