Commit graph

10178 commits

Author SHA1 Message Date
Andrea Selva
ba73dc7fff Download of JDK from the Elastic catalog instead of Adoptium (#15514)
* Adapted the JDK's download URL creation to intereact with Elastic catalog to get metadata, and return the catalog download link instead of directly pointing to Adoptium API

* Silenced the Download task of JDK to print the full url

(cherry picked from commit 73daec05ed)
2024-08-21 13:58:17 +00:00
Andrea Selva
0f43da15c8
Update bundled JDK (#16394) 2024-08-20 11:25:25 +02:00
Andrea Selva
dde697251f
Bump 7.17.24 (#16346) 2024-07-30 15:23:50 +01:00
github-actions[bot]
1fbfdc0d6d
Release notes for 7.17.23 (#16345)
* Update release notes for 7.17.23

* Refined release notes

* Apply suggestions from code review

---------

Co-authored-by: logstashmachine <43502315+logstashmachine@users.noreply.github.com>
Co-authored-by: andsel <selva.andre@gmail.com>
Co-authored-by: Karen Metts <35154725+karenzone@users.noreply.github.com>
2024-07-29 16:42:41 +01:00
github-actions[bot]
5b13f973d5
bump lock file for 7.17 (#16341)
* Update patch plugin versions in gemfile lock
* Force rexml from 3.2.9 back 3.2.6
* Added missed licenses
2024-07-23 09:03:29 +02:00
github-actions[bot]
2cf0717164
regenerate webserver test certificates (#16331) (#16334)
(cherry picked from commit c30aa1c7f5)

Co-authored-by: João Duarte <jsvd@users.noreply.github.com>
2024-07-17 10:45:23 +01:00
Dimitrios Liappis
f22b574b32
Remove Debian 10 from CI (#16300) (#16329)
This commit removes Debian 10 (Buster) which is EOL
since July 1 2024[^1] from CI.

Relates https://github.com/elastic/ingest-dev/issues/2872
2024-07-15 17:54:29 +03:00
github-actions[bot]
9c201ecde4
Remove CentOS 7 from CI (#16293) (#16298)
CentOS 7 is EOL since June 30 2024[^1]. All repositories and mirrors are
now unreachable.

This commit removes CentOS 7 from CI jobs using it.

Relates https://github.com/elastic/ingest-dev/issues/3520

[^1]: https://www.redhat.com/en/topics/linux/centos-linux-eol

(cherry picked from commit db06ec415a)

Co-authored-by: Dimitrios Liappis <dimitrios.liappis@gmail.com>
2024-07-04 17:16:14 +03:00
João Duarte
92a601ce24
move j2 template to erb in 7.17 (#16274)
This should simplify CI infrastructure by not requiring python.
2024-07-03 12:45:19 +01:00
github-actions[bot]
70be957098
Add retries to aarch64 CI pipeline (#16271) (#16273)
Add retries in the aarch64 CI pipeline to reduce noise from transient
network failures.

Closes https://github.com/elastic/ingest-dev/issues/3510

(cherry picked from commit 7080ec5427)

Co-authored-by: Dimitrios Liappis <dimitrios.liappis@gmail.com>
2024-07-01 14:32:03 +03:00
Andrea Selva
28cb00b6ed
Require kafka integration to 10.12 for 7.17 (#16256)
Bump gemlock to bundle logstash-integration-kafka =>10.12.1
2024-06-25 11:07:42 +02:00
kaisecheng
8b2c6de488
update ironbank UBI version (#16247)
ironbank update to the newest ubi version 8.10
2024-06-20 15:02:38 +01:00
Andrea Selva
185d800c08
Version bump for 7.17.23 (#16215) 2024-06-13 15:12:48 +02:00
github-actions[bot]
6faf0d7216
Release notes for 7.17.22 (#16184)
* Update release notes for 7.17.22

Co-authored-by: João Duarte <jsvd@users.noreply.github.com>
Co-authored-by: Andrea Selva <selva.andre@gmail.com>
Co-authored-by: Karen Metts <35154725+karenzone@users.noreply.github.com>
2024-06-12 08:26:57 +02:00
github-actions[bot]
0ccc0c3ff1
[DOC] Remove reference to puppet LS module (#12356) (#16167)
As the module is not maintained since 2018 and it was community supported, I would like to remove it from the documentation.

(cherry picked from commit 53d9480176)

Co-authored-by: Luca Belluccini <luca.belluccini@elastic.co>
2024-05-16 14:25:00 -04:00
kaisecheng
c2ffe2f7b2
bump 7.17.22 (#16122) 2024-05-02 09:38:03 +01:00
github-actions[bot]
5791f5fc1c
Release notes for 7.17.21 (#16109)
* Update release notes for 7.17.21

Co-authored-by: logstashmachine <43502315+logstashmachine@users.noreply.github.com>
Co-authored-by: kaisecheng <69120390+kaisecheng@users.noreply.github.com>
Co-authored-by: Karen Metts <35154725+karenzone@users.noreply.github.com>
2024-05-01 23:40:47 +01:00
github-actions[bot]
acd3b87db9
Update patch plugin versions in gemfile lock (#16110)
Co-authored-by: logstashmachine <43502315+logstashmachine@users.noreply.github.com>
2024-04-25 21:52:08 +01:00
github-actions[bot]
d1477d0adc
Release notes for 7.17.20 (#16067)
Co-authored-by: João Duarte <jsvd@users.noreply.github.com>
2024-04-08 10:59:58 -04:00
João Duarte
8cfc4a0911
bump version to 7.17.21 (#16070) 2024-04-08 13:26:29 +01:00
github-actions[bot]
3e412daaac
Update patch plugin versions in gemfile lock (#16061)
Co-authored-by: logstashmachine <43502315+logstashmachine@users.noreply.github.com>
2024-04-05 16:50:53 +01:00
Andrea Selva
96dc9043e0
Bump 7.17.20 (#16023) 2024-03-26 09:22:45 +01:00
github-actions[bot]
5d974610e7
Release notes for 7.17.19 (#16016)
* Update release notes for 7.17.19
2024-03-25 09:39:10 +01:00
Ry Biesemeyer
fa3973df96
Bump ES output to include unicode-vs-compression fix (#16012) 2024-03-19 20:13:55 -07:00
github-actions[bot]
937b1c5968
Update patch plugin versions in gemfile lock (#16010)
Co-authored-by: logstashmachine <43502315+logstashmachine@users.noreply.github.com>
2024-03-19 11:20:24 +01:00
github-actions[bot]
8c23b10fcd
Split java/ruby unit test steps on Windows (#15888) (#15994)
As a follow up to #15861 this commit splits the current unit tests step
for the Windows JDK matrix pipeline to two that run
Java and Ruby unit tests separately.

Closes https://github.com/elastic/logstash/issues/15566

(cherry picked from commit c0c213d17e)

Co-authored-by: Dimitrios Liappis <dimitrios.liappis@gmail.com>
2024-03-11 11:20:12 +02:00
github-actions[bot]
c998741aa5
Fix the Bootstrap check test failure on Windows. (#15975) (#15991)
(cherry picked from commit 19637143e6)

Co-authored-by: Mashhur <99575341+mashhurs@users.noreply.github.com>
2024-03-11 10:15:08 +02:00
github-actions[bot]
b908f6ea1a
Follow up to #15900 -- fix remaining acceptance tests (#15907) (#15953)
PR#15900 missed a few more places where Logstash is installed but
a working minimal pipeline config is added.
This commit fixes that and stabilizes all acceptance tests, thus
minizing the need for time consuming BK retries of corresponding
steps.

Relates #15900
Relates https://github.com/elastic/logstash/issues/15784

(cherry picked from commit 54f73e5d22)

Co-authored-by: Dimitrios Liappis <dimitrios.liappis@gmail.com>
2024-02-15 12:52:19 +02:00
github-actions[bot]
59b1915250
Fix packaging service check failures (#15946) (#15950)
This commit tightens the checks for the status
output of the Logstash OS service to specifically
scan for `org.logstash.Logstash` rather than
only the jdk path.

The reason is that the startup script first runs
an options parser, and then the logstash process
itself, both referencing the JDK path.

Closes https://github.com/elastic/ingest-dev/issues/2950

(cherry picked from commit eedccea33f)

Co-authored-by: Dimitrios Liappis <dimitrios.liappis@gmail.com>
2024-02-15 11:13:33 +02:00
Andrea Selva
9da37e2022
Updates JDK bundled in Logstash (#15842) 2024-02-09 13:52:43 +01:00
github-actions[bot]
5d1eef89f3
introduce go.mod for env2yaml (#15921) (#15923)
Update the env2yaml to have a go.mod instead of relying on disabling go modules, otherwise building with golang 1.22 will fail in the future.
This change also directly uses the golang image to build the binary removing the need for an intermediate image.

(cherry picked from commit 5c3e64d591)

Co-authored-by: João Duarte <jsvd@users.noreply.github.com>
2024-02-08 18:17:07 +00:00
Mashhur
46df43b677
Version bump to 7.17.19 (#15906) 2024-02-06 09:27:41 -08:00
Dimitrios Liappis
a6839e0c69
Fix service startup with acceptance tests (#15900) (#15905)
This commit fixes the startup of the Logstash service during packaging
tests by adding a minimal pipeline config. Without it, the service was
flapping from start to start and vice versa causing test flakiness.

Relates https://github.com/elastic/logstash/issues/15784

(cherry picked from commit b66dc7f460)
2024-02-06 18:17:06 +02:00
github-actions[bot]
cf3308f5d5
Add retries to acceptance/docker steps in BK (#15901) (#15903)
Similarly to #15874, this commit adds retries
to another group, the acceptance/docker to reduce
build noise from transient issues.

(cherry picked from commit 2fc3f4c21f)

Co-authored-by: Dimitrios Liappis <dimitrios.liappis@gmail.com>
2024-02-06 16:11:01 +02:00
github-actions[bot]
5a6bbae6b3
Add Debian 12 to CI (#15895) (#15899)
This commit adds Debian 12 (Bookworm) to the
Linux JDK matrix pipeline and Compat Phase of the
exhaustive pipeline respectively.

Relates https://github.com/elastic/ingest-dev/issues/2871

(cherry picked from commit fedcf58c48)

Co-authored-by: Dimitrios Liappis <dimitrios.liappis@gmail.com>
2024-02-06 09:15:30 +02:00
github-actions[bot]
5cab4c11b2
Release notes for 7.17.18 (#15892)
* Update release notes for 7.17.18

* Revise release note.

---------

Co-authored-by: logstashmachine <43502315+logstashmachine@users.noreply.github.com>
Co-authored-by: Mashhur <mashhur.sattorov@elastic.co>
2024-02-05 13:50:05 -08:00
github-actions[bot]
3420d4c145
Allow running Java+Ruby tests on Windows separately (#15861) (#15887)
This commit allows separate running of Java and Ruby tests on Windows i.e. the same way as we currently do on unix (unit_tests.sh) via a cli argument.
If no argument has been supplied, both tests are run (as it does now).

The wrapper script is also rewritten from old batch style script to Powershell.

This work allows us to split the existing Windows CI job in a subsequent PR to separate steps, as we currently do on Linux.

Relates: https://github.com/elastic/logstash/issues/15566
(cherry picked from commit 8ac55184b8)

Co-authored-by: Dimitrios Liappis <dimitrios.liappis@gmail.com>
2024-02-01 10:40:44 +02:00
github-actions[bot]
6a1ed267d4
Add retries to JDK matrix pipeline steps (#15877) (#15879)
This commit adds retries to the steps of the Linux + Windows JDK matrix
pipeline steps to avoid notification noise due to transient network
errors.

(cherry picked from commit 3b747d86b8)

Co-authored-by: Dimitrios Liappis <dimitrios.liappis@gmail.com>
2024-01-30 18:58:02 +02:00
github-actions[bot]
a44d4bf9f4
Add BK retries to exhaustive/compat steps (#15874) (#15876)
As a follow up to #15787 we also add Buildkite retries for the
exhaustive pipeline / compatibility group steps to prevent
failures due to flakiness.

(cherry picked from commit 88a32cca81)

Co-authored-by: Dimitrios Liappis <dimitrios.liappis@gmail.com>
2024-01-30 15:09:05 +02:00
github-actions[bot]
fdf8a22b8f
Remove Ubuntu 18.04 from CI jobs (#15855) (#15860)
Relates https://github.com/elastic/ingest-dev/issues/2849

(cherry picked from commit 3f5b44a1ad)

Co-authored-by: Dimitrios Liappis <dimitrios.liappis@gmail.com>
2024-01-26 17:41:21 +02:00
Ry Biesemeyer
b16011a151
bump to 7.17.18 (#15841) 2024-01-23 08:33:54 -08:00
Dimitrios Liappis
72900ae7c6
Fix IT tests after version bumps (#15827) (#15839)
This commit fixes IT failures that frequently occur after
version bumps due to missing unified release snapshot builds for
the new version.

This commit uses project specific DRA snapshot URLs for ES and Filebeat
in all cases apart from release builds.

(cherry picked from commit d74fea4b55)
2024-01-23 16:41:19 +02:00
github-actions[bot]
2424d775f6
Release notes for 7.17.17 (#15831)
Co-authored-by: logstashmachine <43502315+logstashmachine@users.noreply.github.com>
Co-authored-by: Ry Biesemeyer <yaauie@users.noreply.github.com>
Co-authored-by: Karen Metts <35154725+karenzone@users.noreply.github.com>
2024-01-22 17:55:02 -05:00
github-actions[bot]
a2f258c0fb
Fix acceptance/packaging upgrade test near a release (#15826) (#15830)
The current mechanism of discovering the latest released version per
branch (via ARTIFACTS_API) isn't foolproof near the time of a new
release, as it may be pick a version that hasn't been released
yet. This leads to failures[^1] of the packaging upgrade tests, as we
attempt to download a package file that doesn't exist yet.

This commit switches to an API that that is more up to date regarding
the release version truth.

[^1]: https://buildkite.com/elastic/logstash-exhaustive-tests-pipeline/builds/125#018d319b-9a33-4306-b7f2-5b41937a8881/1033-1125

(cherry picked from commit 15e19a96c2)

Co-authored-by: Dimitrios Liappis <dimitrios.liappis@gmail.com>
2024-01-22 21:21:14 +02:00
github-actions[bot]
c0f13dfe3f
Annotate successful DRA builds with summary URL (#15820) (#15824)
This commit makes the generated DRA URL easily accessible via
a Buildkite annotation.

Closes https://github.com/elastic/ingest-dev/issues/2608

(cherry picked from commit c5cb1fe2ed)

Co-authored-by: Dimitrios Liappis <dimitrios.liappis@gmail.com>
2024-01-22 17:04:55 +02:00
github-actions[bot]
438a6cf6f9
Fix flaky logstash-plugin IT test (#15803) (#15818)
This commit fixes the flaky IT test:
`install non bundle plugin successfully installs the plugin with debug enabled`
by being a bit more lenient with the output which can get garbled by Bundler.

Closes #15801

(cherry picked from commit fc09ad4112)

Co-authored-by: Dimitrios Liappis <dimitrios.liappis@gmail.com>
2024-01-18 15:33:20 +02:00
Dimitrios Liappis
289b61f184
Enable packaging tests in exhaustive pipeline (#15807) (#15781)
This commit adds the packaging tests (that were refactored in #15754
to not rely on Vagrant) in a new "acceptance" group.

One difference from #15781 is that we use ubuntu 2004 for building packages
(as done in DRA/7.17) due to https://github.com/jruby/jruby/pull/7611#issuecomment-1750387837

Relates: https://github.com/elastic/ingest-dev/issues/1722

(cherry picked from commit 16c4d8827e)
2024-01-17 16:51:24 +02:00
Dimitrios Liappis
e74c0679fd
Refactor qa/acceptance tests to get away from vagrant (#15696) (#15754)
This commit modernizes the qa/acceptance (packaging) test framework by
moving away from Vagrant and having the tests operate locally.

Relates: https://github.com/elastic/ingest-dev/issues/1722

(cherry picked from commit cebe4a7537)
2024-01-17 09:55:40 +02:00
github-actions[bot]
d397a4d978
Update patch plugin versions in gemfile lock (#15811)
Co-authored-by: logstashmachine <43502315+logstashmachine@users.noreply.github.com>
2024-01-16 10:45:27 -08:00
github-actions[bot]
fe82d6b701
Add Docker acceptance to exhaustive BK pipeline (#15748) (#15800)
This commit adds the Docker acceptance tests in the acceptance phase
of the exhaustive tests pipeline.

- Relates: https://github.com/elastic/ingest-dev/issues/1722

(cherry picked from commit fca1fccb66)

Co-authored-by: Dimitrios Liappis <dimitrios.liappis@gmail.com>
2024-01-12 09:25:36 +02:00