Commit graph

269 commits

Author SHA1 Message Date
kaisecheng
ff44b7cc20
Update logstash_releases.json (#16901) 2025-01-14 15:46:29 +00:00
João Duarte
6e0d235c9d
update releases file with 8.16.2 GA (#16807) 2024-12-17 10:22:12 +00:00
Cas Donoghue
188d9e7ed8
Update serverless tests to include product origin header (#16766)
This commit updates the curl scripts that interact with Kibana's
`api/logstash/pipeline/*` endpoin. Additionally this adds the header to any curl
that interacts with elasticsearch API as well.
2024-12-13 09:22:45 -08:00
kaisecheng
65495263d4
[CI] remove 8.15 DRA (#16795) 2024-12-13 13:44:33 +00:00
João Duarte
264283889e
update logstash_releases to account for 8.17.0 GA (#16785) 2024-12-12 17:32:05 +01:00
João Duarte
af76c45e65
Update logstash_releases.json to account for 7.17.26 GA (#16746) 2024-12-03 15:25:55 +00:00
João Duarte
1851fe6b2d
Update logstash_releases.json to account for GA of 8.15.5 (#16734) 2024-11-27 14:09:22 +00:00
João Duarte
aff8d1cce7
update logstash_release with 8.16.1 and 8.16.2-SNAPSHOT (#16711) 2024-11-21 10:03:50 +00:00
João Duarte
2f0e10468d
Update logstash_releases.json to account for 8.17 Feature Freeze (#16709) 2024-11-21 09:35:33 +00:00
João Duarte
977efbddde
Update branches.json to include 8.15, 8.16 and 8.17 (#16698) 2024-11-20 16:37:10 +00:00
João Duarte
2a23680cfd
Update logstash_releases.json for new branching strategy (#16585)
See naming rational in https://github.com/logstash-plugins/.ci/pull/63#issue-2597373955
After 8.16 is GA, the "releases" entry should become:

```json
  "releases": {
    "7.current": "7.17.24",
    "8.current": "8.16.0",
    "8.previous": "8.15.3"
  },
```

For snapshots we'll also test against "main", "8.next", and "8.future". The labels are:

- `main`: main branch
-  `8.future`: the future 8.x release, i.e. current version of the 8.x branch
- `8.next`: the short lived period between a minor's FF - when the new branch is cut from 8.x - and GA
- `8.current`: the most recent 8.x release
- `8.previous`: the previous, but still supported, 8.x release
2024-11-13 11:04:02 +00:00
kaisecheng
5826c6f902
Use UBI as base image (#16599)
Logstash Docker images, full and OSS, now use UBI image as its base, replacing the previous Ubuntu base.

- change the base image of `full` and `oss` to ubi
- Set locale to C.UTF-8
- remove ubi flavour
- use go image to build env2yaml
- remove redundant and refactor steps
- add support to build image in mac aarch64
- allow customizing ELASTIC_VERSION and LOCAL_ARTIFACTS for test purpose
2024-11-08 16:25:12 +00:00
João Duarte
472e27a014
make docker build and gradle tasks more friendly towards ci output (#16618) 2024-10-31 16:00:11 +00:00
Andrea Selva
ed5874bc27
Use jvm catalog for reproducible builds and expose new pipeline to check JDK availability (#16602)
Updates the existing `createElasticCatalogDownloadUrl` method to use the precise version retrieved `versions.yml` to download the JDK instead of using the latest of major version. This makes the build reproducible again.
Defines a new Gradle `checkNewJdkVersion` task to check if there is a new JDK version available from JVM catalog matching the same major of the current branch. 
Creates a new Buildkite pipeline to execute a `bash` script to run the Gradle task; plus it also update the `catalog-info.yaml` with the new pipeline and a trigger to execute every week.
2024-10-29 10:55:15 +01:00
Edmo Vamerlatti Costa
93b0913fd9
Updated CI releases inventory after 7.17.25 (#16589) 2024-10-22 15:40:02 +02:00
Edmo Vamerlatti Costa
dcafa0835e
Updated CI releases inventory after 8.15.3 (#16581) 2024-10-17 16:55:31 +02:00
Rob Bavey
3f2a659289
Update branches.json to point to 8.16 branch (#16560) 2024-10-15 15:43:16 -04:00
Andrea Selva
f35e10d792
Updated CI releases inventory after 8.15.2 (#16474) 2024-09-26 18:25:32 +02:00
kaisecheng
701108f88b
update ci release 7.17.24 (#16439) 2024-09-10 12:20:50 +01:00
João Duarte
f60e987173
bump to 9.0.0 and adapt CI accordingly (#16428) 2024-09-09 13:46:00 +01:00
kaisecheng
285d13a515
Update logstash_releases.json (#16426) 2024-09-05 17:10:52 +01:00
Mashhur
b2796afc92
Removing 8.14 from ci/branches.json as we have 8.15. (#16390) 2024-08-19 12:49:34 -07:00
Andrea Selva
09a2827802
Update logstash_releases.json (#16347) 2024-07-30 16:17:10 +01:00
Andrea Selva
01b08c7640
Update logstash_releases.json after 8.14.3 (#16306) 2024-07-11 18:10:59 +02:00
Ry Biesemeyer
a63d8a831d
bump ci releases for 8.14.2 (#16287) 2024-07-04 10:08:22 +01:00
João Duarte
83506eabe7
add 8.15 and remove 8.13 from CI testing (#16282) 2024-07-03 13:08:50 +01:00
João Duarte
1484614405
Wolfi-based image flavor (#16189)
* Add wolfi as an option to the build process
* Add docker acceptance tests for the wolfi image
* Change how tests are done on the java process, due to "ps -C" not being available on wolfi

replaces and closes https://github.com/elastic/logstash/pull/16116

Co-authored-by: Andres Rodriguez <andreserl@gmail.com>
2024-06-17 15:48:02 +01:00
João Duarte
7f424c1f5d
Update logstash_releases.json to account for 7.17.22 (#16185)
Co-authored-by: Andrea Selva <selva.andre@gmail.com>
2024-06-13 17:35:06 +02:00
Edmo Vamerlatti Costa
881f7605f1
Bump logstash-releases.json after 8.14.1 release (#16217) 2024-06-12 08:53:41 -07:00
Rob Bavey
14afa851de
Bump logstash-releases.json after 8.14.0 release (#16197) 2024-06-05 09:15:44 -04:00
Andrea Selva
1e431b47c3
Update releases inventory after 8.13.4 (#16147) 2024-05-10 09:13:06 +02:00
João Duarte
6dd2770058
remove unused root Dockerfiles (#16140) 2024-05-07 17:49:47 +01:00
kaisecheng
bf8846d4ae
Update logstash_releases.json (#16123) 2024-05-02 11:45:06 +01:00
kaisecheng
f4d33cb904
add 8.14 branch for ci (#16086) 2024-04-17 09:15:58 +01:00
kaisecheng
84886ac4be
remove 8.12 from CI (#16077) 2024-04-11 12:56:29 +01:00
Andrea Selva
6eb99437e4
Update releases inventory after 8.13.1 (#16048) 2024-04-04 10:39:17 +02:00
Andrea Selva
c4bd54de58
Update releases inventory after 7.17.19 (#16024) 2024-03-26 15:53:34 +01:00
kaisecheng
716c33f4b5
update ci release for 8.13.0 (#16030) 2024-03-26 10:53:44 +00:00
kaisecheng
34ebdc120f
add 8.13 branch (#15938) 2024-02-13 17:39:10 +00:00
Ry Biesemeyer
dc8b5b2c86
ci: provide metadata about releases that are in-flight (#15924)
Our shared CI infrastructure relies on this file being here with a specific
format, expanding a given `ELASTIC_STACK_VERSION` environment variable and
an optional `SNAPSHOT` environment variable into the information necessary
to target either the most recent published release or a snapshot representing
a candidate for the _next_ possible release in the series.

When we cut a new minor branch from `main` (at feature freeze), the tip of
that branch contains unreleased code that is in-flight for the next release.
We need to have a way to reference artifacts from this in-flight release,
instead of skipping over them while a minor release is in flight.

This change affects the _semantics_ of what is tested during a minor stack
release's feature-freeze period, ensuring that automated tests throughout
the Logstash ecosystem continue to run against the pending release with NO
changes required in those plugins.

It also introduces a new `snapshots.main` entry, which refers to snapshot
artifacts built from the un-feature-frozen `main` branch, so that plugins
can _optionally_ test against the _next_ minor in advance of its feature
freeze, as they currently do unintentionally in builds that target
 `ELASTIC_STACK_VERSION=8.x SNAPSHOT=true`.
2024-02-12 07:04:06 -08:00
Dimitrios Liappis
be3f75e346
Clean up left over scripts after CI migration (#15926)
Following the CI migration from Jenkins to Buildkite, this commit
removes a number of left over helper scripts that aren't needed
anymore.

Closes https://github.com/elastic/ingest-dev/issues/2850
2024-02-12 11:26:28 +02:00
Andrea Selva
4e98aa8117
Fix the lastes 8.12 version, to the actually latest released (#15915)
* Fix the latest 8.12 version, to the actually latest released
* Update version fo 7.17


Co-authored-by: Mashhur <99575341+mashhurs@users.noreply.github.com>
2024-02-07 18:02:51 +01:00
Mashhur
c75a2d84b1
Update CI release file after releases. (#15911) 2024-02-07 06:41:02 -08:00
Dimitrios Liappis
8ac55184b8
Allow running Java+Ruby tests on Windows separately (#15861)
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
2024-02-01 10:04:25 +02:00
Mashhur
eb9859276e
Update stack versions for CI. (#15864) 2024-01-28 21:02:30 -08:00
Andrea Selva
8657ce9d21
Re-enabled collectd codec in test_plugins script (#15857) 2024-01-26 17:31:31 +01:00
Dimitrios Liappis
52d9e6286e
Update active branches used by CI (#15816)
Relates https://github.com/elastic/logstash/pull/15814
2024-01-18 15:35:18 +02:00
Pavel Zorin
2c83a52380
[CI] Send Java and ruby tests to sonarqube simultaneously (#15810)
* Ruby code coverage with SimpleCov json formatter

* [CI] Send Java and ruby tests to sonarqube simultaneously

* Enabled COVERAGE for ruby tests

* Enabled COVERAGE for ruby tests

* Enabled COVERAGE for ruby tests

* Enabled COVERAGE for ruby tests

* Enabled COVERAGE for ruby tests

* Added compiled classes to artifacts

* Test change

* Removed test changes

* Returned back ENABLE_SONARQUBE condition

* Removed debug line

* Diable Ruby coverage if ENABLE_SONARQUBE is not true

* Run sonar scan on pull requests and onn push to main

* Run sonar can on release branches
2024-01-17 19:04:37 +00:00
Andrea Selva
4a2104b1a4
Update releases inventory after 8.11.4 (#15783) 2024-01-11 15:54:41 +01:00
Dimitrios Liappis
cebe4a7537
Refactor qa/acceptance tests to get away from vagrant (#15696)
This commit modernizes the qa/acceptance (packaging) test framework by
moving away from Vagrant and having the tests operate locally.

As we are migrating to Buildkite, the expectation is that those tests
will run on dedicated vms thus removing the necessity of vagrant.

Relates: https://github.com/elastic/ingest-dev/issues/1722
2024-01-08 09:40:58 +02:00