Skip to content
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

DO NOT MERGE - Test wolfi images with 8.16.0-SNAPSHOT #10933

Closed
wants to merge 27 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
9bcca26
Update elastic-package@0d3c215c
mrodm Aug 29, 2024
492bb28
Force stack 8.16.0
mrodm Aug 29, 2024
a9561d7
Show elastic-agent images from stack
mrodm Aug 29, 2024
bf7ff1a
Enable wolfi images via env var
mrodm Aug 29, 2024
53f8269
Add support to wolfi in oracle elastic-agent images
mrodm Aug 29, 2024
b61930e
Test with user root for those tests
mrodm Aug 30, 2024
8e483db
Use ubuntu image for system_audit
mrodm Aug 30, 2024
6a0f9af
Update apache_tomcat to use a non-root user in the test service
mrodm Aug 30, 2024
546ec64
[apache_tomcat] Test adding agent.user root in access,catalina datast…
mrodm Aug 30, 2024
a9f5a79
[oracle] Update provisioning scripts to exit in case of failure
mrodm Sep 2, 2024
fa1c6ef
Test with two packages
mrodm Sep 2, 2024
692e810
Update elastic-package@19b2d35c
mrodm Sep 3, 2024
5f605cc
Merge remote-tracking branch 'upstream/main' into test-wolfi-8.16
mrodm Sep 3, 2024
618b96c
Add stan package to list
mrodm Sep 3, 2024
75c19af
Test with stan with base_image systemd
mrodm Sep 3, 2024
eadd675
Add more packages to the allowed list
mrodm Sep 3, 2024
ea81ab2
Test all packages
mrodm Sep 4, 2024
5d00277
Update elastic-package@ea5621b4
mrodm Sep 4, 2024
e7362ac
Revert "[oracle] Update provisioning scripts to exit in case of failure"
mrodm Sep 4, 2024
66f9d75
Revert "Add support to wolfi in oracle elastic-agent images"
mrodm Sep 4, 2024
7fd425f
Merge remote-tracking branch 'upstream/main' into test-wolfi-8.16
mrodm Sep 4, 2024
7cd7d48
Use ubuntu based image for Elastic Agent
mrodm Sep 4, 2024
4079de9
Remove test Dockerfile from apache_tomcat
mrodm Sep 4, 2024
57cd022
Update iptables and journald to use complete image
mrodm Sep 4, 2024
170de34
Remove debug for 8.16.0-SNAPSHOT and wolfi
mrodm Sep 4, 2024
e873334
Add runtime setting
mrodm Sep 4, 2024
17fdeab
Test failing packages
mrodm Sep 5, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ env:
YQ_VERSION: 'v4.35.2'
JQ_VERSION: '1.7'
GH_CLI_VERSION: "2.29.0"
STACK_VERSION: 8.16.0-SNAPSHOT

# Agent images used in pipeline steps
LINUX_AGENT_IMAGE: "golang:${GO_VERSION}"
Expand Down
2 changes: 1 addition & 1 deletion .buildkite/scripts/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -742,7 +742,7 @@ teardown_test_package() {
}

list_all_directories() {
find . -maxdepth 1 -mindepth 1 -type d | xargs -I {} basename {} | sort
find . -maxdepth 1 -mindepth 1 -type d | xargs -I {} basename {} | sort | grep -E '^(apache_tomcat|stan|microsoft_sqlserver)$'
}

check_package() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ numeric_keyword_fields:
- log.file.idxhi
- log.file.idxlo
- log.file.vol
agent:
runtime: docker
user: root
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ numeric_keyword_fields:
- log.file.idxhi
- log.file.idxlo
- log.file.vol
agent:
runtime: docker
user: root
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@ data_stream:
vars:
paths:
- "/run/service_logs/iptables.journal"
agent:
runtime: docker
base_image: complete
3 changes: 3 additions & 0 deletions packages/journald/_dev/test/system/test-journald-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@ vars:
paths:
- "/run/service_logs/test.journal"
tags: [forwarded]
agent:
runtime: docker
base_image: complete
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ data_stream:
vars:
paths:
- "{{SERVICE_LOGS_DIR}}/error*"
agent:
runtime: docker
user: root
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ data_stream:
vars:
paths:
- "{{SERVICE_LOGS_DIR}}/stan.log*"
agent:
runtime: docker
user: root
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@ data_stream:
state_period: 1m
processors: |-
- add_locale: ~
agent:
runtime: docker
base_image: systemd