[Fleet] Bump install version after removal of deprecated _source.mode… (#204471)

This commit is contained in:
Nicolas Chaulet 2024-12-17 10:39:08 -05:00 committed by GitHub
parent 0b74f62a33
commit 348ea81b1e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 6 deletions

View file

@ -11,7 +11,7 @@ import { getESAssetMetadata } from '../services/epm/elasticsearch/meta';
const meta = getESAssetMetadata();
export const FLEET_INSTALL_FORMAT_VERSION = '1.3.0';
export const FLEET_INSTALL_FORMAT_VERSION = '1.4.0';
export const FLEET_AGENT_POLICIES_SCHEMA_VERSION = '1.1.1';

View file

@ -13,14 +13,12 @@ import {
} from '@kbn/core/server/mocks';
import { DEFAULT_SPACE_ID } from '@kbn/spaces-plugin/common/constants';
import { FLEET_INSTALL_FORMAT_VERSION } from '../../../../../constants';
import { PACKAGES_SAVED_OBJECT_TYPE } from '../../../../../../common/constants';
import { appContextService } from '../../../../app_context';
import { createAppContextStartContractMock } from '../../../../../mocks';
import { auditLoggingService } from '../../../../audit_logging';
import { packagePolicyService } from '../../../../package_policy';
import { createArchiveIteratorFromMap } from '../../../archive/archive_iterator';
import { stepSaveSystemObject } from './step_save_system_object';
@ -94,7 +92,7 @@ describe('updateLatestExecutedState', () => {
'epm-packages',
'test-integration',
{
install_format_schema_version: '1.3.0',
install_format_schema_version: FLEET_INSTALL_FORMAT_VERSION,
install_status: 'installed',
install_version: '1.0.0',
latest_install_failed_attempts: [],
@ -161,7 +159,7 @@ describe('updateLatestExecutedState', () => {
'epm-packages',
'test-integration',
{
install_format_schema_version: '1.3.0',
install_format_schema_version: FLEET_INSTALL_FORMAT_VERSION,
install_status: 'installed',
install_version: '1.0.0',
latest_install_failed_attempts: [],