-
Notifications
You must be signed in to change notification settings - Fork 8.6k
Use dockerized package registry for serverless #250680
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
mohamedhamed-ahmed
merged 15 commits into
elastic:main
from
mohamedhamed-ahmed:use-dockerized-package-registry-in-serverless-tests
Jan 30, 2026
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
e362048
Use dockerized package registry for serverless
mohamedhamed-ahmed b859477
Changes from node scripts/eslint_all_files --no-cache --fix
kibanamachine 60e7b12
bug fix
mohamedhamed-ahmed 2abb34c
skip security tests using dockerized image
mohamedhamed-ahmed 50d3275
Merge branch 'main' into use-dockerized-package-registry-in-serverles…
mohamedhamed-ahmed 7fa1048
isolate onboarding tests to prevent dockerized registry usage
mohamedhamed-ahmed 0211e8f
Merge branch 'main' into use-dockerized-package-registry-in-serverles…
mohamedhamed-ahmed b26add1
Merge branch 'main' into use-dockerized-package-registry-in-serverles…
mohamedhamed-ahmed c5ba26a
fix config
mohamedhamed-ahmed e22d0e3
Merge branch 'use-dockerized-package-registry-in-serverless-tests' of…
mohamedhamed-ahmed 3534ba3
Merge branch 'main' into use-dockerized-package-registry-in-serverles…
mohamedhamed-ahmed b9ec8ba
Merge branch 'main' into use-dockerized-package-registry-in-serverles…
mohamedhamed-ahmed 62bfdda
bug fix
mohamedhamed-ahmed b2d8889
bug fix
mohamedhamed-ahmed 093fbba
Merge branch 'main' into use-dockerized-package-registry-in-serverles…
mohamedhamed-ahmed File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
26 changes: 26 additions & 0 deletions
26
x-pack/solutions/observability/test/serverless/functional/configs/config.onboarding.ts
This file contains hidden or 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,26 @@ | ||
| /* | ||
| * 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 { createTestConfig } from '@kbn/test-suites-xpack-platform/serverless/functional/config.base'; | ||
| import { pageObjects } from '../page_objects'; | ||
| import { services } from '../services'; | ||
|
|
||
| export default createTestConfig({ | ||
| serverlessProject: 'oblt', | ||
| services, | ||
| pageObjects, | ||
| testFiles: [require.resolve('./index.onboarding.ts')], | ||
| junit: { | ||
| reportName: 'Serverless Observability Onboarding Functional Tests', | ||
| }, | ||
| suiteTags: { exclude: ['skipSvlOblt'] }, | ||
|
|
||
| // include settings from project controller | ||
| esServerArgs: [], | ||
| kbnServerArgs: [], | ||
| enableFleetDockerRegistry: false, | ||
| }); |
16 changes: 16 additions & 0 deletions
16
x-pack/solutions/observability/test/serverless/functional/configs/index.onboarding.ts
This file contains hidden or 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,16 @@ | ||
| /* | ||
| * 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 type { FtrProviderContext } from '../ftr_provider_context'; | ||
|
|
||
| export default function ({ loadTestFile }: FtrProviderContext) { | ||
| describe('serverless observability UI - onboarding', function () { | ||
| this.tags(['esGate']); | ||
|
|
||
| loadTestFile(require.resolve('../test_suites/onboarding')); | ||
| }); | ||
| } |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These test suite needs Fleet Registry to load an integration. Could this be why I am seeing E2E test failures for cloud_security_posture/agentless?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@seanrathier they do need it but not the dockerized version of the registry, that is why I set this to false here. The failure is due to something else I am working on it now and will keep you posted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@seanrathier issue fixed in this commit 👍