diff --git a/src/dev/build/build_distributables.js b/src/dev/build/build_distributables.js index b3f516977fe420..f606806163c8ae 100644 --- a/src/dev/build/build_distributables.js +++ b/src/dev/build/build_distributables.js @@ -20,7 +20,6 @@ import { getConfig, createRunner } from './lib'; import { - BootstrapTask, BuildPackagesTask, CleanExtraBinScriptsTask, CleanExtraBrowsersTask, @@ -92,7 +91,6 @@ export async function buildDistributables(options) { */ await run(VerifyEnvTask); await run(CleanTask); - await run(BootstrapTask); await run(downloadFreshNode ? DownloadNodeBuildsTask : VerifyExistingNodeBuildsTask); await run(ExtractNodeBuildsTask); diff --git a/src/dev/build/tasks/bootstrap_task.js b/src/dev/build/tasks/bootstrap_task.js deleted file mode 100644 index c8e81a3db42832..00000000000000 --- a/src/dev/build/tasks/bootstrap_task.js +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Licensed to Elasticsearch B.V. under one or more contributor - * license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright - * ownership. Elasticsearch B.V. licenses this file to you under - * the Apache License, Version 2.0 (the "License"); you may - * not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -import { exec } from '../lib'; - -export const BootstrapTask = { - global: true, - description: 'Running `yarn kbn bootstrap` to make sure all dependencies are up-to-date', - - async run(config, log) { - await exec(log, 'yarn', ['kbn', 'bootstrap', '--skip-kibana-extra']); - }, -}; diff --git a/src/dev/build/tasks/index.js b/src/dev/build/tasks/index.js index 156754e031feea..6fc15a2f921152 100644 --- a/src/dev/build/tasks/index.js +++ b/src/dev/build/tasks/index.js @@ -17,7 +17,6 @@ * under the License. */ -export * from './bootstrap_task'; export * from './build_packages_task'; export * from './clean_tasks'; export * from './copy_source_task';