Skip to content

Commit debf8c6

Browse files
author
spalger
committed
[ci] compress jobs for CI stability
1 parent a9b2916 commit debf8c6

File tree

34 files changed

+53
-68
lines changed

34 files changed

+53
-68
lines changed

.ci/jobs.yml

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,21 @@
11
JOB:
2-
- kibana-intake
3-
- x-pack-intake
4-
- kibana-firefoxSmoke
2+
- intake
3+
- firefoxSmoke
54
- kibana-ciGroup1
65
- kibana-ciGroup2
76
- kibana-ciGroup3
87
- kibana-ciGroup4
98
- kibana-ciGroup5
109
- kibana-ciGroup6
11-
- kibana-ciGroup7
12-
- kibana-ciGroup8
13-
- kibana-ciGroup9
14-
- kibana-ciGroup10
15-
- kibana-ciGroup11
16-
- kibana-ciGroup12
17-
- kibana-visualRegression
10+
# - kibana-visualRegression
1811

1912
# make sure all x-pack-ciGroups are listed in test/scripts/jenkins_xpack_ci_group.sh
20-
- x-pack-firefoxSmoke
2113
- x-pack-ciGroup1
2214
- x-pack-ciGroup2
2315
- x-pack-ciGroup3
2416
- x-pack-ciGroup4
2517
- x-pack-ciGroup5
26-
- x-pack-ciGroup6
27-
- x-pack-ciGroup7
28-
- x-pack-ciGroup8
29-
- x-pack-ciGroup9
30-
- x-pack-ciGroup10
31-
- x-pack-visualRegression
18+
# - x-pack-visualRegression
3219

3320
# `~` is yaml for `null`
3421
exclude: ~

.ci/run.sh

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ source src/dev/ci_setup/setup.sh
1111
source src/dev/ci_setup/checkout_sibling_es.sh
1212

1313
case "$JOB" in
14-
kibana-intake)
14+
intake)
1515
./test/scripts/jenkins_unit.sh
1616
;;
1717
kibana-ciGroup*)
@@ -21,22 +21,16 @@ kibana-ciGroup*)
2121
kibana-visualRegression*)
2222
./test/scripts/jenkins_visual_regression.sh
2323
;;
24-
kibana-firefoxSmoke*)
24+
firefoxSmoke*)
2525
./test/scripts/jenkins_firefox_smoke.sh
2626
;;
27-
x-pack-intake)
28-
./test/scripts/jenkins_xpack.sh
29-
;;
3027
x-pack-ciGroup*)
3128
export CI_GROUP="${JOB##x-pack-ciGroup}"
3229
./test/scripts/jenkins_xpack_ci_group.sh
3330
;;
3431
x-pack-visualRegression*)
3532
./test/scripts/jenkins_xpack_visual_regression.sh
3633
;;
37-
x-pack-firefoxSmoke*)
38-
./test/scripts/jenkins_xpack_firefox_smoke.sh
39-
;;
4034
*)
4135
echo "JOB '$JOB' is not implemented."
4236
exit 1

test/functional/apps/management/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export default function ({ getService, loadTestFile }) {
3333
});
3434

