Skip to content

Commit

Permalink
[Fleet] bundled packages - use package storage v2 for synthetics (ela…
Browse files Browse the repository at this point in the history
…stic#146931)

## Summary

Relates to failures seen on
elastic#146823

Synthetics package is just published into package storage v2, so it
requires to add an exception as it was done for the APM package.

(cherry picked from commit e76171c)
  • Loading branch information
dominiqueclarke committed Dec 5, 2022
1 parent 93852c9 commit d698903
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/dev/build/tasks/bundle_fleet_packages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`;
}

Expand Down

0 comments on commit d698903

Please sign in to comment.