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

Switch back to Ubuntu-based Docker images in the cloud #6389

Closed
wants to merge 325 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
325 commits
Select commit Hold shift + click to select a range
5b94604
lint: remove unused jenkins scripts (#5507)
kruskall Sep 17, 2024
49a1f01
Rename elastic-agent-wolfi-complete->elastic-agent-complete-wolfi (#5…
rdner Sep 19, 2024
808d28e
Fix the complete image for Wolfi (#5563)
rdner Sep 19, 2024
3a66b5f
Force agent version to 8.16.0 to fix CI (#5565)
pchila Sep 19, 2024
d909699
Read Kibana version to build dashboard export folder (#5564)
belimawr Sep 20, 2024
d227832
Update docker dependency (#5538)
ycombinator Sep 20, 2024
346e5be
add support for CLI flag for mTLS client certificate key passphrase (…
AndersonQ Sep 20, 2024
2feeb36
Clarify purpose of `.agent-versions` file (#5522)
ycombinator Sep 20, 2024
aa56bc9
Add pprofextension from the OTel-contrib (#5556)
alexsapran Sep 20, 2024
10038fc
chore: deps(updatecli/policy): bump "ghcr.io/updatecli/policies/autod…
github-actions[bot] Sep 20, 2024
fc6ed90
Change maintainer label to opencontainers in Dockerfile (#5527)
mauri870 Sep 20, 2024
5c24129
[Helm] Implement values.schema.json (#5535)
pkoutsovasilis Sep 20, 2024
b284e56
Add apm trace sampling (#5492)
pchila Sep 20, 2024
f305af9
[Automation] Bump Golang version to 1.22.7 (#5569)
github-actions[bot] Sep 20, 2024
67b709f
Add ability to run the same tests with multi docker image variants (#…
blakerouse Sep 20, 2024
116848c
chore: deps(updatecli/policy): bump "ghcr.io/elastic/oblt-updatecli-p…
github-actions[bot] Sep 23, 2024
8e31a5d
Add pprof endpoints to the monitoring server if enabled (#5562)
swiatekm Sep 24, 2024
1a10c3d
Fix ownership of component specs in elastic-agent docker image (#5616)
pchila Sep 27, 2024
2fecda2
add kubernetes v1.31 to test matrix (#5587)
mauri870 Sep 30, 2024
1eae51c
Skip TestAPMConfig. (#5625)
blakerouse Sep 30, 2024
c645a5a
Add ability to generate buildkite pipelines from integration testing …
blakerouse Sep 30, 2024
72e57b2
Handle BUILDKITE_MESSAGE length in pre-command.ps1 (#5610)
rowlandgeoff Sep 30, 2024
701f8b9
Add elastic-agent-service container to packaging (#5349)
blakerouse Sep 30, 2024
ed98d51
[CI] Soft fail merge coverage reports step (#5586)
ycombinator Sep 30, 2024
0ebadad
build(deps): bump github.com/elastic/elastic-agent-libs (#5559)
dependabot[bot] Oct 1, 2024
bbee90a
refactor: remove unused replace directives (#5590)
kruskall Oct 1, 2024
d0c7bea
build(deps): bump github.com/elastic/go-sysinfo from 1.14.1 to 1.14.2…
dependabot[bot] Oct 1, 2024
218c984
Allow setting ES api key via env variable in container mode (#5536)
swiatekm Oct 1, 2024
a9d54fb
Fix linter errors (#5442)
swiatekm Oct 1, 2024
23621df
Include python wheel packages when moving downloaded dependencies arc…
pchila Oct 1, 2024
3fe5741
TestManager_StartStopComponent add test logs, alternate manager ready…
michel-laterman Oct 1, 2024
95021e1
Clarify that Agent package used by integration tests relies on Beats …
ycombinator Oct 1, 2024
e06e786
Adjust memory requests and limits for elastic-agent when run in Kuber…
MichaelKatsoulis Oct 2, 2024
b8a685c
Fix docker image build when multiple platforms are specified (#5658)
pchila Oct 2, 2024
c57a24e
Revert "Skip TestAPMConfig. (#5625)" (#5655)
jlind23 Oct 2, 2024
483bc67
Update Makefile to remove reviewers (#5663)
jlind23 Oct 2, 2024
835cd9c
mage: check that links are live in the OTel README (#5443)
mauri870 Oct 2, 2024
6183312
Add daily cron for elastic-agent (#5599)
rowlandgeoff Oct 2, 2024
5b476e7
feat: bump gowin32 for windows arm 32 support (#5639)
kruskall Oct 2, 2024
ef1b7b7
build(deps): bump github.com/elastic/elastic-agent-system-metrics fro…
dependabot[bot] Oct 2, 2024
91bd690
build(deps): bump updatecli/updatecli-action from 2.67.0 to 2.68.0 (#…
dependabot[bot] Oct 2, 2024
e4df116
chore: update kind version to v0.24.0 (#5629)
mauri870 Oct 2, 2024
f5e7120
build(deps): bump github.com/elastic/opentelemetry-lib from 0.9.0 to …
dependabot[bot] Oct 2, 2024
a2cf7f6
build(deps): bump github.com/elastic/opentelemetry-collector-componen…
dependabot[bot] Oct 3, 2024
11cb0a9
fix go vet errors with Go 1.24 (#5651)
mauri870 Oct 3, 2024
f5e8d14
build(deps): bump the otel-dependencies group across 1 directory with…
dependabot[bot] Oct 3, 2024
054e867
feat: drop hashstructure dependency (#5653)
kruskall Oct 3, 2024
07c2a92
Call fleet-server audit/unenroll endpoint on uninstall (#5302)
michel-laterman Oct 3, 2024
4f025d4
Fixing helm-chart values.yaml presets docs (#5497)
SampaioLeal Oct 3, 2024
bd219d6
Add filebeat receiver to otel mode (#5672)
leehinman Oct 3, 2024
c6ba6b2
Stop elastic-agent inspect from printing output twice (#5692)
michel-laterman Oct 4, 2024
bbe332a
chore: update Ubuntu base image from 20.04 to 24.04 (#5644)
andrzej-stencel Oct 4, 2024
99c7e1e
add logging to flakey test case (#5316)
michel-laterman Oct 4, 2024
3072cc5
[Automation] Bump Golang version to 1.22.8 (#5690)
github-actions[bot] Oct 4, 2024
1e10bb4
Add comment to replace ES query with API call (#5694)
ycombinator Oct 4, 2024
adbce79
Shorten allowlist for `replace`able dependencies (#5677)
ycombinator Oct 4, 2024
95524c7
build(deps): bump github.com/elastic/elastic-agent-autodiscover from …
dependabot[bot] Oct 4, 2024
dead4dc
Revert "Add filebeat receiver to otel mode (#5672)" (#5709)
ycombinator Oct 7, 2024
862b044
Fix typo in float format for APM_SAMPLING_RATE (#5712)
pchila Oct 7, 2024
d7546dd
redact secret_paths from elastic-agent inspect output (#5621)
michel-laterman Oct 7, 2024
1eb5e12
Update elastic-agent-logging.md (#4483)
e-parth-pathak Oct 7, 2024
32eb0e0
[CI] Pipeline resource for BK integration tests (#5717)
pazone Oct 7, 2024
1c994b4
[Automation] Bump Golang version to 1.22.8 (#5731)
github-actions[bot] Oct 7, 2024
ce5f623
Remove cloud-defend from agent (#5481)
mjwolf Oct 8, 2024
05f9e81
Only watch metadata for ReplicaSets in K8s provider (#5699)
swiatekm Oct 8, 2024
7aa8bb2
Ess terraform + run integration tests on BK agents (#5113)
pazone Oct 8, 2024
bfef4fa
Update all inconsistent OTel dependencies to v0.110.0 (#5720)
lahsivjar Oct 8, 2024
948ffcf
build(deps): bump go.opentelemetry.io/collector/confmap/provider/http…
dependabot[bot] Oct 8, 2024
1d3e007
build(deps): bump the otel-dependencies group across 1 directory with…
dependabot[bot] Oct 8, 2024
0d5b335
Add JUnit annotate BK plugin (#5473)
alexsapran Oct 8, 2024
ae48b95
fix internal/pkg/agent/cmd.TestEnroll (#5741)
AndersonQ Oct 8, 2024
26f3d59
[testing/integration]: fix TestLogIngestionFleetManaged (#5648)
VihasMakwana Oct 10, 2024
8b1737a
Add more details about Docker image variants (#5753)
jlind23 Oct 10, 2024
f2af90f
Update labels to use kubernetes recommended labels (#4722)
therealdwright Oct 11, 2024
55bed2f
Update CODEOWNERS for Eng Prod ownership (#5761)
rowlandgeoff Oct 11, 2024
f560826
Add components for supporting APM functions (#5713)
lahsivjar Oct 11, 2024
0a96561
Lower retry count and improve error message of uninstall notification…
michel-laterman Oct 11, 2024
a24fe4f
test: replace crypto/md5 usage with sha512 (#5768)
kruskall Oct 11, 2024
d6da7eb
Attempt at retrying choco install (#5764)
rowlandgeoff Oct 13, 2024
eedce01
[Kubernetes] Add kustomize template for hints auto discover (#5643)
MichaelKatsoulis Oct 14, 2024
33bf0a2
Bump up APM components version (#5778)
lahsivjar Oct 15, 2024
b5d15aa
build(deps): bump github.com/elastic/elastic-agent-libs from 0.11.0 t…
dependabot[bot] Oct 15, 2024
431b094
BK Integration tests: fix retry usage (#5760)
pazone Oct 15, 2024
8ebaa7d
Exclude the coverage files from the annotate step (#5773)
alexsapran Oct 15, 2024
e174d83
Add retries to choco install steps (#5779)
rowlandgeoff Oct 15, 2024
1c041a2
Decrypt client TLS certificate key for Elastic Defend (#5542)
AndersonQ Oct 15, 2024
3f1e4da
Don't run any agent service when running `otel` subcommand (#5748)
blakerouse Oct 15, 2024
1f3ade3
Diagnostics file writes use RedactSecretPaths (#5745)
michel-laterman Oct 15, 2024
feffc78
add label backport:skip (#5791)
gizas Oct 16, 2024
9e5b8a7
Add all Docker images to K8s integration tests (#5790)
rdner Oct 16, 2024
fc05e0d
Move back merged coverage report to build folder (#5799)
alexsapran Oct 16, 2024
395c65c
Revert change to collect process dump after every test (#5794)
michel-laterman Oct 16, 2024
3b1f793
[Release] Modify mergify config for backporting to 8.16 branch (#5810)
ycombinator Oct 16, 2024
a29611b
CODEOWNERS refactor (#5783)
rowlandgeoff Oct 18, 2024
283429a
build(deps): bump github.com/elastic/elastic-agent-libs from 0.12.1 t…
dependabot[bot] Oct 19, 2024
49579ae
[chore][otel] Enable persistence in otel.yml (#5549)
VihasMakwana Oct 21, 2024
2241146
Devmachine mage target (#5777)
pazone Oct 23, 2024
100f433
Update otel samples to send otel native data (#5826)
carsonip Oct 23, 2024
3fda88b
[main][Automation] Update versions (#5820)
github-actions[bot] Oct 23, 2024
64738b1
Add notification for when the packaging pipeline fails (#5844)
alexsapran Oct 24, 2024
932a09a
Switch crossbuilding to Debian 11 (#5847)
rdner Oct 24, 2024
c49b8e5
[main][Automation] Update versions (#5846)
github-actions[bot] Oct 25, 2024
bf81188
Update OTel components to v0.112.0/v1.18.0 (#5838)
andrzej-stencel Oct 25, 2024
30688d4
build(deps): bump github.com/elastic/opentelemetry-collector-componen…
dependabot[bot] Oct 25, 2024
b5b842d
build(deps): bump github.com/elastic/opentelemetry-collector-componen…
dependabot[bot] Oct 25, 2024
ddda58b
build(deps): bump github.com/elastic/elastic-agent-libs from 0.13.0 t…
dependabot[bot] Oct 25, 2024
d1b9744
[main][Automation] Update versions (#5863)
github-actions[bot] Oct 28, 2024
a1c917a
build(deps): bump github.com/elastic/opentelemetry-collector-componen…
dependabot[bot] Oct 28, 2024
ad041d4
proxytest: proxy HTTPS request using MITM (#5802)
AndersonQ Oct 28, 2024
c9cd580
Fix like https://github.com/elastic/beats/issues/41270 (#5868)
leehinman Oct 29, 2024
934a81d
use production api key link instead of staging (#5866)
kaanyalti Oct 29, 2024
bd29f19
build(deps): bump github.com/elastic/elastic-agent-libs from 0.14.0 t…
dependabot[bot] Oct 30, 2024
a5de320
Revert forcing Agent version to be 8.16.0 (#5617)
ycombinator Oct 30, 2024
053b320
[helm]: implement support for defining image pull secrets (#5854)
pkoutsovasilis Oct 30, 2024
460f44e
[helm]: integration config for scheduler and controller-manager condi…
pkoutsovasilis Oct 30, 2024
e6f281a
[helm]: implement system integration as chart built-in (#5855)
pkoutsovasilis Oct 30, 2024
fc99ac7
Skip TestAPMConfig for now (#5891)
ycombinator Oct 30, 2024
89dca1d
Add filebeat receiver to otel mode (#5833)
leehinman Oct 30, 2024
0cdfef5
Fix elastic-agent-service Docker container entrypoint (#5892)
cmacknz Oct 30, 2024
02fb75e
proxytest: fix log after test finished (#5878)
AndersonQ Oct 31, 2024
68be8a7
build(deps): bump github.com/elastic/go-sysinfo from 1.14.2 to 1.15.0…
dependabot[bot] Oct 31, 2024
9d7fefa
ignore env.sh generated by mage integration:*EnvFile (#5911)
AndersonQ Nov 1, 2024
484de91
Stop using deprecated deployment templates (#5910)
ycombinator Nov 1, 2024
d39b248
Trim spaces and add unit tests for `cli.confirm` function (#5909)
ycombinator Nov 1, 2024
e511550
feat: bump mock-es dependency (#5654)
kruskall Nov 1, 2024
16a2a09
build(deps): bump github.com/elastic/elastic-agent-libs (#5920)
dependabot[bot] Nov 1, 2024
ab2b7ee
Assume installed agent on upgrade (#5879)
michalpristas Nov 4, 2024
f891fb0
Use a PodTemplate resource in the Helm Chart (#5831)
swiatekm Nov 4, 2024
3eedba2
Fix migration log messages (#5907)
faec Nov 4, 2024
9d2c3c9
[helm]: forward agent providers configuration for fleet mode (#5912)
pkoutsovasilis Nov 4, 2024
a338543
add integration tests using a proxy with mTLS for control plane with …
AndersonQ Nov 5, 2024
20920ab
feat: default leader election disabled and derive the lease name from…
pkoutsovasilis Nov 5, 2024
7978189
Introduce filter by group and dry-run for integration tests (#5900)
pchila Nov 6, 2024
b6a608d
Add support of the new branch setup to the version update automation …
rdner Nov 6, 2024
1fb4ad2
build(deps): bump the otel-dependencies group across 1 directory with…
dependabot[bot] Nov 7, 2024
fc8b914
build(deps): bump github.com/elastic/go-seccomp-bpf from 1.4.0 to 1.5…
dependabot[bot] Nov 7, 2024
e423d73
[proxytest] Wait all requests to finish before closing the server (#5…
AndersonQ Nov 7, 2024
0dc6cbf
[Automation] Bump Golang version to 1.22.9 (#5972)
github-actions[bot] Nov 7, 2024
5ac225d
[helm] support using user-created serviceAccount and clusterRole (#5593)
pkoutsovasilis Nov 8, 2024
8579474
Feature/4890 detect fail early upgrade (#5864)
kaanyalti Nov 8, 2024
92e4906
Add go.mod full version support to updatecli (#5979)
rdner Nov 8, 2024
4b8eccb
build(deps): bump github.com/elastic/elastic-agent-libs from 0.17.0 t…
dependabot[bot] Nov 8, 2024
f994f5b
[helm] agent preset replicas (#5981)
pkoutsovasilis Nov 8, 2024
c01636e
[CI] Buildkite integration tests: Run integration tests on ARM (#5956)
pazone Nov 11, 2024
f423b7e
build(deps): bump updatecli/updatecli-action from 2.68.0 to 2.70.0 (#…
dependabot[bot] Nov 11, 2024
212a839
Revert "Skip TestAPMConfig for now (#5891)" (#5993)
ycombinator Nov 12, 2024
9396e19
[helm] add envFrom in agent preset (#5992)
pkoutsovasilis Nov 12, 2024
d9587c4
Add `os_family`, `os_platform` and `os_version` to host provider (#5941)
belimawr Nov 12, 2024
a0111f1
[helm] fix disabling cluster role and service account (#6004)
pkoutsovasilis Nov 13, 2024
e96fd9f
[CI] Run Buildkite integration tests by CRON (#6013)
pazone Nov 13, 2024
b7bbe52
[main][Automation] Update versions (#6007)
github-actions[bot] Nov 13, 2024
be5debd
Buildkite integration tests: Windows 2022 Sudo tests (#6010)
pazone Nov 13, 2024
1d8229a
build(deps): bump github.com/elastic/elastic-agent-system-metrics fro…
dependabot[bot] Nov 13, 2024
4b15e1a
[CI] Fix windows image prefix in the new integration pipeline (#6019)
pazone Nov 13, 2024
8c4bfc1
Add filebeat receiver end to end test (#5997)
leehinman Nov 13, 2024
e6f7de4
Enhancement/5320 add integration test escape secrets in policy (#5987)
kaanyalti Nov 14, 2024
cbb08c9
fix: updated excluded error strings (#6031)
kaanyalti Nov 14, 2024
9c7552f
Remove endpoint security from linux containers (#6016)
kaanyalti Nov 15, 2024
0c4e7a9
[CI] Buildkite integration tests: Windows ess retry script (#6030)
pazone Nov 15, 2024
9fd3aae
deps: Bump ironbank version to 9.5 (#6046)
github-actions[bot] Nov 18, 2024
be35854
Add var generation benchmark (#6028)
swiatekm Nov 18, 2024
434986e
Emit Pod data only for running Pods in the Kubernetes provider (#6011)
swiatekm Nov 18, 2024
85478d1
added rhel8 tests (#6044)
oakrizan Nov 18, 2024
b50cc12
[CI] Buildkite integration tests: Added 2 missing groups (#6057)
pazone Nov 18, 2024
748ae95
stop reading system log files for OtelTest (#6061)
leehinman Nov 18, 2024
e8e4e7b
[CI] Buildkite integration tests: Made AWS ARM instance size equal to…
pazone Nov 18, 2024
4e98344
Skip notifyFleetAuditUninstall on Windows (#6065)
blakerouse Nov 18, 2024
574ec32
Fix logs integration test (#6069)
pazone Nov 19, 2024
825a15d
[CI] MacOS 15 testing (#5919)
pazone Nov 19, 2024
f64785c
[CI] BK Integration tests: Run non-sudo tests (#6045)
pazone Nov 19, 2024
2a46509
Add failureThreshold to elastic-agent self-monitoring config (#5999)
pchila Nov 20, 2024
0097d21
[helm] add lint checks for renderExamples (#6060)
pkoutsovasilis Nov 20, 2024
5cd2518
[helm] remove unsupported Release fields for publishing the chart as …
pkoutsovasilis Nov 20, 2024
b07566b
Add support for running EDOT inside of running Elastic Agent (#5767)
blakerouse Nov 20, 2024
4bec23e
[Release] add-backport-next (#6099)
elastic-vault-github-plugin-prod[bot] Nov 20, 2024
db6fbe2
Don't deepcopy AST when generating vars (#6058)
swiatekm Nov 21, 2024
c152685
build(deps): bump slackapi/slack-github-action from 1.27.0 to 2.0.0 (…
dependabot[bot] Nov 21, 2024
524c403
[Kubernetes provider]Update kubernetes provider README (#5990)
MichaelKatsoulis Nov 22, 2024
e983650
fix(6107): skipping escaping secrets in policy test because it is fla…
kaanyalti Nov 22, 2024
061e862
Elastic Defend cannot run in emulation (#6095)
intxgo Nov 25, 2024
753aedb
mark and skip flaky TestOTelManager_Run (#6126)
michalpristas Nov 25, 2024
15e1e95
build(deps): bump github.com/elastic/go-docappender/v2 from 2.3.0 to …
dependabot[bot] Nov 25, 2024
ccf4da5
added analytics plugin (#6145)
oakrizan Nov 26, 2024
bb734a1
Test fix: propely collect hostnames for GetAgentByPolicyIDAndHostname…
pazone Nov 26, 2024
0f5fbd7
ci: ignore beats in dependabot config (#6086)
kruskall Nov 26, 2024
4cbc18b
[CI] BK integration tests: ESS deployment adjustments (#6150)
pazone Nov 27, 2024
031d8d0
[CI] Add BUILDKITE_ANALYTICS_TOKEN to buildkite integration tests (#6…
pazone Nov 27, 2024
8e83ce0
re-enable otel subcommand on Windows (#6068)
leehinman Nov 27, 2024
fe0f6b0
Store AST directly in provider mappings (#6114)
swiatekm Nov 27, 2024
be97be9
Fix BUILDKITE_ANALYTICS_TOKEN (#6163)
pazone Nov 28, 2024
7190978
Increase failure threshold for agent monitoring inputs from 2 to 5 (#…
pchila Nov 28, 2024
f1d9cd4
Update catalog file with correct system property (#6003)
ev1yehor Nov 28, 2024
a4bf7d0
Add 1 independent release into upgrade matrix (#6075)
michalpristas Nov 29, 2024
1ab3edc
Update OTel to v0.114.0 (#6113)
andrzej-stencel Dec 2, 2024
5401628
build(deps): bump github.com/elastic/mito from 1.15.0 to 1.16.0 (#6122)
dependabot[bot] Dec 2, 2024
b811364
Only run providers that are referenced in the policy (#6169)
blakerouse Dec 2, 2024
56901ed
build(deps): bump github.com/elastic/elastic-agent-client/v7 from 7.1…
dependabot[bot] Dec 2, 2024
4123e5e
build(deps): bump github.com/elastic/go-elasticsearch/v8 from 8.15.0 …
dependabot[bot] Dec 2, 2024
7d4ddfd
Add an indicative limit for judging if a PR is too big (#6128)
pchila Dec 2, 2024
122ace2
build(deps): bump updatecli/updatecli-action from 2.70.0 to 2.71.0 (#…
dependabot[bot] Dec 3, 2024
8b3076e
Skipping flaky test (#6190)
ycombinator Dec 3, 2024
8939f0f
Make redaction of common keys in diagnostics case insensitive (#6109)
andrzej-stencel Dec 3, 2024
dccfb70
Add support for pre existing Active Directory user (#5988)
michalpristas Dec 3, 2024
634f029
gh-actions: fix slack bump (#6137)
v1v Dec 4, 2024
a7a1b74
build(deps): bump updatecli/updatecli-action from 2.71.0 to 2.72.0 (#…
dependabot[bot] Dec 4, 2024
54932dc
add metricbeat receiver (#6182)
leehinman Dec 4, 2024
08b22c6
Remove SonarQube badge (#6218)
ycombinator Dec 5, 2024
bd31fb3
add OpenTelemetry routing connector to EDOT (#6210)
rogercoll Dec 5, 2024
6eb9290
Skip new ARM tests: https://github.com/elastic/ingest-dev/issues/4610…
pazone Dec 5, 2024
1188b00
Update OTel to v0.115.0 (#6222)
andrzej-stencel Dec 5, 2024
3dd2889
Teverted test collector plugin for bk integration tests. It doesn't s…
pazone Dec 5, 2024
472cb1b
build(deps): bump github.com/elastic/elastic-agent-libs (#6034)
dependabot[bot] Dec 5, 2024
4de0ff7
[main][Automation] Update versions (#6074)
github-actions[bot] Dec 6, 2024
039baab
Add support for failureThreshold passed as float64 from policy (#6230)
pchila Dec 6, 2024
e7328db
[Automation] Bump Golang version to 1.22.10 (#6236)
github-actions[bot] Dec 7, 2024
f3aea40
Redact common secrets in `elastic-agent inspect` output (#6224)
andrzej-stencel Dec 9, 2024
eb0a1aa
[CI] Add build/diagnostics dir to artifacts (#6241)
pazone Dec 9, 2024
a7597b0
Integration tests autodiscovery (#6199)
pchila Dec 9, 2024
b3bb590
Add config generation benchmark (#6180)
swiatekm Dec 9, 2024
29ef1e8
[CI] Added test report aggregation for test-collector plugin (#6243)
pazone Dec 9, 2024
398f322
Avoid unnecessary copies during config generation (#6184)
swiatekm Dec 9, 2024
9c13110
Use xxhash instead of sha256 for hashing AST nodes (#6192)
swiatekm Dec 9, 2024
af175e0
Do external package manager check only at startup (#6178)
swiatekm Dec 9, 2024
950e1d7
build(deps): bump github.com/elastic/elastic-agent-libs from 0.17.3 t…
dependabot[bot] Dec 9, 2024
091dbb7
[main][Automation] Update versions (#6238)
github-actions[bot] Dec 9, 2024
0a74d21
changed sudo-integration-tests.sh (#6078)
oakrizan Dec 10, 2024
69c2f92
docs: add EDOT colletor kube-stack Helm values (#5822)
rogercoll Dec 10, 2024
79caf55
[k8s]: restructure kubernetes integration tests (#6260)
pkoutsovasilis Dec 10, 2024
a2d5f75
Run BK integration tests on PRs and release branches (#6148)
pazone Dec 10, 2024
cab5754
Cache conditions when applying variables to config (#6229)
swiatekm Dec 11, 2024
d9ee653
build(deps): bump updatecli/updatecli-action from 2.72.0 to 2.73.0 (#…
dependabot[bot] Dec 11, 2024
dcf5b7a
Re-enabled notifyFleetAuditUninstall on Windows (#6257)
blakerouse Dec 11, 2024
8c744f8
Update CODEOWNERS according to k8s ownership transfer plan (#6188)
ycombinator Dec 12, 2024
5946029
build(deps): bump github.com/elastic/go-docappender/v2 from 2.3.1 to …
dependabot[bot] Dec 12, 2024
275c748
Add support for running version updates on multiple branches (#6310)
rdner Dec 12, 2024
3368957
[main][Automation] Update versions (#6314)
github-actions[bot] Dec 12, 2024
1eeb722
Run agent test version bump on all active branches (#6309)
rdner Dec 13, 2024
83a12c2
fix: use a different branch name for the auto-updates (#6335)
v1v Dec 16, 2024
04c4b38
Update golang.org/x/crypto to v0.31.0 (#6336)
swiatekm Dec 17, 2024
df2786f
chore: update version and appVersion in the elastic-agent helm chart …
pkoutsovasilis Dec 17, 2024
67c744f
[k8s]: transition integration tests to adapter pattern (#6277)
pkoutsovasilis Dec 17, 2024
f321d8a
Fix audit/unenroll calls when agent runs fleet-server (#6085)
michel-laterman Dec 17, 2024
ac8b8ad
build(deps): bump github.com/elastic/elastic-agent-libs from 0.17.4 t…
dependabot[bot] Dec 17, 2024
77a8a97
build(deps): bump go.opentelemetry.io/collector/pipeline/pipelineprof…
dependabot[bot] Dec 18, 2024
0e68ce1
build(deps): bump github.com/elastic/go-elasticsearch/v8 from 8.16.0 …
dependabot[bot] Dec 18, 2024
a5eb77b
Fix/5163 retry download upgrade verifiers (#6276)
kaanyalti Dec 18, 2024
d359ccd
Prevent leaking secrets when logging component model (#6329)
andrzej-stencel Dec 18, 2024
52ad5f0
[main][Automation] Update versions (#6347)
github-actions[bot] Dec 18, 2024
c7c5ba4
[k8s] add kubernetes hints integration tests (#6360)
pkoutsovasilis Dec 18, 2024
cec09bd
Switch back to Ubuntu-based Docker images in the cloud
rdner Dec 18, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
9 changes: 0 additions & 9 deletions .agent-versions.json

This file was deleted.

193 changes: 193 additions & 0 deletions .buildkite/bk.integration.pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,193 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/buildkite/pipeline-schema/main/schema.json

env:
DOCKER_REGISTRY: "docker.elastic.co"
VAULT_PATH: "kv/ci-shared/observability-ingest/cloud/gcp"
ASDF_MAGE_VERSION: 1.14.0

steps:
- label: Start ESS stack for integration tests
key: integration-ess
env:
ASDF_TERRAFORM_VERSION: 1.9.2
command: |
#!/usr/bin/env bash
set -euo pipefail
source .buildkite/scripts/steps/ess_start.sh
artifact_paths:
- test_infra/ess/*.tfstate
- test_infra/ess/*.lock.hcl
agents:
image: "docker.elastic.co/ci-agent-images/platform-ingest/buildkite-agent-beats-ci-with-hooks:0.5"
useCustomGlobalHooks: true

- group: "Stateful: Windows"
key: integration-tests-win
depends_on:
- integration-ess
steps:
- label: "Win2022:sudo:{{matrix}}"
command: |
buildkite-agent artifact download build/distributions/** . --step 'package-it' --build ${BUILDKITE_TRIGGERED_FROM_BUILD_ID}
.buildkite/scripts/integration-tests.ps1 {{matrix}} true
artifact_paths:
- build/**
- build/diagnostics/**
agents:
provider: "gcp"
machineType: "n1-standard-8"
image: "family/platform-ingest-elastic-agent-windows-2022"
matrix:
- default
- fleet
- fleet-privileged
- upgrade

- label: "Win2022:non-sudo:{{matrix}}"
command: |
buildkite-agent artifact download build/distributions/** . --step 'package-it' --build ${BUILDKITE_TRIGGERED_FROM_BUILD_ID}
.buildkite/scripts/integration-tests.ps1 {{matrix}} false
artifact_paths:
- build/**
- build/diagnostics/**
agents:
provider: "gcp"
machineType: "n1-standard-8"
image: "family/platform-ingest-elastic-agent-windows-2022"
matrix:
- default

- group: "Stateful:Ubuntu"
key: integration-tests-ubuntu
depends_on:
- integration-ess
steps:
- label: "x86_64:non-sudo: {{matrix}}"
command: |
buildkite-agent artifact download build/distributions/** . --step 'package-it' --build ${BUILDKITE_TRIGGERED_FROM_BUILD_ID}
.buildkite/scripts/steps/integration_tests_tf.sh {{matrix}} false
artifact_paths:
- build/**
- build/diagnostics/**
agents:
provider: "gcp"
machineType: "n1-standard-8"
image: "family/platform-ingest-elastic-agent-ubuntu-2404"
matrix:
- default

- label: "x86_64:sudo: {{matrix}}"
command: |
buildkite-agent artifact download build/distributions/** . --step 'package-it' --build ${BUILDKITE_TRIGGERED_FROM_BUILD_ID}
.buildkite/scripts/steps/integration_tests_tf.sh {{matrix}} true
artifact_paths:
- build/**
- build/diagnostics/**
agents:
provider: "gcp"
machineType: "n1-standard-8"
image: "family/platform-ingest-elastic-agent-ubuntu-2404"
matrix:
- default
- container
- fleet-upgrade-to-pr-build
- upgrade
- fleet
- fqdn
- deb
- fleet-airgapped
- fleet-privileged
- fleet-airgapped-privileged

- label: "arm:sudo: {{matrix}}"
skip: true
command: |
buildkite-agent artifact download build/distributions/** . --step 'package-it' --build ${BUILDKITE_TRIGGERED_FROM_BUILD_ID}
.buildkite/scripts/steps/integration_tests_tf.sh {{matrix}} true
artifact_paths:
- build/**
- build/diagnostics/**
agents:
provider: "aws"
imagePrefix: "platform-ingest-beats-ubuntu-2404-aarch64"
instanceType: "m6g.2xlarge"
matrix:
- default
- container
- fleet-upgrade-to-pr-build
- upgrade
- fleet
- fqdn
- deb
- fleet-airgapped
- fleet-privileged
- fleet-airgapped-privileged

- label: "arm:non-sudo: {{matrix}}"
skip: true
command: |
buildkite-agent artifact download build/distributions/** . --step 'package-it' --build ${BUILDKITE_TRIGGERED_FROM_BUILD_ID}
.buildkite/scripts/steps/integration_tests_tf.sh {{matrix}} false
artifact_paths:
- build/**
- build/diagnostics/**
agents:
provider: "aws"
imagePrefix: "platform-ingest-beats-ubuntu-2404-aarch64"
instanceType: "m6g.xlarge"
matrix:
- default

- group: "Stateful(Sudo):RHEL8"
key: integration-tests-rhel8
depends_on:
- integration-ess
steps:
- label: "x86_64:sudo:rpm"
command: |
buildkite-agent artifact download build/distributions/** . --step 'package-it' --build ${BUILDKITE_TRIGGERED_FROM_BUILD_ID}
.buildkite/scripts/steps/integration_tests_tf.sh rpm true
artifact_paths:
- build/**
- build/diagnostics/**
agents:
provider: "gcp"
machineType: "n1-standard-8"
image: "family/platform-ingest-elastic-agent-rhel-8"

- label: ESS stack cleanup
depends_on:
- integration-tests-ubuntu
- integration-tests-win
- integration-tests-rhel8
allow_dependency_failure: true
command: |
buildkite-agent artifact download "test_infra/ess/**" . --step "integration-ess"
ls -lah test_infra/ess
.buildkite/scripts/steps/ess_down.sh
agents:
image: "docker.elastic.co/ci-agent-images/platform-ingest/buildkite-agent-beats-ci-with-hooks:0.5"
useCustomGlobalHooks: true

- label: Aggregate test reports
# Warning: The key has a hook in pre-command
key: aggregate-reports
depends_on:
- integration-tests-ubuntu
- integration-tests-win
- integration-tests-rhel8
allow_dependency_failure: true
command: |
buildkite-agent artifact download "build/*.xml" .
buildkite-agent artifact download "build\*.xml" .
agents:
image: "docker.elastic.co/ci-agent-images/platform-ingest/buildkite-agent-beats-ci-with-hooks:0.5"
useCustomGlobalHooks: true
soft_fail:
- exit_status: "*"
plugins:
- test-collector#v1.10.1:
files: "build/*.xml"
format: "junit"
branches: "main"
debug: true
12 changes: 12 additions & 0 deletions .buildkite/hooks/pre-command
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,18 @@ if [[ "$BUILDKITE_STEP_KEY" == *"integration-tests"* ]]; then
export API_KEY_TOKEN=$(vault kv get -field apiKey ${CI_ESS_PATH})
echo ${API_KEY_TOKEN} > ./apiKey
export TEST_INTEG_AUTH_ESS_APIKEY_FILE=$(realpath ./apiKey)

# BK analytics
echo "--- Prepare BK test analytics token :vault:"
BUILDKITE_ANALYTICS_TOKEN=$(vault kv get -field token kv/ci-shared/platform-ingest/buildkite_analytics_token)
export BUILDKITE_ANALYTICS_TOKEN
fi

if [[ "$BUILDKITE_STEP_KEY" == *"aggregate-reports"* ]]; then
# BK analytics
echo "--- Prepare BK test analytics token :vault:"
BUILDKITE_ANALYTICS_TOKEN=$(vault kv get -field token kv/ci-shared/platform-ingest/buildkite_analytics_token)
export BUILDKITE_ANALYTICS_TOKEN
fi

if [[ "$BUILDKITE_PIPELINE_SLUG" == "elastic-agent-binary-dra" ]]; then
Expand Down
31 changes: 2 additions & 29 deletions .buildkite/hooks/pre-command.ps1
Original file line number Diff line number Diff line change
@@ -1,29 +1,2 @@
# Install gcc TODO: Move to the VM image
choco install mingw
Import-Module $env:ChocolateyInstall\helpers\chocolateyProfile.psm1
refreshenv

# Install gvm and go
# TODO: Move GVM download to the base VM image
$env:GvmVersion = "0.5.2"
[Net.ServicePointManager]::SecurityProtocol = "tls12"
$env:GoVersion = Get-Content -Path .go-version
Invoke-WebRequest -URI https://github.com/andrewkroh/gvm/releases/download/v$env:GvmVersion/gvm-windows-amd64.exe -Outfile C:\Windows\System32\gvm.exe
gvm --format=powershell $env:GoVersion | Invoke-Expression
go version

$GOPATH = $(go env GOPATH)
$env:Path = "$GOPATH\bin;" + $env:Path
$env:GOTMPDIR = "$GOPATH\tmp"
New-Item -ItemType Directory -Force -Path $env:GOTMPDIR
[Environment]::SetEnvironmentVariable("GOPATH", "$GOPATH", [EnvironmentVariableTarget]::Machine)
[Environment]::SetEnvironmentVariable("GOTMPDIR", "$GOPATH\tmp", [EnvironmentVariableTarget]::Machine)
[Environment]::SetEnvironmentVariable("Path", "$GOPATH\bin;$env:Path", [EnvironmentVariableTarget]::Machine)
go env

# Install tools
go install github.com/magefile/mage
go install github.com/elastic/go-licenser
go install golang.org/x/tools/cmd/goimports
go install github.com/jstemmer/go-junit-report
go install gotest.tools/gotestsum
# Shorten BUILDKITE_MESSAGE if needed to avoid filling the Windows env var buffer
$env:BUILDKITE_MESSAGE = $env:BUILDKITE_MESSAGE.Substring(0, [System.Math]::Min(2048, $env:BUILDKITE_MESSAGE.Length))
2 changes: 0 additions & 2 deletions .buildkite/hooks/pre-exit
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ if [ -n "$TEST_INTEG_AUTH_GCP_SERVICE_TOKEN_FILE" ]; then
fi
fi

source .buildkite/scripts/unset-secrets.sh

if command -v docker &>/dev/null; then
DOCKER_REGISTRY="docker.elastic.co"
docker logout $DOCKER_REGISTRY
Expand Down
44 changes: 25 additions & 19 deletions .buildkite/integration.pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,26 +57,13 @@ steps:
- github_commit_status:
context: "buildkite/elastic-agent-extended-testing - Extended runtime leak tests"

- label: "Integration tests"
key: "integration-tests"
- label: "Triggering Integration tests"
depends_on:
- package-it
concurrency_group: elastic-agent-extended-testing/integration
concurrency: 8
env:
TEST_INTEG_AUTH_GCP_DATACENTER: "us-central1-f"
command: |
buildkite-agent artifact download build/distributions/** . --step 'package-it'
.buildkite/scripts/steps/integration_tests.sh stateful
artifact_paths:
- "build/TEST-**"
- "build/diagnostics/*"
agents:
provider: "gcp"
machineType: "n1-standard-8"
notify:
- github_commit_status:
context: "buildkite/elastic-agent-extended-testing - Integration tests"
trigger: "elastic-agent-extended-testing-bk"
build:
commit: "${BUILDKITE_COMMIT}"
branch: "${BUILDKITE_BRANCH}"

- label: "Serverless Beats Tests"
depends_on:
Expand All @@ -89,10 +76,29 @@ steps:
command: |
buildkite-agent artifact download build/distributions/** . --step 'package-it'
.buildkite/scripts/steps/beats_tests.sh
# if: "build.env('CRON') == 'yes'"
agents:
provider: "gcp"
machineType: "n1-standard-8"
notify:
- github_commit_status:
context: "buildkite/elastic-agent-extended-testing - Serverless Beats Tests"

- label: "Kubernetes Integration tests"
key: "k8s-integration-tests"
env:
K8S_VERSION: "v1.31.0"
KIND_VERSION: "v0.24.0"
command: ".buildkite/scripts/steps/k8s-extended-tests.sh"
artifact_paths:
- "build/k8s-logs*/*"
- "build/k8s-logs*/**/*"
- "build/TEST-**"
- "build/diagnostics/*"
agents:
provider: "gcp"
machineType: "c2-standard-16"
image: "family/core-ubuntu-2204"
diskSizeGb: 400
notify:
- github_commit_status:
context: "buildkite/elastic-agent-extended-testing - Kubernetes Integration tests"
4 changes: 2 additions & 2 deletions .buildkite/pipeline.elastic-agent-binary-dra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ env:
steps:
- group: ":beats: DRA Elastic-Agent Core Snapshot :beats:"
key: "dra-core-snapshot"
if: build.branch == 'main' || build.branch =~ /^[0-9]+\.[0-9]+\$/ || build.env("RUN_SNAPSHOT") == "true"
if: build.branch == 'main' || build.branch =~ /^[0-9]+\.[0-9x]+\$/ || build.env("RUN_SNAPSHOT") == "true"
steps:
- label: ":package: Build Elastic-Agent Core Snapshot"
commands:
Expand Down Expand Up @@ -43,7 +43,7 @@ steps:

- group: ":beats: DRA Elastic-Agent Core Staging :beats:"
key: "dra-core-staging"
if: build.branch =~ /^[0-9]+\.[0-9]+\$/ || build.env("RUN_STAGING") == "true"
if: build.branch =~ /^[0-9]+\.[0-9x]+\$/ || build.env("RUN_STAGING") == "true"
steps:
- label: ":package: Build Elastic-Agent Core staging"
commands:
Expand Down
Loading
Loading