Skip to content

Commit

Permalink
[Fleet] Bump install version after removal of deprecated _source.mode… (
Browse files Browse the repository at this point in the history
  • Loading branch information
nchaulet authored Dec 17, 2024
1 parent 0b74f62 commit 348ea81
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion x-pack/plugins/fleet/server/constants/fleet_es_assets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -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: [],
Expand Down Expand Up @@ -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: [],
Expand Down

0 comments on commit 348ea81

Please sign in to comment.