forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "[CI] Combines Jest test jobs (elastic#85850)"
This reverts commit 46ac4ed.
- Loading branch information
Showing
24 changed files
with
135 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
|
||
JOB: | ||
- kibana-intake | ||
- x-pack-intake | ||
- kibana-firefoxSmoke | ||
- kibana-ciGroup1 | ||
- kibana-ciGroup2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,10 @@ | ||
#!/bin/bash | ||
|
||
# This file is temporary and can be removed once #85850 has been | ||
# merged and the changes included in open PR's (~3 days after merging) | ||
set -euo pipefail | ||
|
||
source "$(dirname "${0}")/../util.sh" | ||
|
||
export JOB=kibana-default-jest | ||
|
||
checks-reporter-with-killswitch "Jest Unit Tests" \ | ||
node scripts/jest x-pack --ci --verbose --maxWorkers=5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,10 @@ | ||
#!/bin/bash | ||
|
||
# This file is temporary and can be removed once #85850 has been | ||
# merged and the changes included in open PR's (~3 days after merging) | ||
|
||
set -euo pipefail | ||
|
||
source "$(dirname "${0}")/../util.sh" | ||
|
||
export JOB=kibana-oss-jest | ||
|
||
checks-reporter-with-killswitch "Jest Unit Tests" \ | ||
node scripts/jest --ci --verbose | ||
checks-reporter-with-killswitch "OSS Jest Unit Tests" \ | ||
node scripts/jest --config jest.config.oss.js --ci --verbose --maxWorkers=5 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package builds.test | ||
|
||
import addTestSettings | ||
import jetbrains.buildServer.configs.kotlin.v2019_2.BuildType | ||
import kibanaAgent | ||
import runbld | ||
|
||
object XPackJest : BuildType({ | ||
name = "X-Pack Jest Unit" | ||
description = "Executes X-Pack Jest Unit Tests" | ||
|
||
kibanaAgent(16) | ||
|
||
steps { | ||
runbld("X-Pack Jest Unit", "./.ci/teamcity/default/jest.sh") | ||
} | ||
|
||
addTestSettings() | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/* | ||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
* or more contributor license agreements. Licensed under the Elastic License | ||
* and the Server Side Public License, v 1; you may not use this file except in | ||
* compliance with, at your election, the Elastic License or the Server Side | ||
* Public License, v 1. | ||
*/ | ||
|
||
module.exports = { | ||
preset: '@kbn/test', | ||
rootDir: '.', | ||
projects: [ | ||
'<rootDir>/packages/*/jest.config.js', | ||
'<rootDir>/src/*/jest.config.js', | ||
'<rootDir>/src/legacy/*/jest.config.js', | ||
'<rootDir>/src/plugins/*/jest.config.js', | ||
'<rootDir>/test/*/jest.config.js', | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/usr/bin/env bash | ||
|
||
source test/scripts/jenkins_test_setup.sh | ||
|
||
if [[ -z "$CODE_COVERAGE" ]] ; then | ||
echo " -> Running jest tests" | ||
|
||
./test/scripts/test/xpack_jest_unit.sh | ||
else | ||
echo " -> Build runtime for canvas" | ||
# build runtime for canvas | ||
echo "NODE_ENV=$NODE_ENV" | ||
node ./x-pack/plugins/canvas/scripts/shareable_runtime | ||
echo " -> Running jest tests with coverage" | ||
cd x-pack | ||
node --max-old-space-size=6144 scripts/jest --ci --verbose --maxWorkers=5 --coverage --config jest.config.js || true; | ||
# rename file in order to be unique one | ||
test -f ../target/kibana-coverage/jest/coverage-final.json \ | ||
&& mv ../target/kibana-coverage/jest/coverage-final.json \ | ||
../target/kibana-coverage/jest/xpack-coverage-final.json | ||
echo "" | ||
echo "" | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/usr/bin/env bash | ||
|
||
source src/dev/ci_setup/setup_env.sh | ||
|
||
checks-reporter-with-killswitch "X-Pack Jest" \ | ||
node scripts/jest x-pack --ci --verbose --maxWorkers=5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/* | ||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
* or more contributor license agreements. Licensed under the Elastic License; | ||
* you may not use this file except in compliance with the Elastic License. | ||
*/ | ||
|
||
module.exports = { | ||
preset: '@kbn/test', | ||
rootDir: '..', | ||
projects: ['<rootDir>/x-pack/plugins/*/jest.config.js'], | ||
}; |