forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[9.0] [Automatic Import] Remove pipeline tests from the package (elas…
…tic#211223) (elastic#211385) # Backport This will backport the following commits from `main` to `9.0`: - [[Automatic Import] Remove pipeline tests from the package (elastic#211223)](elastic#211223) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Bharat Pasupula","email":"123897612+bhapas@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-02-17T09:28:57Z","message":"[Automatic Import] Remove pipeline tests from the package (elastic#211223)\n\n## Summary\r\n\r\nThis PR removes unused pipeline tests from the packaging of integration.\r\n\r\nThe pipeline tests are not run today when the integration is built.\r\nHence removing them for now.","sha":"54b6e65a2047cdcc727032e1734170e7c8307aff","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:prev-minor","backport:prev-major","ci:build-cloud-image","ci:cloud-deploy","Team:Security-Scalability","Feature:AutomaticImport","v9.1.0"],"title":"[Automatic Import] Remove pipeline tests from the package","number":211223,"url":"https://github.com/elastic/kibana/pull/211223","mergeCommit":{"message":"[Automatic Import] Remove pipeline tests from the package (elastic#211223)\n\n## Summary\r\n\r\nThis PR removes unused pipeline tests from the packaging of integration.\r\n\r\nThe pipeline tests are not run today when the integration is built.\r\nHence removing them for now.","sha":"54b6e65a2047cdcc727032e1734170e7c8307aff"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/211223","number":211223,"mergeCommit":{"message":"[Automatic Import] Remove pipeline tests from the package (elastic#211223)\n\n## Summary\r\n\r\nThis PR removes unused pipeline tests from the packaging of integration.\r\n\r\nThe pipeline tests are not run today when the integration is built.\r\nHence removing them for now.","sha":"54b6e65a2047cdcc727032e1734170e7c8307aff"}}]}] BACKPORT--> Co-authored-by: Bharat Pasupula <123897612+bhapas@users.noreply.github.com>
- Loading branch information
1 parent
b2618cf
commit d638532
Showing
20 changed files
with
103 additions
and
191 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
x-pack/platform/plugins/shared/automatic_import/server/lib/errors/build_integration_error.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/* | ||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
* or more contributor license agreements. Licensed under the Elastic License | ||
* 2.0; you may not use this file except in compliance with the Elastic License | ||
* 2.0. | ||
*/ | ||
|
||
import { KibanaResponseFactory } from '@kbn/core/server'; | ||
import { ErrorThatHandlesItsOwnResponse } from './types'; | ||
import { GenerationErrorCode } from '../../../common/constants'; | ||
|
||
export class BuildIntegrationError extends Error implements ErrorThatHandlesItsOwnResponse { | ||
private readonly errorCode: GenerationErrorCode = GenerationErrorCode.BUILD_INTEGRATION_ERROR; | ||
|
||
public sendResponse(res: KibanaResponseFactory) { | ||
return res.badRequest({ | ||
body: { message: this.message, attributes: { errorCode: this.errorCode } }, | ||
}); | ||
} | ||
} |
3 changes: 0 additions & 3 deletions
3
...rm/plugins/shared/automatic_import/server/templates/pipeline_tests/test_common_config.yml
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
...form/plugins/shared/automatic_import/server/templates/system_tests/docker_compose.yml.njk
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
...form/plugins/shared/automatic_import/server/templates/system_tests/service_filestream.njk
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
...ck/platform/plugins/shared/automatic_import/server/templates/system_tests/service_gcs.njk
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
...latform/plugins/shared/automatic_import/server/templates/system_tests/service_logfile.njk
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
...ck/platform/plugins/shared/automatic_import/server/templates/system_tests/service_tcp.njk
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
...ck/platform/plugins/shared/automatic_import/server/templates/system_tests/service_udp.njk
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
...gins/shared/automatic_import/server/templates/system_tests/test_filestream_config.yml.njk
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
...orm/plugins/shared/automatic_import/server/templates/system_tests/test_gcs_config.yml.njk
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
...plugins/shared/automatic_import/server/templates/system_tests/test_logfile_config.yml.njk
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
...orm/plugins/shared/automatic_import/server/templates/system_tests/test_tcp_config.yml.njk
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
...orm/plugins/shared/automatic_import/server/templates/system_tests/test_udp_config.yml.njk
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.