Skip to content

Commit

Permalink
[CI] Auto-commit changed files from 'node scripts/eslint --no-cache -…
Browse files Browse the repository at this point in the history
…-fix'
  • Loading branch information
kibanamachine committed Dec 5, 2024
1 parent 9d6dff9 commit 2abf644
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 6 deletions.
5 changes: 4 additions & 1 deletion .buildkite/scripts/pipelines/pull_request/pipeline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,10 @@ const getPipeline = (filename: string, removeSteps = true) => {
}

if (
(await doAnyChangesMatch([/^x-pack\/platform\/plugins\/shared\/fleet/, /^x-pack\/test\/fleet_cypress/])) ||
(await doAnyChangesMatch([
/^x-pack\/platform\/plugins\/shared\/fleet/,
/^x-pack\/test\/fleet_cypress/,
])) ||
GITHUB_PR_LABELS.includes('ci:all-cypress-suites')
) {
pipeline.push(getPipeline('.buildkite/pipelines/pull_request/fleet_cypress.yml'));
Expand Down
3 changes: 2 additions & 1 deletion src/dev/build/tasks/fetch_agent_versions_list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ export const FetchAgentVersionsList: Task = {
}

const versionsList = await getAvailableVersions(log);
const AGENT_VERSION_BUILD_FILE = 'x-pack/platform/plugins/shared/fleet/target/agent_versions_list.json';
const AGENT_VERSION_BUILD_FILE =
'x-pack/platform/plugins/shared/fleet/target/agent_versions_list.json';

if (versionsList.length !== 0) {
log.info(`Writing versions list to ${AGENT_VERSION_BUILD_FILE}`);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ module.exports = {
preset: '@kbn/test',
rootDir: '../../../../..',
roots: ['<rootDir>/src/platform/plugins/shared/custom_integrations'],
coverageDirectory: '<rootDir>/target/kibana-coverage/jest/src/platform/plugins/shared/custom_integrations',
coverageDirectory:
'<rootDir>/target/kibana-coverage/jest/src/platform/plugins/shared/custom_integrations',
coverageReporters: ['text', 'html'],
collectCoverageFrom: ['<rootDir>/src/plugins/data/{common,public,server}/**/*.{ts,tsx}'],
};
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ addons.setConfig({
theme: create({
base: 'light',
brandTitle: 'Kibana Custom Integrations Storybook',
brandUrl: 'https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/custom_integrations',
brandUrl:
'https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/custom_integrations',
}),
showPanel: true.valueOf,
selectedPanel: PANEL_ID,
Expand Down
4 changes: 3 additions & 1 deletion x-pack/platform/plugins/shared/fleet/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,7 @@ module.exports = {
},
coverageDirectory: '<rootDir>/target/kibana-coverage/jest/x-pack/platform/plugins/shared/fleet',
coverageReporters: ['text', 'html'],
collectCoverageFrom: ['<rootDir>/x-pack/platform/plugins/shared/fleet/{common,public,server}/**/*.{ts,tsx}'],
collectCoverageFrom: [
'<rootDir>/x-pack/platform/plugins/shared/fleet/{common,public,server}/**/*.{ts,tsx}',
],
};
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ import { differsOnlyInPatch } from '../../../common/services';
import { appContextService } from '..';

const MINIMUM_SUPPORTED_VERSION = '7.17.0';
const AGENT_VERSION_BUILD_FILE = 'x-pack/platform/plugins/shared/fleet/target/agent_versions_list.json';
const AGENT_VERSION_BUILD_FILE =
'x-pack/platform/plugins/shared/fleet/target/agent_versions_list.json';

// Endpoint maintained by the web-team and hosted on the elastic website
const PRODUCT_VERSIONS_URL = 'https://www.elastic.co/api/product_versions';
Expand Down

0 comments on commit 2abf644

Please sign in to comment.