Skip to content

Commit 84c3de1

Browse files
authored
Don't run integration tests if no code changes in a PR (#1881)
1 parent c55ba91 commit 84c3de1

File tree

3 files changed

+21
-82
lines changed

3 files changed

+21
-82
lines changed

.buildkite/pull-requests.json

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"jobs": [
3+
{
4+
"enabled": true,
5+
"pipeline_slug": "elasticsearch-js-integration-tests",
6+
"allowed_repo_permissions": ["admin", "write"],
7+
"build_on_commit": true,
8+
"skip_ci_on_only_changed": [
9+
"\\.md$",
10+
"\\.asciidoc$",
11+
"^docs\\/",
12+
"^\\.ci\\/",
13+
"^scripts\\/",
14+
"^catalog-info\\.yaml$",
15+
"^test\\/unit\\/",
16+
"^\\.github\\/"
17+
]
18+
}
19+
]
20+
}

.ci/jobs/defaults.yml

-81
This file was deleted.

catalog-info.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ apiVersion: backstage.io/v1alpha1
1515
kind: Resource
1616
metadata:
1717
name: elasticsearch-js-integration-tests
18-
description: Elasticsearch JavaScript client integration tests
18+
description: elasticsearch-js - integration tests
1919
spec:
2020
type: buildkite-pipeline
2121
owner: group:clients-team

0 commit comments

Comments
 (0)