Skip to content

Commit 3a4bad5

Browse files
authored
ci: Add ignore rules to CI jobs (#21)
* chore: Drop unused test files * ci: correct Buildkite job-skipping rules * ci: Add ignore rules to Github unit test action
1 parent f081047 commit 3a4bad5

File tree

9 files changed

+15
-145
lines changed

9 files changed

+15
-145
lines changed

.buildkite/certs/ca.crt

Lines changed: 0 additions & 20 deletions
This file was deleted.

.buildkite/certs/ca.key

Lines changed: 0 additions & 27 deletions
This file was deleted.

.buildkite/certs/testnode.crt

Lines changed: 0 additions & 21 deletions
This file was deleted.

.buildkite/certs/testnode.key

Lines changed: 0 additions & 27 deletions
This file was deleted.

.buildkite/certs/testnode_san.crt

Lines changed: 0 additions & 20 deletions
This file was deleted.

.buildkite/certs/testnode_san.key

Lines changed: 0 additions & 27 deletions
This file was deleted.

.buildkite/pull-requests.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@
22
"jobs": [
33
{
44
"enabled": true,
5-
"pipeline_slug": "elasticsearch-js-integration-tests",
5+
"pipeline_slug": "elasticsearch-serverless-js-integration-tests",
66
"allowed_repo_permissions": ["admin", "write"],
77
"build_on_commit": true,
88
"skip_ci_on_only_changed": [
99
"\\.md$",
1010
"\\.asciidoc$",
11+
"\\.txt$",
1112
"^docs\\/",
1213
"^\\.ci\\/",
1314
"^scripts\\/",

.github/workflows/tests.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
---
22
name: Unit tests
3-
on: [push, pull_request]
3+
on:
4+
push:
5+
paths-ignore: &ignore
6+
- '**/*.md'
7+
- '**/*.asciidoc'
8+
- '**/*.txt'
9+
- 'docs/**'
10+
- '.ci/**'
11+
- '.buildkite/**'
12+
- 'scripts/**'
13+
- 'catalog-info.yaml'
14+
pull_request:
15+
paths-ignore: *ignore
416

517
jobs:
618
test:

.npmignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ scripts
6767
.ci
6868
.travis.yml
6969
.buildkite
70-
certs
7170
.github
7271
CODE_OF_CONDUCT.md
7372
CONTRIBUTING.md

0 commit comments

Comments
 (0)