kibana/packages/kbn-dev-utils/index.ts
Spencer 4e7560f19d
[ci-stats] move shipper to a package, validate limits in on-merge job (#149474)
We just had an issue where two PRs were merged and it caused the limit
of the `triggerActionsUi` bundle to be exceeded, breaking PR builds. The
issue is that we didn't see any indication of this in the on-merge jobs
because we don't produce the PR report for on-merge jobs or ask ci-stats
if we should fail the job. Instead, we just ship the metrics for
baseline purposes. This fixes that problem by adding a `--validate` flag
to `node scripts/ship_ci_stats`, which takes care of sending at least
some ci-stats and will verify that the bundle limits are not exceeded.

Since we didn't catch this issue in the on-merge job the limits were
incorrect for over an hour and merged into many PRs, wasting engineering
and CI time.

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-01-25 08:20:40 -07:00

26 lines
753 B
TypeScript

/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except
* in compliance with, at your election, the Elastic License 2.0 or the Server
* Side Public License, v 1.
*/
export {
CA_CERT_PATH,
ES_KEY_PATH,
ES_CERT_PATH,
ES_P12_PATH,
ES_P12_PASSWORD,
ES_EMPTYPASSWORD_P12_PATH,
ES_NOPASSWORD_P12_PATH,
KBN_KEY_PATH,
KBN_CERT_PATH,
KBN_P12_PATH,
KBN_P12_PASSWORD,
} from './src/certs';
export * from './src/axios';
export * from './src/plugin_list';
export * from './src/streams';
export * from './src/extract';
export * from './src/diff_strings';