Skip to content

Commit

Permalink
[8.x] [Fleet] Bump install version after removal of deprecated _sourc…
Browse files Browse the repository at this point in the history
…e.mode… (#204471) (#204604)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Fleet] Bump install version after removal of deprecated
_source.mode… (#204471)](#204471)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Nicolas
Chaulet","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-12-17T15:39:08Z","message":"[Fleet]
Bump install version after removal of deprecated _source.mode…
(#204471)","sha":"348ea81b1e85e846c855635c51e4e7fc3136bda1","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Fleet","v9.0.0","backport:prev-minor","v8.18.0"],"title":"[Fleet]
Bump install version after removal of deprecated
_source.mode…","number":204471,"url":"https://github.com/elastic/kibana/pull/204471","mergeCommit":{"message":"[Fleet]
Bump install version after removal of deprecated _source.mode…
(#204471)","sha":"348ea81b1e85e846c855635c51e4e7fc3136bda1"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/204471","number":204471,"mergeCommit":{"message":"[Fleet]
Bump install version after removal of deprecated _source.mode…
(#204471)","sha":"348ea81b1e85e846c855635c51e4e7fc3136bda1"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Nicolas Chaulet <[email protected]>
  • Loading branch information
kibanamachine and nchaulet authored Dec 17, 2024
1 parent 1c7e33a commit 442d5f2
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 442d5f2

Please sign in to comment.