3535
describe('', function () {
36-
this.tags('ciGroup7');
36+
this.tags('ciGroup1');
3737

3838
loadTestFile(require.resolve('./_create_index_pattern_wizard'));
3939
loadTestFile(require.resolve('./_index_pattern_create_delete'));
@@ -45,7 +45,7 @@ export default function ({ getService, loadTestFile }) {
4545
});
4646

4747
describe('', function () {
48-
this.tags('ciGroup8');
48+
this.tags('ciGroup2');
4949

5050
loadTestFile(require.resolve('./_index_pattern_filter'));
5151
loadTestFile(require.resolve('./_scripted_fields_filter'));

test/functional/apps/visualize/index.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export default function({ getService, loadTestFile }: FtrProviderContext) {
4040
});
4141

4242
describe('', function() {
43-
this.tags('ciGroup9');
43+
this.tags('ciGroup3');
4444

4545
loadTestFile(require.resolve('./_embedding_chart'));
4646
loadTestFile(require.resolve('./_chart_types'));
@@ -50,7 +50,7 @@ export default function({ getService, loadTestFile }: FtrProviderContext) {
5050
});
5151

5252
describe('', function() {
53-
this.tags('ciGroup10');
53+
this.tags('ciGroup4');
5454

5555
loadTestFile(require.resolve('./_inspector'));
5656
loadTestFile(require.resolve('./_experimental_vis'));
@@ -62,7 +62,7 @@ export default function({ getService, loadTestFile }: FtrProviderContext) {
6262
});
6363

6464
describe('', function() {
65-
this.tags('ciGroup11');
65+
this.tags('ciGroup5');
6666

6767
loadTestFile(require.resolve('./_line_chart'));
6868
loadTestFile(require.resolve('./_pie_chart'));
@@ -76,7 +76,7 @@ export default function({ getService, loadTestFile }: FtrProviderContext) {
7676
});
7777

7878
describe('', function() {
79-
this.tags('ciGroup12');
79+
this.tags('ciGroup6');
8080

8181
loadTestFile(require.resolve('./_tag_cloud'));
8282
loadTestFile(require.resolve('./_tile_map'));

test/mocha_decorations.d.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ type Tags =
2626
| 'ciGroup4'
2727
| 'ciGroup5'
2828
| 'ciGroup6'
29-
| 'ciGroup7'
30-
| 'ciGroup8'
31-
| 'ciGroup9'
32-
| 'ciGroup10'
33-
| 'ciGroup11'
34-
| 'ciGroup12';
29+
| 'ciGroup1'
30+
| 'ciGroup2'
31+
| 'ciGroup3'
32+
| 'ciGroup4'
33+
| 'ciGroup5'
34+
| 'ciGroup6';
3535

3636
// We need to use the namespace here to match the Mocha definition
3737
// eslint-disable-next-line @typescript-eslint/no-namespace

test/scripts/jenkins_firefox_smoke.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,5 @@ checks-reporter-with-killswitch "Firefox smoke test" \
1717
--kibana-install-dir "$installDir" \
1818
--include-tag "smoke" \
1919
--config test/functional/config.firefox.js;
20+
21+
source "$KIBANA_DIR/test/scripts/jenkins_xpack_firefox_smoke.sh"

test/scripts/jenkins_unit.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ trap 'node "$KIBANA_DIR/src/dev/failed_tests/cli"' EXIT
66
export TEST_BROWSER_HEADLESS=1
77

88
"$(FORCE_COLOR=0 yarn bin)/grunt" jenkins:unit --dev;
9+
10+
source "$KIBANA_DIR/test/scripts/jenkins_xpack.sh"

test/scripts/jenkins_xpack_ci_group.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ node scripts/functional_tests --assert-none-excluded \
1414
--include-tag ciGroup4 \
1515
--include-tag ciGroup5 \
1616
--include-tag ciGroup6 \
17-
--include-tag ciGroup7 \
18-
--include-tag ciGroup8 \
19-
--include-tag ciGroup9 \
20-
--include-tag ciGroup10
17+
--include-tag ciGroup1 \
18+
--include-tag ciGroup2 \
19+
--include-tag ciGroup3 \
20+
--include-tag ciGroup4
2121

2222
echo " -> building and extracting default Kibana distributable for use in functional tests"
2323
cd "$KIBANA_DIR"

x-pack/test/alerting_api_integration/security_and_spaces/tests/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export default function alertingApiIntegrationTests({
1919
const esArchiver = getService('esArchiver');
2020

2121
describe('alerting api integration security and spaces enabled', function() {
22-
this.tags('ciGroup8');
22+
this.tags('ciGroup3');
2323

2424
before(async () => {
2525
for (const space of Spaces) {

x-pack/test/alerting_api_integration/spaces_only/tests/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export default function alertingApiIntegrationTests({
1717
const esArchiver = getService('esArchiver');
1818

1919
describe('alerting api integration spaces only', function() {
20-
this.tags('ciGroup8');
20+
this.tags('ciGroup3');
2121

2222
before(async () => {
2323
for (const space of Object.values(Spaces)) {

0 commit comments

Comments
 (0)