afe785b43a
- Updates Linux Chromium builds to accept architecture argument (defaults to x64) for arm64 support. - Example: `python ~/chromium/build_chromium/build.py 312d84c8ce62810976feda0d3457108a6dfff9e6 arm64` - Updates all Chromium builds to include architecture in filename. - `chromium-312d84c-linux_arm64.zip` _(new)_ - `chromium-312d84c-linux.zip` > `chromium-312d84c-linux_x64.zip` - Moves Chromium install from data directory to `x-pack/plugins/reporting/chromium` - Moves Chromium download cache from `x-pack/plugins/reporting/.chromium` to `.chromium` - Installs Chromium during build (closes #53664) - Updates build to be architecture aware (x64 and aarch64) - Removed Chromium debug logs, they were not helpful and can not be written inside the Kibana root. If we were to keep them, we would need to write to `logging.dist`. Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
20 lines
652 B
JavaScript
20 lines
652 B
JavaScript
/*
|
|
* 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.
|
|
*/
|
|
|
|
require('../src/setup_node_env');
|
|
|
|
const { buildTask } = require('./tasks/build');
|
|
const { devTask } = require('./tasks/dev');
|
|
const { testTask, testKarmaTask, testKarmaDebugTask } = require('./tasks/test');
|
|
|
|
// export the tasks that are runnable from the CLI
|
|
module.exports = {
|
|
build: buildTask,
|
|
dev: devTask,
|
|
test: testTask,
|
|
'test:karma': testKarmaTask,
|
|
'test:karma:debug': testKarmaDebugTask,
|
|
};
|