Skip to content

Commit

Permalink
Add agent.base_image setting in system test configuration file (#788)
Browse files Browse the repository at this point in the history

Co-authored-by: Jaime Soriano Pastor <jaime.soriano@elastic.co>
  • Loading branch information
mrodm and jsoriano authored Aug 29, 2024
1 parent 7688975 commit cec11fc
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
3 changes: 3 additions & 0 deletions spec/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
- description: Improved error message for unsupported package types.
type: enhancement
link: https://github.com/elastic/package-spec/pull/777
- description: Add new agent.base_image setting for system tests configuration files.
type: enhancement
link: https://github.com/elastic/package-spec/pull/788
- version: 3.2.1
changes:
- description: Improve error information for missing dataset field in manifest.
Expand Down
11 changes: 11 additions & 0 deletions spec/integration/data_stream/_dev/test/system/config.spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,17 @@ spec:
enum:
- docker
default: docker
base_image:
description: >
Elastic Agent image to be used for testing. Setting `default` will be used the
same Elastic Agent image as the stack. Setting `complete` will use the "complete"
image, that includes all supported collectors, a web browser and the required runtime
for synthetic testing.
type: string
enum:
- default
- complete
default: "default"
user:
description: "User that runs the Elastic Agent process"
type: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ wait_for_data_timeout: 10m
vars: ~
agent:
runtime: docker
base_image: complete
user: root
pid_mode: host
linux_capabilities:
Expand Down

0 comments on commit cec11fc

Please sign in to comment.