Skip to content

Commit

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

## Summary

Relates to failures seen on
#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.
  • Loading branch information
dominiqueclarke authored Dec 5, 2022
1 parent d1de864 commit e76171c
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 e76171c

Please sign in to comment.