kibana/scripts/build_product_doc_artifacts.js
Pierre Gayvallet abfed861e6
[8.x] [KB] create @kbn/product-doc-artifact-builder package (#193847) (#196206)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[KB] create `@kbn/product-doc-artifact-builder` package
(#193847)](https://github.com/elastic/kibana/pull/193847)

<!--- Backport version: 8.9.8 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Pierre
Gayvallet","email":"pierre.gayvallet@elastic.co"},"sourceCommit":{"committedDate":"2024-10-07T12:21:09Z","message":"[KB]
create `@kbn/product-doc-artifact-builder` package (#193847)\n\n##
Summary\r\n\r\nRelated
https://github.com/elastic/kibana/issues/193473\r\n\r\nAdd initial
implementation of the knowledge base artifact builder. This\r\nPR only
introduces the builder script, it doesn't do anything
about\r\nautomation.\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"1ab1add68e15b4a227209952c6ab69b0f96ca456","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport
missing","v9.0.0","backport:prev-minor","v8.16.0","Team:AI
Infra"],"number":193847,"url":"https://github.com/elastic/kibana/pull/193847","mergeCommit":{"message":"[KB]
create `@kbn/product-doc-artifact-builder` package (#193847)\n\n##
Summary\r\n\r\nRelated
https://github.com/elastic/kibana/issues/193473\r\n\r\nAdd initial
implementation of the knowledge base artifact builder. This\r\nPR only
introduces the builder script, it doesn't do anything
about\r\nautomation.\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"1ab1add68e15b4a227209952c6ab69b0f96ca456"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/193847","number":193847,"mergeCommit":{"message":"[KB]
create `@kbn/product-doc-artifact-builder` package (#193847)\n\n##
Summary\r\n\r\nRelated
https://github.com/elastic/kibana/issues/193473\r\n\r\nAdd initial
implementation of the knowledge base artifact builder. This\r\nPR only
introduces the builder script, it doesn't do anything
about\r\nautomation.\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"1ab1add68e15b4a227209952c6ab69b0f96ca456"}},{"branch":"8.x","label":"v8.16.0","labelRegex":"^v8.16.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
2024-10-15 08:02:35 +02:00

11 lines
561 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
* 2.0", the "GNU Affero General Public License v3.0 only", 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", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/
require('../src/setup_node_env');
require('@kbn/product-doc-artifact-builder').runScript();