@@ -17,7 +17,7 @@ Feature: CI Visibility Pipelines
1717 When the request is sent
1818 Then the response status is 400 Bad Request
1919
20- @team:DataDog/ci-app-backend
20+ @skip-java @skip-python @skip-typescript @ team:DataDog/ci-app-backend
2121 Scenario : Aggregate pipelines events returns "OK" response
2222 Given a valid "appKeyAuth" key in the system
2323 And new "AggregateCIAppPipelineEvents" request
@@ -33,7 +33,7 @@ Feature: CI Visibility Pipelines
3333 When the request is sent
3434 Then the response status is 400 Bad Request
3535
36- @team:DataDog/ci-app-backend
36+ @skip-java @skip-python @skip-typescript @ team:DataDog/ci-app-backend
3737 Scenario : Get a list of pipelines events returns "OK" response
3838 Given a valid "appKeyAuth" key in the system
3939 And new "ListCIAppPipelineEvents" request
@@ -44,7 +44,7 @@ Feature: CI Visibility Pipelines
4444 When the request is sent
4545 Then the response status is 200 OK
4646
47- @replay-only @skip-validation @team:DataDog/ci-app-backend @with-pagination
47+ @replay-only @skip-java @skip-python @skip-typescript @skip- validation @team:DataDog/ci-app-backend @with-pagination
4848 Scenario : Get a list of pipelines events returns "OK" response with pagination
4949 Given a valid "appKeyAuth" key in the system
5050 And new "ListCIAppPipelineEvents" request
@@ -63,15 +63,15 @@ Feature: CI Visibility Pipelines
6363 When the request is sent
6464 Then the response status is 400 Bad Request
6565
66- @team:DataDog/ci-app-backend
66+ @skip-java @skip-python @skip-typescript @ team:DataDog/ci-app-backend
6767 Scenario : Search pipelines events returns "OK" response
6868 Given a valid "appKeyAuth" key in the system
6969 And new "SearchCIAppPipelineEvents" request
7070 And body with value {"filter" : {"from" : "now-15m" , "query" : "@ci.provider.name:github AND @ci.status:error" , "to" : "now" }, "options" : {"timezone" : "GMT" }, "page" : {"limit" : 5}, "sort" : "timestamp" }
7171 When the request is sent
7272 Then the response status is 200 OK
7373
74- @replay-only @skip-validation @team:DataDog/ci-app-backend @with-pagination
74+ @replay-only @skip-java @skip-python @skip-typescript @skip- validation @team:DataDog/ci-app-backend @with-pagination
7575 Scenario : Search pipelines events returns "OK" response with pagination
7676 Given a valid "appKeyAuth" key in the system
7777 And new "SearchCIAppPipelineEvents" request
@@ -101,30 +101,37 @@ Feature: CI Visibility Pipelines
101101 When the request is sent
102102 Then the response status is 408 Request Timeout
103103
104- @team:DataDog/ci-app-backend
104+ @skip-java @skip-python @skip-typescript @ team:DataDog/ci-app-backend
105105 Scenario : Send pipeline event returns "Request accepted for processing" response
106106 Given new "CreateCIAppPipelineEvent" request
107107 And body with value {"data" : {"attributes" : {"resource" : {"level" : "pipeline" ,"unique_id" : "3eacb6f3-ff04-4e10-8a9c-46e6d054024a" ,"name" : "Deploy to AWS" ,"url" : "https://my-ci-provider.example/pipelines/my-pipeline/run/1" ,"start" : "{{ timeISO('now - 120s') }}" ,"end" : "{{ timeISO('now - 30s') }}" ,"status" : "success" ,"partial_retry" : false,"git" : {"repository_url" : "https://github.com/DataDog/datadog-agent" ,"sha" : "7f263865994b76066c4612fd1965215e7dcb4cd2" ,"author_email" : "john.doe@email.com" }}},"type" : "cipipeline_resource_request" }}
108108 When the request is sent
109109 Then the response status is 202 Request accepted for processing
110110
111- @team:DataDog/ci-app-backend
111+ @skip-java @skip-python @skip-typescript @ team:DataDog/ci-app-backend
112112 Scenario : Send pipeline event with custom provider returns "Request accepted for processing" response
113113 Given new "CreateCIAppPipelineEvent" request
114114 And body with value {"data" : {"attributes" : {"provider_name" : "example-provider" , "resource" : {"level" : "pipeline" ,"unique_id" : "3eacb6f3-ff04-4e10-8a9c-46e6d054024a" ,"name" : "Deploy to AWS" ,"url" : "https://my-ci-provider.example/pipelines/my-pipeline/run/1" ,"start" : "{{ timeISO('now - 120s') }}" ,"end" : "{{ timeISO('now - 30s') }}" ,"status" : "success" ,"partial_retry" : false,"git" : {"repository_url" : "https://github.com/DataDog/datadog-agent" ,"sha" : "7f263865994b76066c4612fd1965215e7dcb4cd2" ,"author_email" : "john.doe@email.com" }}},"type" : "cipipeline_resource_request" }}
115115 When the request is sent
116116 Then the response status is 202 Request accepted for processing
117117
118- @skip @team:DataDog/ci-app-backend
118+ @skip @skip-java @skip-python @skip-typescript @ team:DataDog/ci-app-backend
119119 Scenario : Send pipeline job event returns "Request accepted for processing" response
120120 Given new "CreateCIAppPipelineEvent" request
121121 And body with value {"data" : {"attributes" : {"resource" : {"level" : "job" , "id" : "cf9456de-8b9e-4c27-aa79-27b1e78c1a33" , "name" : "Build image" , "pipeline_unique_id" : "3eacb6f3-ff04-4e10-8a9c-46e6d054024a" , "pipeline_name" : "Deploy to AWS" , "start" : "{{ timeISO('now - 120s') }}" , "end" : "{{ timeISO('now - 30s') }}" , "status" : "error" , "url" : "https://my-ci-provider.example/jobs/my-jobs/run/1" }}, "type" : "cipipeline_resource_request" }}
122122 When the request is sent
123123 Then the response status is 202 Request accepted for processing
124124
125- @team:DataDog/ci-app-backend
125+ @skip-java @skip-python @skip-typescript @ team:DataDog/ci-app-backend
126126 Scenario : Send running pipeline event returns "Request accepted for processing" response
127127 Given new "CreateCIAppPipelineEvent" request
128128 And body with value {"data" : {"attributes" : {"resource" : {"level" : "pipeline" ,"unique_id" : "3eacb6f3-ff04-4e10-8a9c-46e6d054024a" ,"name" : "Deploy to AWS" ,"url" : "https://my-ci-provider.example/pipelines/my-pipeline/run/1" ,"start" : "{{ timeISO('now - 120s') }}" ,"status" : "running" ,"partial_retry" : false,"git" : {"repository_url" : "https://github.com/DataDog/datadog-agent" ,"sha" : "7f263865994b76066c4612fd1965215e7dcb4cd2" ,"author_email" : "john.doe@email.com" }}},"type" : "cipipeline_resource_request" }}
129129 When the request is sent
130130 Then the response status is 202 Request accepted for processing
131+
132+ @skip-java @skip-python @skip-typescript @team:DataDog/ci-app-backend
133+ Scenario : Send several pipeline events returns "Request accepted for processing" response
134+ Given new "CreateCIAppPipelineEvent" request
135+ And body with value {"data": [{"attributes": {"provider_name": "example-provider", "resource": {"level": "pipeline","unique_id": "3eacb6f3-ff04-4e10-8a9c-46e6d054024a","name": "Deploy to AWS","url": "https://my-ci-provider.example/pipelines/my-pipeline/run/1","start": "{{ timeISO('now - 120s') }}","end": "{{ timeISO('now - 30s') }}","status": "success","partial_retry": false,"git": {"repository_url": "https://github.com/DataDog/datadog-agent","sha": "7f263865994b76066c4612fd1965215e7dcb4cd2","author_email": "john.doe@email.com"}}},"type": "cipipeline_resource_request"},{"attributes": {"provider_name": "example-provider", "resource": {"level": "pipeline","unique_id": "7b2c8f9e-aa15-4d22-9c7d-83f4e065138b","name": "Deploy to Production","url": "https://my-ci-provider.example/pipelines/prod-pipeline/run/2","start": "{{ timeISO('now - 180s') }}","end": "{{ timeISO('now - 45s') }}","status": "success","partial_retry": false,"git": {"repository_url": "https://github.com/DataDog/datadog-agent","sha": "9a4f7c28b3e5d12f8e6c9b2a5d8f3e1c7b4a6d9e","author_email": "jane.smith@email.com"}}},"type": "cipipeline_resource_request"}]}
136+ When the request is sent
137+ Then the response status is 202 Request accepted for processing
0 commit comments