mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
# Backport This will backport the following commits from `main` to `8.6`: - [[build] Build canvas runtime before copying source files (#149872)](https://github.com/elastic/kibana/pull/149872) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Jon","email":"jon@elastic.co"},"sourceCommit":{"committedDate":"2023-01-30T21:00:39Z","message":"[build] Build canvas runtime before copying source files (#149872)\n\nThe canvas runtime build needs to be completed before source files are\r\ncopied so that it's available in the final distribution.","sha":"d485f2be684d4c5e85303375808bf1e44e24a12b","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","backport:prev-minor","ci:build-canvas-shareable-runtime","v8.7.0"],"number":149872,"url":"https://github.com/elastic/kibana/pull/149872","mergeCommit":{"message":"[build] Build canvas runtime before copying source files (#149872)\n\nThe canvas runtime build needs to be completed before source files are\r\ncopied so that it's available in the final distribution.","sha":"d485f2be684d4c5e85303375808bf1e44e24a12b"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/149872","number":149872,"mergeCommit":{"message":"[build] Build canvas runtime before copying source files (#149872)\n\nThe canvas runtime build needs to be completed before source files are\r\ncopied so that it's available in the final distribution.","sha":"d485f2be684d4c5e85303375808bf1e44e24a12b"}}]}] BACKPORT--> Co-authored-by: Jon <jon@elastic.co>
This commit is contained in:
parent
48ee21e3e4
commit
869870bbf2
1 changed files with 5 additions and 3 deletions
|
@ -62,6 +62,11 @@ export async function buildDistributables(log: ToolingLog, options: BuildOptions
|
|||
* run platform-generic build tasks
|
||||
*/
|
||||
if (options.createGenericFolders) {
|
||||
// Build before copying source files
|
||||
if (options.buildCanvasShareableRuntime) {
|
||||
await run(Tasks.BuildCanvasShareableRuntime);
|
||||
}
|
||||
|
||||
await run(Tasks.CopySource);
|
||||
await run(Tasks.CopyBinScripts);
|
||||
|
||||
|
@ -69,9 +74,6 @@ export async function buildDistributables(log: ToolingLog, options: BuildOptions
|
|||
await run(Tasks.CreateReadme);
|
||||
await run(Tasks.BuildBazelPackages);
|
||||
await run(Tasks.ReplaceFavicon);
|
||||
if (options.buildCanvasShareableRuntime) {
|
||||
await run(Tasks.BuildCanvasShareableRuntime);
|
||||
}
|
||||
await run(Tasks.BuildKibanaPlatformPlugins);
|
||||
if (options.buildExamplePlugins) {
|
||||
await run(Tasks.BuildKibanaExamplePlugins);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue