@@ -17,7 +17,7 @@ Feature: CI Visibility Pipelines
17
17
When the request is sent
18
18
Then the response status is 400 Bad Request
19
19
20
- @team:DataDog/ci-app-backend
20
+ @skip-java @skip-python @skip-typescript @ team:DataDog/ci-app-backend
21
21
Scenario : Aggregate pipelines events returns "OK" response
22
22
Given a valid "appKeyAuth" key in the system
23
23
And new "AggregateCIAppPipelineEvents" request
@@ -33,7 +33,7 @@ Feature: CI Visibility Pipelines
33
33
When the request is sent
34
34
Then the response status is 400 Bad Request
35
35
36
- @team:DataDog/ci-app-backend
36
+ @skip-java @skip-python @skip-typescript @ team:DataDog/ci-app-backend
37
37
Scenario : Get a list of pipelines events returns "OK" response
38
38
Given a valid "appKeyAuth" key in the system
39
39
And new "ListCIAppPipelineEvents" request
@@ -44,7 +44,7 @@ Feature: CI Visibility Pipelines
44
44
When the request is sent
45
45
Then the response status is 200 OK
46
46
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
48
48
Scenario : Get a list of pipelines events returns "OK" response with pagination
49
49
Given a valid "appKeyAuth" key in the system
50
50
And new "ListCIAppPipelineEvents" request
@@ -63,15 +63,15 @@ Feature: CI Visibility Pipelines
63
63
When the request is sent
64
64
Then the response status is 400 Bad Request
65
65
66
- @team:DataDog/ci-app-backend
66
+ @skip-java @skip-python @skip-typescript @ team:DataDog/ci-app-backend
67
67
Scenario : Search pipelines events returns "OK" response
68
68
Given a valid "appKeyAuth" key in the system
69
69
And new "SearchCIAppPipelineEvents" request
70
70
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" }
71
71
When the request is sent
72
72
Then the response status is 200 OK
73
73
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
75
75
Scenario : Search pipelines events returns "OK" response with pagination
76
76
Given a valid "appKeyAuth" key in the system
77
77
And new "SearchCIAppPipelineEvents" request
@@ -101,30 +101,37 @@ Feature: CI Visibility Pipelines
101
101
When the request is sent
102
102
Then the response status is 408 Request Timeout
103
103
104
- @team:DataDog/ci-app-backend
104
+ @skip-java @skip-python @skip-typescript @ team:DataDog/ci-app-backend
105
105
Scenario : Send pipeline event returns "Request accepted for processing" response
106
106
Given new "CreateCIAppPipelineEvent" request
107
107
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" :
"[email protected] " }}},
"type" :
"cipipeline_resource_request" }}
108
108
When the request is sent
109
109
Then the response status is 202 Request accepted for processing
110
110
111
- @team:DataDog/ci-app-backend
111
+ @skip-java @skip-python @skip-typescript @ team:DataDog/ci-app-backend
112
112
Scenario : Send pipeline event with custom provider returns "Request accepted for processing" response
113
113
Given new "CreateCIAppPipelineEvent" request
114
114
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" :
"[email protected] " }}},
"type" :
"cipipeline_resource_request" }}
115
115
When the request is sent
116
116
Then the response status is 202 Request accepted for processing
117
117
118
- @skip @team:DataDog/ci-app-backend
118
+ @skip @skip-java @skip-python @skip-typescript @ team:DataDog/ci-app-backend
119
119
Scenario : Send pipeline job event returns "Request accepted for processing" response
120
120
Given new "CreateCIAppPipelineEvent" request
121
121
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" }}
122
122
When the request is sent
123
123
Then the response status is 202 Request accepted for processing
124
124
125
- @team:DataDog/ci-app-backend
125
+ @skip-java @skip-python @skip-typescript @ team:DataDog/ci-app-backend
126
126
Scenario : Send running pipeline event returns "Request accepted for processing" response
127
127
Given new "CreateCIAppPipelineEvent" request
128
128
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" :
"[email protected] " }}},
"type" :
"cipipeline_resource_request" }}
129
129
When the request is sent
130
130
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": "
[email protected] "}}},"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": "
[email protected] "}}},"type": "cipipeline_resource_request"}]}
136
+ When the request is sent
137
+ Then the response status is 202 Request accepted for processing
0 commit comments