diff --git a/cloudevents-binding.md b/cloudevents-binding.md index 360167e3..8c3656f4 100644 --- a/cloudevents-binding.md +++ b/cloudevents-binding.md @@ -102,7 +102,7 @@ Content-Length: nnnn { "context": { - "version": "0.3.0-draft", + "version": "0.3.0", "id" : "A234-1234-1234", "source" : "/staging/tekton/", "type" : "dev.cdevents.taskrun.started", diff --git a/continuous-integration.md b/continuous-integration.md index 6bb2480f..148773e3 100644 --- a/continuous-integration.md +++ b/continuous-integration.md @@ -127,7 +127,7 @@ The event represents an artifact that has been published and it can be advertise The event represents an artifact that has been signed. The signature is included in the events itself. An artifact may be signed after it has been packaged or sometimes after it has published, depending on the tooling being used and the type of artifact. -- Event Type: __`dev.cdevents.artifact.signed.0.1.0-draft`__ +- Event Type: __`dev.cdevents.artifact.signed.0.1.0`__ - Predicate: signed - Subject: [`artifact`](#artifact) diff --git a/examples/artifact_packaged.json b/examples/artifact_packaged.json index 1354ac3a..e4d1d611 100644 --- a/examples/artifact_packaged.json +++ b/examples/artifact_packaged.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.3.0-draft", + "version": "0.3.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "/event/source/123", "type": "dev.cdevents.artifact.packaged.0.1.1", diff --git a/examples/artifact_published.json b/examples/artifact_published.json index b8f0f50a..90bc837f 100644 --- a/examples/artifact_published.json +++ b/examples/artifact_published.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.3.0-draft", + "version": "0.3.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "/event/source/123", "type": "dev.cdevents.artifact.published.0.1.1", diff --git a/examples/artifact_signed.json b/examples/artifact_signed.json index 9837c085..203c6df6 100644 --- a/examples/artifact_signed.json +++ b/examples/artifact_signed.json @@ -1,9 +1,9 @@ { "context": { - "version": "0.3.0-draft", + "version": "0.3.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "/event/source/123", - "type": "dev.cdevents.artifact.signed.0.1.0-draft", + "type": "dev.cdevents.artifact.signed.0.1.0", "timestamp": "2023-03-20T14:27:05.315384Z" }, "subject": { diff --git a/examples/branch_created.json b/examples/branch_created.json index 746f0de0..d4a6fb5c 100644 --- a/examples/branch_created.json +++ b/examples/branch_created.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.3.0-draft", + "version": "0.3.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "/event/source/123", "type": "dev.cdevents.branch.created.0.1.2", diff --git a/examples/branch_deleted.json b/examples/branch_deleted.json index 1351366e..d22e0b9d 100644 --- a/examples/branch_deleted.json +++ b/examples/branch_deleted.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.3.0-draft", + "version": "0.3.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "/event/source/123", "type": "dev.cdevents.branch.deleted.0.1.2", diff --git a/examples/build_finished.json b/examples/build_finished.json index 334d4352..161230b9 100644 --- a/examples/build_finished.json +++ b/examples/build_finished.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.3.0-draft", + "version": "0.3.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "/event/source/123", "type": "dev.cdevents.build.finished.0.1.1", diff --git a/examples/build_queued.json b/examples/build_queued.json index 6c27a38f..bde06bd2 100644 --- a/examples/build_queued.json +++ b/examples/build_queued.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.3.0-draft", + "version": "0.3.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "/event/source/123", "type": "dev.cdevents.build.queued.0.1.1", diff --git a/examples/build_started.json b/examples/build_started.json index 5ddc5a92..98ccc8d5 100644 --- a/examples/build_started.json +++ b/examples/build_started.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.3.0-draft", + "version": "0.3.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "/event/source/123", "type": "dev.cdevents.build.started.0.1.1", diff --git a/examples/change_abandoned.json b/examples/change_abandoned.json index ee0d12c8..f6bfed44 100644 --- a/examples/change_abandoned.json +++ b/examples/change_abandoned.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.3.0-draft", + "version": "0.3.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "/event/source/123", "type": "dev.cdevents.change.abandoned.0.1.2", diff --git a/examples/change_created.json b/examples/change_created.json index 1040d0be..696f7243 100644 --- a/examples/change_created.json +++ b/examples/change_created.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.3.0-draft", + "version": "0.3.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "/event/source/123", "type": "dev.cdevents.change.created.0.1.2", diff --git a/examples/change_merged.json b/examples/change_merged.json index ba80c824..a8419c7a 100644 --- a/examples/change_merged.json +++ b/examples/change_merged.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.3.0-draft", + "version": "0.3.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "/event/source/123", "type": "dev.cdevents.change.merged.0.1.2", diff --git a/examples/change_reviewed.json b/examples/change_reviewed.json index d68918f0..f9ac5b1d 100644 --- a/examples/change_reviewed.json +++ b/examples/change_reviewed.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.3.0-draft", + "version": "0.3.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "/event/source/123", "type": "dev.cdevents.change.reviewed.0.1.2", diff --git a/examples/change_updated.json b/examples/change_updated.json index 6769a15c..e2375feb 100644 --- a/examples/change_updated.json +++ b/examples/change_updated.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.3.0-draft", + "version": "0.3.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "/event/source/123", "type": "dev.cdevents.change.updated.0.1.2", diff --git a/examples/environment_created.json b/examples/environment_created.json index 5bd93d4d..49154a6f 100644 --- a/examples/environment_created.json +++ b/examples/environment_created.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.3.0-draft", + "version": "0.3.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "/event/source/123", "type": "dev.cdevents.environment.created.0.1.1", diff --git a/examples/environment_deleted.json b/examples/environment_deleted.json index a0cc0eab..82ed4432 100644 --- a/examples/environment_deleted.json +++ b/examples/environment_deleted.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.3.0-draft", + "version": "0.3.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "/event/source/123", "type": "dev.cdevents.environment.deleted.0.1.1", diff --git a/examples/environment_modified.json b/examples/environment_modified.json index 042cecfe..5e5611e4 100644 --- a/examples/environment_modified.json +++ b/examples/environment_modified.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.3.0-draft", + "version": "0.3.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "/event/source/123", "type": "dev.cdevents.environment.modified.0.1.1", diff --git a/examples/incident_detected.json b/examples/incident_detected.json index 01deda94..351dfd22 100644 --- a/examples/incident_detected.json +++ b/examples/incident_detected.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.3.0-draft", + "version": "0.3.0", "id": "F4BD2B55-B6F6-4F44-AF72-BD2D0E7A8708", "source": "/monitoring/prod1", "type": "dev.cdevents.incident.detected.0.1.0", diff --git a/examples/incident_reported.json b/examples/incident_reported.json index 30bb53b3..6b983b86 100644 --- a/examples/incident_reported.json +++ b/examples/incident_reported.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.3.0-draft", + "version": "0.3.0", "id": "F4BD2B55-B6F6-4F44-AF72-BD2D0E7A8708", "source": "/monitoring/prod1", "type": "dev.cdevents.incident.reported.0.1.0", diff --git a/examples/incident_resolved.json b/examples/incident_resolved.json index de764efe..b6e8d05f 100644 --- a/examples/incident_resolved.json +++ b/examples/incident_resolved.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.3.0-draft", + "version": "0.3.0", "id": "F4BD2B55-B6F6-4F44-AF72-BD2D0E7A8708", "source": "/monitoring/prod1", "type": "dev.cdevents.incident.resolved.0.1.0", diff --git a/examples/pipelinerun_finished.json b/examples/pipelinerun_finished.json index dbeac96d..bee10e64 100644 --- a/examples/pipelinerun_finished.json +++ b/examples/pipelinerun_finished.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.3.0-draft", + "version": "0.3.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "/event/source/123", "type": "dev.cdevents.pipelinerun.finished.0.1.1", diff --git a/examples/pipelinerun_queued.json b/examples/pipelinerun_queued.json index 6b239bdb..b62aad41 100644 --- a/examples/pipelinerun_queued.json +++ b/examples/pipelinerun_queued.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.3.0-draft", + "version": "0.3.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "/event/source/123", "type": "dev.cdevents.pipelinerun.queued.0.1.1", diff --git a/examples/pipelinerun_started.json b/examples/pipelinerun_started.json index 8388c8a6..0c5f0f91 100644 --- a/examples/pipelinerun_started.json +++ b/examples/pipelinerun_started.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.3.0-draft", + "version": "0.3.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "/event/source/123", "type": "dev.cdevents.pipelinerun.started.0.1.1", diff --git a/examples/repository_created.json b/examples/repository_created.json index c129c408..798acc22 100644 --- a/examples/repository_created.json +++ b/examples/repository_created.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.3.0-draft", + "version": "0.3.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "/event/source/123", "type": "dev.cdevents.repository.created.0.1.1", diff --git a/examples/repository_deleted.json b/examples/repository_deleted.json index c6c5f7d5..00284a6d 100644 --- a/examples/repository_deleted.json +++ b/examples/repository_deleted.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.3.0-draft", + "version": "0.3.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "/event/source/123", "type": "dev.cdevents.repository.deleted.0.1.1", diff --git a/examples/repository_modified.json b/examples/repository_modified.json index 7b53d3a7..bc58418f 100644 --- a/examples/repository_modified.json +++ b/examples/repository_modified.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.3.0-draft", + "version": "0.3.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "/event/source/123", "type": "dev.cdevents.repository.modified.0.1.1", diff --git a/examples/service_deployed.json b/examples/service_deployed.json index 563c5a8b..1e3b9ec1 100644 --- a/examples/service_deployed.json +++ b/examples/service_deployed.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.3.0-draft", + "version": "0.3.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "/event/source/123", "type": "dev.cdevents.service.deployed.0.1.1", diff --git a/examples/service_published.json b/examples/service_published.json index c9f1c308..a74462b8 100644 --- a/examples/service_published.json +++ b/examples/service_published.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.3.0-draft", + "version": "0.3.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "/event/source/123", "type": "dev.cdevents.service.published.0.1.1", diff --git a/examples/service_removed.json b/examples/service_removed.json index 79c3da7b..9e7caef9 100644 --- a/examples/service_removed.json +++ b/examples/service_removed.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.3.0-draft", + "version": "0.3.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "/event/source/123", "type": "dev.cdevents.service.removed.0.1.1", diff --git a/examples/service_rolledback.json b/examples/service_rolledback.json index b619c7ab..6e5fc218 100644 --- a/examples/service_rolledback.json +++ b/examples/service_rolledback.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.3.0-draft", + "version": "0.3.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "/event/source/123", "type": "dev.cdevents.service.rolledback.0.1.1", diff --git a/examples/service_upgraded.json b/examples/service_upgraded.json index 595d7733..39b0b310 100644 --- a/examples/service_upgraded.json +++ b/examples/service_upgraded.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.3.0-draft", + "version": "0.3.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "/event/source/123", "type": "dev.cdevents.service.upgraded.0.1.1", diff --git a/examples/taskrun_finished.json b/examples/taskrun_finished.json index 52aa3866..92170557 100644 --- a/examples/taskrun_finished.json +++ b/examples/taskrun_finished.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.3.0-draft", + "version": "0.3.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "/event/source/123", "type": "dev.cdevents.taskrun.finished.0.1.1", diff --git a/examples/taskrun_started.json b/examples/taskrun_started.json index c7f53d0c..8bb99e62 100644 --- a/examples/taskrun_started.json +++ b/examples/taskrun_started.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.3.0-draft", + "version": "0.3.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "/event/source/123", "type": "dev.cdevents.taskrun.started.0.1.1", diff --git a/examples/testcaserun_finished.json b/examples/testcaserun_finished.json index 2a349a23..54b82b61 100644 --- a/examples/testcaserun_finished.json +++ b/examples/testcaserun_finished.json @@ -1,9 +1,9 @@ { "context": { - "version": "0.3.0-draft", + "version": "0.3.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "/event/source/123", - "type": "dev.cdevents.testcaserun.finished.0.1.0-draft", + "type": "dev.cdevents.testcaserun.finished.0.1.0", "timestamp": "2023-03-20T14:27:05.315384Z" }, "subject": { diff --git a/examples/testcaserun_queued.json b/examples/testcaserun_queued.json index 6054b78c..e4aa43ed 100644 --- a/examples/testcaserun_queued.json +++ b/examples/testcaserun_queued.json @@ -1,9 +1,9 @@ { "context": { - "version": "0.3.0-draft", + "version": "0.3.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "/event/source/123", - "type": "dev.cdevents.testcaserun.queued.0.1.0-draft", + "type": "dev.cdevents.testcaserun.queued.0.1.0", "timestamp": "2023-03-20T14:27:05.315384Z" }, "subject": { diff --git a/examples/testcaserun_started.json b/examples/testcaserun_started.json index d48f5d69..3cfd2b83 100644 --- a/examples/testcaserun_started.json +++ b/examples/testcaserun_started.json @@ -1,9 +1,9 @@ { "context": { - "version": "0.3.0-draft", + "version": "0.3.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "/event/source/123", - "type": "dev.cdevents.testcaserun.started.0.1.0-draft", + "type": "dev.cdevents.testcaserun.started.0.1.0", "timestamp": "2023-03-20T14:27:05.315384Z" }, "subject": { diff --git a/examples/testoutput_published.json b/examples/testoutput_published.json index 7aa2fbe9..c318745e 100644 --- a/examples/testoutput_published.json +++ b/examples/testoutput_published.json @@ -1,9 +1,9 @@ { "context": { - "version": "0.3.0-draft", + "version": "0.3.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "/event/source/123", - "type": "dev.cdevents.testoutput.published.0.1.0-draft", + "type": "dev.cdevents.testoutput.published.0.1.0", "timestamp": "2023-03-20T14:27:05.315384Z" }, "subject": { diff --git a/examples/testsuiterun_finished.json b/examples/testsuiterun_finished.json index 7a4d1021..f76f3bb7 100644 --- a/examples/testsuiterun_finished.json +++ b/examples/testsuiterun_finished.json @@ -1,9 +1,9 @@ { "context": { - "version": "0.3.0-draft", + "version": "0.3.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "/event/source/123", - "type": "dev.cdevents.testsuiterun.finished.0.1.0-draft", + "type": "dev.cdevents.testsuiterun.finished.0.1.0", "timestamp": "2023-03-20T14:27:05.315384Z" }, "subject": { diff --git a/examples/testsuiterun_queued.json b/examples/testsuiterun_queued.json index fe3d1ee7..8938a4de 100644 --- a/examples/testsuiterun_queued.json +++ b/examples/testsuiterun_queued.json @@ -1,9 +1,9 @@ { "context": { - "version": "0.3.0-draft", + "version": "0.3.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "/event/source/123", - "type": "dev.cdevents.testsuiterun.queued.0.1.0-draft", + "type": "dev.cdevents.testsuiterun.queued.0.1.0", "timestamp": "2023-03-20T14:27:05.315384Z" }, "subject": { diff --git a/examples/testsuiterun_started.json b/examples/testsuiterun_started.json index 4c87895d..e9cba337 100644 --- a/examples/testsuiterun_started.json +++ b/examples/testsuiterun_started.json @@ -1,9 +1,9 @@ { "context": { - "version": "0.3.0-draft", + "version": "0.3.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "/event/source/123", - "type": "dev.cdevents.testsuiterun.started.0.1.0-draft", + "type": "dev.cdevents.testsuiterun.started.0.1.0", "timestamp": "2023-03-20T14:27:05.315384Z" }, "subject": { diff --git a/schemas/artifactpackaged.json b/schemas/artifactpackaged.json index 533b1f9c..a0051fb3 100644 --- a/schemas/artifactpackaged.json +++ b/schemas/artifactpackaged.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.3.0-draft/schema/artifact-packaged-event", + "$id": "https://cdevents.dev/0.3.0/schema/artifact-packaged-event", "properties": { "context": { "properties": { diff --git a/schemas/artifactpublished.json b/schemas/artifactpublished.json index c3fa379d..5dc27f47 100644 --- a/schemas/artifactpublished.json +++ b/schemas/artifactpublished.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.3.0-draft/schema/artifact-published-event", + "$id": "https://cdevents.dev/0.3.0/schema/artifact-published-event", "properties": { "context": { "properties": { diff --git a/schemas/artifactsigned.json b/schemas/artifactsigned.json index 8afcab32..86c6c68f 100644 --- a/schemas/artifactsigned.json +++ b/schemas/artifactsigned.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.3.0-draft/schema/artifact-signed-event", + "$id": "https://cdevents.dev/0.3.0/schema/artifact-signed-event", "properties": { "context": { "properties": { @@ -20,9 +20,9 @@ "type": { "type": "string", "enum": [ - "dev.cdevents.artifact.signed.0.1.0-draft" + "dev.cdevents.artifact.signed.0.1.0" ], - "default": "dev.cdevents.artifact.signed.0.1.0-draft" + "default": "dev.cdevents.artifact.signed.0.1.0" }, "timestamp": { "type": "string", diff --git a/schemas/branchcreated.json b/schemas/branchcreated.json index 142ab31e..2785ff83 100644 --- a/schemas/branchcreated.json +++ b/schemas/branchcreated.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.3.0-draft/schema/branch-created-event", + "$id": "https://cdevents.dev/0.3.0/schema/branch-created-event", "properties": { "context": { "properties": { diff --git a/schemas/branchdeleted.json b/schemas/branchdeleted.json index fe37d397..2d7d9c62 100644 --- a/schemas/branchdeleted.json +++ b/schemas/branchdeleted.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.3.0-draft/schema/branch-deleted-event", + "$id": "https://cdevents.dev/0.3.0/schema/branch-deleted-event", "properties": { "context": { "properties": { diff --git a/schemas/buildfinished.json b/schemas/buildfinished.json index 65cce3de..1bfba2d3 100644 --- a/schemas/buildfinished.json +++ b/schemas/buildfinished.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.3.0-draft/schema/build-finished-event", + "$id": "https://cdevents.dev/0.3.0/schema/build-finished-event", "properties": { "context": { "properties": { diff --git a/schemas/buildqueued.json b/schemas/buildqueued.json index a52a8875..0f9796d7 100644 --- a/schemas/buildqueued.json +++ b/schemas/buildqueued.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.3.0-draft/schema/build-queued-event", + "$id": "https://cdevents.dev/0.3.0/schema/build-queued-event", "properties": { "context": { "properties": { diff --git a/schemas/buildstarted.json b/schemas/buildstarted.json index aaec40bd..14bd9b4b 100644 --- a/schemas/buildstarted.json +++ b/schemas/buildstarted.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.3.0-draft/schema/build-started-event", + "$id": "https://cdevents.dev/0.3.0/schema/build-started-event", "properties": { "context": { "properties": { diff --git a/schemas/changeabandoned.json b/schemas/changeabandoned.json index 01c9f06a..3e09871d 100644 --- a/schemas/changeabandoned.json +++ b/schemas/changeabandoned.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.3.0-draft/schema/change-abandoned-event", + "$id": "https://cdevents.dev/0.3.0/schema/change-abandoned-event", "properties": { "context": { "properties": { diff --git a/schemas/changecreated.json b/schemas/changecreated.json index 1a465500..d12ae4c0 100644 --- a/schemas/changecreated.json +++ b/schemas/changecreated.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.3.0-draft/schema/change-created-event", + "$id": "https://cdevents.dev/0.3.0/schema/change-created-event", "properties": { "context": { "properties": { diff --git a/schemas/changemerged.json b/schemas/changemerged.json index 6d0875ae..dba358aa 100644 --- a/schemas/changemerged.json +++ b/schemas/changemerged.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.3.0-draft/schema/change-merged-event", + "$id": "https://cdevents.dev/0.3.0/schema/change-merged-event", "properties": { "context": { "properties": { diff --git a/schemas/changereviewed.json b/schemas/changereviewed.json index e712b961..09895a4d 100644 --- a/schemas/changereviewed.json +++ b/schemas/changereviewed.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.3.0-draft/schema/change-reviewed-event", + "$id": "https://cdevents.dev/0.3.0/schema/change-reviewed-event", "properties": { "context": { "properties": { diff --git a/schemas/changeupdated.json b/schemas/changeupdated.json index 6a0e2072..380adcbc 100644 --- a/schemas/changeupdated.json +++ b/schemas/changeupdated.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.3.0-draft/schema/change-updated-event", + "$id": "https://cdevents.dev/0.3.0/schema/change-updated-event", "properties": { "context": { "properties": { diff --git a/schemas/environmentcreated.json b/schemas/environmentcreated.json index fd74f71e..4e2748f7 100644 --- a/schemas/environmentcreated.json +++ b/schemas/environmentcreated.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.3.0-draft/schema/environment-created-event", + "$id": "https://cdevents.dev/0.3.0/schema/environment-created-event", "properties": { "context": { "properties": { diff --git a/schemas/environmentdeleted.json b/schemas/environmentdeleted.json index 051f5d5c..642b2540 100644 --- a/schemas/environmentdeleted.json +++ b/schemas/environmentdeleted.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.3.0-draft/schema/environment-deleted-event", + "$id": "https://cdevents.dev/0.3.0/schema/environment-deleted-event", "properties": { "context": { "properties": { diff --git a/schemas/environmentmodified.json b/schemas/environmentmodified.json index d036932c..995df8b1 100644 --- a/schemas/environmentmodified.json +++ b/schemas/environmentmodified.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.3.0-draft/schema/environment-modified-event", + "$id": "https://cdevents.dev/0.3.0/schema/environment-modified-event", "properties": { "context": { "properties": { diff --git a/schemas/incidentdetected.json b/schemas/incidentdetected.json index b42a4675..2d3c6d13 100644 --- a/schemas/incidentdetected.json +++ b/schemas/incidentdetected.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.3.0-draft/schema/incident-detected-event", + "$id": "https://cdevents.dev/0.3.0/schema/incident-detected-event", "properties": { "context": { "properties": { diff --git a/schemas/incidentreported.json b/schemas/incidentreported.json index 3329ab6c..7dc11ac4 100644 --- a/schemas/incidentreported.json +++ b/schemas/incidentreported.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.3.0-draft/schema/incident-reported-event", + "$id": "https://cdevents.dev/0.3.0/schema/incident-reported-event", "properties": { "context": { "properties": { diff --git a/schemas/incidentresolved.json b/schemas/incidentresolved.json index f79344bf..c409cf6f 100644 --- a/schemas/incidentresolved.json +++ b/schemas/incidentresolved.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.3.0-draft/schema/incident-resolved-event", + "$id": "https://cdevents.dev/0.3.0/schema/incident-resolved-event", "properties": { "context": { "properties": { diff --git a/schemas/pipelinerunfinished.json b/schemas/pipelinerunfinished.json index 6a1c8871..cc759b9e 100644 --- a/schemas/pipelinerunfinished.json +++ b/schemas/pipelinerunfinished.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.3.0-draft/schema/pipeline-run-finished-event", + "$id": "https://cdevents.dev/0.3.0/schema/pipeline-run-finished-event", "properties": { "context": { "properties": { diff --git a/schemas/pipelinerunqueued.json b/schemas/pipelinerunqueued.json index 6d3df24e..18e11305 100644 --- a/schemas/pipelinerunqueued.json +++ b/schemas/pipelinerunqueued.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.3.0-draft/schema/pipeline-run-queued-event", + "$id": "https://cdevents.dev/0.3.0/schema/pipeline-run-queued-event", "properties": { "context": { "properties": { diff --git a/schemas/pipelinerunstarted.json b/schemas/pipelinerunstarted.json index 489dee94..d58024b0 100644 --- a/schemas/pipelinerunstarted.json +++ b/schemas/pipelinerunstarted.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.3.0-draft/schema/pipeline-run-started-event", + "$id": "https://cdevents.dev/0.3.0/schema/pipeline-run-started-event", "properties": { "context": { "properties": { diff --git a/schemas/repositorycreated.json b/schemas/repositorycreated.json index 8eacd4bb..45a8e2cb 100644 --- a/schemas/repositorycreated.json +++ b/schemas/repositorycreated.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.3.0-draft/schema/repository-created-event", + "$id": "https://cdevents.dev/0.3.0/schema/repository-created-event", "properties": { "context": { "properties": { diff --git a/schemas/repositorydeleted.json b/schemas/repositorydeleted.json index 5dc72bbf..b9f45517 100644 --- a/schemas/repositorydeleted.json +++ b/schemas/repositorydeleted.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.3.0-draft/schema/repository-deleted-event", + "$id": "https://cdevents.dev/0.3.0/schema/repository-deleted-event", "properties": { "context": { "properties": { diff --git a/schemas/repositorymodified.json b/schemas/repositorymodified.json index 14329e6f..5a837d12 100644 --- a/schemas/repositorymodified.json +++ b/schemas/repositorymodified.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.3.0-draft/schema/repository-modified-event", + "$id": "https://cdevents.dev/0.3.0/schema/repository-modified-event", "properties": { "context": { "properties": { diff --git a/schemas/servicedeployed.json b/schemas/servicedeployed.json index b1d6ce4d..90f2fb67 100644 --- a/schemas/servicedeployed.json +++ b/schemas/servicedeployed.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.3.0-draft/schema/service-deployed-event", + "$id": "https://cdevents.dev/0.3.0/schema/service-deployed-event", "properties": { "context": { "properties": { diff --git a/schemas/servicepublished.json b/schemas/servicepublished.json index b1a17775..997f9a9c 100644 --- a/schemas/servicepublished.json +++ b/schemas/servicepublished.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.3.0-draft/schema/service-published-event", + "$id": "https://cdevents.dev/0.3.0/schema/service-published-event", "properties": { "context": { "properties": { diff --git a/schemas/serviceremoved.json b/schemas/serviceremoved.json index 494aea6e..862f1473 100644 --- a/schemas/serviceremoved.json +++ b/schemas/serviceremoved.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.3.0-draft/schema/service-removed-event", + "$id": "https://cdevents.dev/0.3.0/schema/service-removed-event", "properties": { "context": { "properties": { diff --git a/schemas/servicerolledback.json b/schemas/servicerolledback.json index d52975ec..ae9aeeda 100644 --- a/schemas/servicerolledback.json +++ b/schemas/servicerolledback.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.3.0-draft/schema/service-rolledback-event", + "$id": "https://cdevents.dev/0.3.0/schema/service-rolledback-event", "properties": { "context": { "properties": { diff --git a/schemas/serviceupgraded.json b/schemas/serviceupgraded.json index 4111ff66..29818419 100644 --- a/schemas/serviceupgraded.json +++ b/schemas/serviceupgraded.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.3.0-draft/schema/service-upgraded-event", + "$id": "https://cdevents.dev/0.3.0/schema/service-upgraded-event", "properties": { "context": { "properties": { diff --git a/schemas/taskrunfinished.json b/schemas/taskrunfinished.json index 8fbd4b4e..810e38fc 100644 --- a/schemas/taskrunfinished.json +++ b/schemas/taskrunfinished.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.3.0-draft/schema/task-run-finished-event", + "$id": "https://cdevents.dev/0.3.0/schema/task-run-finished-event", "properties": { "context": { "properties": { diff --git a/schemas/taskrunstarted.json b/schemas/taskrunstarted.json index d1ce5169..bbf6b2a9 100644 --- a/schemas/taskrunstarted.json +++ b/schemas/taskrunstarted.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.3.0-draft/schema/task-run-started-event", + "$id": "https://cdevents.dev/0.3.0/schema/task-run-started-event", "properties": { "context": { "properties": { diff --git a/schemas/testcaserunfinished.json b/schemas/testcaserunfinished.json index 06ec9830..1d70623b 100644 --- a/schemas/testcaserunfinished.json +++ b/schemas/testcaserunfinished.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.3.0-draft/schema/test-case-run-finished-event", + "$id": "https://cdevents.dev/0.3.0/schema/test-case-run-finished-event", "properties": { "context": { "properties": { @@ -19,9 +19,9 @@ "type": { "type": "string", "enum": [ - "dev.cdevents.testcaserun.finished.0.1.0-draft" + "dev.cdevents.testcaserun.finished.0.1.0" ], - "default": "dev.cdevents.testcaserun.finished.0.1.0-draft" + "default": "dev.cdevents.testcaserun.finished.0.1.0" }, "timestamp": { "type": "string", diff --git a/schemas/testcaserunqueued.json b/schemas/testcaserunqueued.json index e8226ec9..4045dd91 100644 --- a/schemas/testcaserunqueued.json +++ b/schemas/testcaserunqueued.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.3.0-draft/schema/test-case-run-queued-event", + "$id": "https://cdevents.dev/0.3.0/schema/test-case-run-queued-event", "properties": { "context": { "properties": { @@ -19,9 +19,9 @@ "type": { "type": "string", "enum": [ - "dev.cdevents.testcaserun.queued.0.1.0-draft" + "dev.cdevents.testcaserun.queued.0.1.0" ], - "default": "dev.cdevents.testcaserun.queued.0.1.0-draft" + "default": "dev.cdevents.testcaserun.queued.0.1.0" }, "timestamp": { "type": "string", diff --git a/schemas/testcaserunstarted.json b/schemas/testcaserunstarted.json index 1a12bd1f..60b9b5b1 100644 --- a/schemas/testcaserunstarted.json +++ b/schemas/testcaserunstarted.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.3.0-draft/schema/test-case-run-started-event", + "$id": "https://cdevents.dev/0.3.0/schema/test-case-run-started-event", "properties": { "context": { "properties": { @@ -19,9 +19,9 @@ "type": { "type": "string", "enum": [ - "dev.cdevents.testcaserun.started.0.1.0-draft" + "dev.cdevents.testcaserun.started.0.1.0" ], - "default": "dev.cdevents.testcaserun.started.0.1.0-draft" + "default": "dev.cdevents.testcaserun.started.0.1.0" }, "timestamp": { "type": "string", diff --git a/schemas/testoutputpublished.json b/schemas/testoutputpublished.json index 61997f42..5573fb73 100644 --- a/schemas/testoutputpublished.json +++ b/schemas/testoutputpublished.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.3.0-draft/schema/test-output-published-event", + "$id": "https://cdevents.dev/0.3.0/schema/test-output-published-event", "properties": { "context": { "properties": { @@ -19,9 +19,9 @@ "type": { "type": "string", "enum": [ - "dev.cdevents.testoutput.published.0.1.0-draft" + "dev.cdevents.testoutput.published.0.1.0" ], - "default": "dev.cdevents.testoutput.published.0.1.0-draft" + "default": "dev.cdevents.testoutput.published.0.1.0" }, "timestamp": { "type": "string", diff --git a/schemas/testsuiterunfinished.json b/schemas/testsuiterunfinished.json index c59f7198..41d88cc7 100644 --- a/schemas/testsuiterunfinished.json +++ b/schemas/testsuiterunfinished.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.3.0-draft/schema/test-suite-finished-event", + "$id": "https://cdevents.dev/0.3.0/schema/test-suite-finished-event", "properties": { "context": { "properties": { @@ -19,9 +19,9 @@ "type": { "type": "string", "enum": [ - "dev.cdevents.testsuiterun.finished.0.1.0-draft" + "dev.cdevents.testsuiterun.finished.0.1.0" ], - "default": "dev.cdevents.testsuiterun.finished.0.1.0-draft" + "default": "dev.cdevents.testsuiterun.finished.0.1.0" }, "timestamp": { "type": "string", diff --git a/schemas/testsuiterunqueued.json b/schemas/testsuiterunqueued.json index 1b433945..3b2819ab 100644 --- a/schemas/testsuiterunqueued.json +++ b/schemas/testsuiterunqueued.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.3.0-draft/schema/test-suite-run-queued-event", + "$id": "https://cdevents.dev/0.3.0/schema/test-suite-run-queued-event", "properties": { "context": { "properties": { @@ -19,9 +19,9 @@ "type": { "type": "string", "enum": [ - "dev.cdevents.testsuiterun.queued.0.1.0-draft" + "dev.cdevents.testsuiterun.queued.0.1.0" ], - "default": "dev.cdevents.testsuiterun.queued.0.1.0-draft" + "default": "dev.cdevents.testsuiterun.queued.0.1.0" }, "timestamp": { "type": "string", diff --git a/schemas/testsuiterunstarted.json b/schemas/testsuiterunstarted.json index 4b6814d9..c689b2d7 100644 --- a/schemas/testsuiterunstarted.json +++ b/schemas/testsuiterunstarted.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.3.0-draft/schema/test-suite-run-started-event", + "$id": "https://cdevents.dev/0.3.0/schema/test-suite-run-started-event", "properties": { "context": { "properties": { @@ -19,9 +19,9 @@ "type": { "type": "string", "enum": [ - "dev.cdevents.testsuiterun.started.0.1.0-draft" + "dev.cdevents.testsuiterun.started.0.1.0" ], - "default": "dev.cdevents.testsuiterun.started.0.1.0-draft" + "default": "dev.cdevents.testsuiterun.started.0.1.0" }, "timestamp": { "type": "string", diff --git a/spec.md b/spec.md index 5969c7dc..c01235bb 100644 --- a/spec.md +++ b/spec.md @@ -269,7 +269,7 @@ This is an example of a full CDEvent context, rendered in JSON format: ```json { "context": { - "version": "0.3.0-draft", + "version": "0.3.0", "id" : "A234-1234-1234", "source" : "/staging/tekton/", "type" : "dev.cdevents.taskrun.started", @@ -354,7 +354,7 @@ The following example shows `context` and `subject` together, rendered as JSON. ```json { "context": { - "version": "0.3.0-draft", + "version": "0.3.0", "id" : "A234-1234-1234", "source" : "/staging/tekton/", "type" : "dev.cdevents.taskrun.started", diff --git a/testing-events.md b/testing-events.md index ac52c328..a52e3f42 100644 --- a/testing-events.md +++ b/testing-events.md @@ -68,7 +68,7 @@ One or more `testOutput` artifacts are usually produced as the result of a test This event represents when a testCaseRun has been queued for execution - and is waiting for applicable preconditions (resource availability, other tasks, etc.) to be fulfilled before actually executing. -- Event Type: __`dev.cdevents.testcaserun.queued.0.1.0-draft`__ +- Event Type: __`dev.cdevents.testcaserun.queued.0.1.0`__ - Predicate: queued - Subject: [`testCaseRun`](#testcaserun) @@ -85,7 +85,7 @@ This event represents when a testCaseRun has been queued for execution - and is This event represents a started testCase execution. -- Event Type: __`dev.cdevents.testcaserun.started.0.1.0-draft`__ +- Event Type: __`dev.cdevents.testcaserun.started.0.1.0`__ - Predicate: started - Subject: [`testCaseRun`](#testcaserun) @@ -102,7 +102,7 @@ This event represents a started testCase execution. This event represents a finished testCase execution. The event will contain the outcome and additional metadata as applicable. -- Event Type: __`dev.cdevents.testcaserun.finished.0.1.0-draft`__ +- Event Type: __`dev.cdevents.testcaserun.finished.0.1.0`__ - Predicate: finished - Subject: [`testCaseRun`](#testcaserun) @@ -122,7 +122,7 @@ This event represents a finished testCase execution. The event will contain the This event represents when a testSuiteRun has been queued for execution - and is waiting for applicable preconditions (resource availability, other tasks, etc.) to be met before actually executing. -- Event Type: __`dev.cdevents.testsuiterun.queued.0.1.0-draft`__ +- Event Type: __`dev.cdevents.testsuiterun.queued.0.1.0`__ - Predicate: queued - Subject: [`testSuiteRun`](#testsuiterun) @@ -138,7 +138,7 @@ This event represents when a testSuiteRun has been queued for execution - and is This event represents a started testSuite execution. -- Event Type: __`dev.cdevents.testsuiterun.started.0.1.0-draft`__ +- Event Type: __`dev.cdevents.testsuiterun.started.0.1.0`__ - Predicate: started - Subject: [`testSuiteRun`](#testsuiterun) @@ -154,7 +154,7 @@ This event represents a started testSuite execution. This event represents a finished testSuite execution. The event will contain the outcome and additional metadata as applicable. -- Event Type: __`dev.cdevents.testsuiterun.finished.0.1.0-draft`__ +- Event Type: __`dev.cdevents.testsuiterun.finished.0.1.0`__ - Predicate: finished - Subject: [`testSuiteRun`](#testsuiterun) @@ -172,7 +172,7 @@ This event represents a finished testSuite execution. The event will contain the The event represents a test execution output that has been published. -- Event Type: __`dev.cdevents.testoutput.published.0.1.0-draft`__ +- Event Type: __`dev.cdevents.testoutput.published.0.1.0`__ - Predicate: published - Subject: [`testOutput`](#testoutput) diff --git a/tools/event-version.sh b/tools/event-version.sh index 9a2f5a73..52dc4d0f 100755 --- a/tools/event-version.sh +++ b/tools/event-version.sh @@ -164,7 +164,7 @@ if [ -f "${EXAMPLE_FILE}" ]; then fi # Update examples in docs -for doc in core source-code-version-control continuous-integration continuous-deployment continuous-operations; do +for doc in core source-code-version-control continuous-integration continuous-deployment continuous-operations testing-events; do sed -i ".backup" -e 's,__`dev.cdevents.'${SUBJECT}'.'${PREDICATE}'.*`__,__`dev.cdevents.'${SUBJECT}'.'${PREDICATE}'.'${VERSION}'`__,g' "${doc}.md" done diff --git a/version.txt b/version.txt index 719735b8..0d91a54c 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -0.3.0-draft +0.3.0