mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
# Backport This will backport the following commits from `main` to `8.5`: - [[Fleet] bundled packages - use package storage v2 for synthetics (#146931)](https://github.com/elastic/kibana/pull/146931) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Dominique Clarke","email":"dominique.clarke@elastic.co"},"sourceCommit":{"committedDate":"2022-12-05T14:02:07Z","message":"[Fleet] bundled packages - use package storage v2 for synthetics (#146931)\n\n## Summary\r\n\r\nRelates to failures seen on\r\nhttps://github.com/elastic/kibana/pull/146823\r\n\r\nSynthetics package is just published into package storage v2, so it\r\nrequires to add an exception as it was done for the APM package.","sha":"e76171cb9865a731810014d22febb6f42ead8c9a","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","Team:Fleet","v8.6.0","v8.7.0","v8.5.3"],"number":146931,"url":"https://github.com/elastic/kibana/pull/146931","mergeCommit":{"message":"[Fleet] bundled packages - use package storage v2 for synthetics (#146931)\n\n## Summary\r\n\r\nRelates to failures seen on\r\nhttps://github.com/elastic/kibana/pull/146823\r\n\r\nSynthetics package is just published into package storage v2, so it\r\nrequires to add an exception as it was done for the APM package.","sha":"e76171cb9865a731810014d22febb6f42ead8c9a"}},"sourceBranch":"main","suggestedTargetBranches":["8.6","8.5"],"targetPullRequestStates":[{"branch":"8.6","label":"v8.6.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/146931","number":146931,"mergeCommit":{"message":"[Fleet] bundled packages - use package storage v2 for synthetics (#146931)\n\n## Summary\r\n\r\nRelates to failures seen on\r\nhttps://github.com/elastic/kibana/pull/146823\r\n\r\nSynthetics package is just published into package storage v2, so it\r\nrequires to add an exception as it was done for the APM package.","sha":"e76171cb9865a731810014d22febb6f42ead8c9a"}},{"branch":"8.5","label":"v8.5.3","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Dominique Clarke <dominique.clarke@elastic.co>
This commit is contained in:
parent
93852c98d9
commit
9454ffb02d
1 changed files with 6 additions and 2 deletions
|
@ -70,8 +70,12 @@ export const BundleFleetPackages: Task = {
|
|||
const archivePath = `${fleetPackage.name}-${versionToWrite}.zip`;
|
||||
let archiveUrl = `${eprUrl}/epr/${fleetPackage.name}/${fleetPackage.name}-${fleetPackage.version}.zip`;
|
||||
|
||||
// Point APM and Endpoint packages to package storage v2
|
||||
if (fleetPackage.name === 'apm' || fleetPackage.name === 'endpoint') {
|
||||
// Point APM, Endpoint and Synthetics packages to package storage v2
|
||||
if (
|
||||
fleetPackage.name === 'apm' ||
|
||||
fleetPackage.name === 'endpoint' ||
|
||||
fleetPackage.name === 'synthetics'
|
||||
) {
|
||||
archiveUrl = `${PACKAGE_STORAGE_V2_URL}/epr/${fleetPackage.name}/${fleetPackage.name}-${fleetPackage.version}.zip`;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue