Commit graph

255 commits

Author SHA1 Message Date
Andrea Selva
ff8afb2293
Switch branch selector from major.minor to read the current branch name (#14619)
Switch branch selector from major.minor to read the current branch name
2022-10-11 18:59:28 +02:00
Andrea Selva
d8d690079a
Updates DRA scripts to build snapshot artifacts (#14600)
Handle the WORKFLOW_TYPE enviroment variable used to select the kind of artifacts to generate and consequently adapt the version name.
If the WORKFLOW_TYPE has a value assigned other then empty string it's assumed to be snapshot and so it generates snapshot artifacts else the release ones.

Co-authored-by: kaisecheng <69120390+kaisecheng@users.noreply.github.com>
2022-10-11 16:32:39 +02:00
Andrea Selva
3075029b27
DRA - Update scripts to use the version qualifier in stack_version (#14589)
Update DRA scripts to use the version qualifier in stack_version variable for alpha and beta builds

Co-authored-by: João Duarte <jsvd@users.noreply.github.com>
2022-10-10 18:08:16 +02:00
Andrea Selva
d3b92ec20c
Extract the branch name passed to release-manager from version file (#14592)
* Extract the branch name passed to release-manager from version and not from git current branch

Co-authored-by: kaisecheng <69120390+kaisecheng@users.noreply.github.com>
2022-10-10 11:13:27 +02:00
kaisecheng
b408638084
update ci release version (#14598) 2022-10-06 10:45:24 +01:00
Andrea Selva
8ddd3ae6f3
Collect all artifacts created and upload to GCP with release-manager (#14584)
Downloads all artifacts generated for ARM and x86 by ci/dra_x86_64.sh ci/dra_aarch64.sh, position in locations expected by the release-manager and invokes it to upload to the global bucket.
2022-10-03 12:05:30 +02:00
Andrea Selva
4fbb57a522
Upload DRA artifacts to collector GCS bucket (#14568)
Save ARM and x86 artifacts into GCS collector bucket

Co-authored-by: Rob Bavey <rob.bavey@elastic.co>
2022-09-28 17:48:31 +02:00
Andrea Selva
214d2bed64
Split ci scripts into ARM and x86 ones (#14567)
Splitted DRA script for x86_64 and aarch64
2022-09-28 15:42:48 +02:00
Andrea Selva
7e95f6ecaf
DRA fixes: (#14552)
- save docker images as tar.gz files
- move the CSV dependency report in the path that's expected by release-manager
2022-09-23 14:12:15 +02:00
Andrea Selva
6534386f21
Created DRA shell script to create artifacts and dependency report (#14522)
* Created DRA shell script to create artifacts and dependency report
* Added console listing of the generated artifacts
2022-09-15 16:36:08 +02:00
Andrea Selva
a10e236853
Update CI versions after 8.4.1 (#14482) 2022-08-31 09:44:08 +02:00
Rob Bavey
a2a82f7406
Bump release and snapshot versions (#14469) 2022-08-24 16:45:16 -04:00
Mashhur
f798d5f0e4
Upgrade CI stack version to 8.3.3 (#14393) 2022-07-28 15:52:46 -07:00
Rob Bavey
44450684ef
Reduce the amount of memory required by gradle for integration tests (#14359)
A new class of build node has recently been added which appears to have fewer
memory resources than previous nodes, causing integration test failures. The
gradle task for integration tests doesn't appear to require 4gb, so this commit
reduces the -Xmx setting to 4gb
2022-07-19 09:07:38 -04:00
Rob Bavey
120648abe4
Bump release version in releases.json (#14323) 2022-06-30 12:24:35 -04:00
João Duarte
36704142fc
update releases list with new 7.17.5 and 8.3.0 (#14308) 2022-06-29 16:52:05 +01:00
João Duarte
9e7ca4ccdf
Update releases file to account for 8.2.3 (#14253) 2022-06-14 17:09:28 +01:00
kaisecheng
9daffad8ad
update release ci 7.17.4 (#14062) 2022-05-25 10:17:55 +01:00
Andrea Selva
7dff55c8bc
Update CI versions after 8.2.1 (#14137) 2022-05-25 08:48:47 +02:00
João Duarte
2ce081eee8
Update releases file with 8.2.0 2022-05-04 11:12:06 +01:00
João Duarte
0155a2e279
Update releases file with new 7.17.3 and 8.1.3 versions (#14007) 2022-04-20 13:07:56 +01:00
João Duarte
fa7b53b581
Adjust versions.yml to reflect new 7.17.2 and 8.1.2 releases (#13966) 2022-03-31 18:12:08 +01:00
Karol Bucek
b545f55f32
CI: disable testing against 8.1.1 for 8.x (#13938) 2022-03-28 14:03:36 +02:00
Rob Bavey
d64248f628
Bump releases.json (#13921)
8.1.1 has been released, and the latest snapshot on 8.x is now 8.2.0-SNAPSHOT
2022-03-22 10:07:29 -04:00
Andrea Selva
a059364183
Update CI versions after 8.1.0 (#13830) 2022-03-08 18:34:10 +01:00
Karol Bucek
11f64f92fb
CI: update 8.x resolution after 8.0.1 release (#13831) 2022-03-02 12:35:29 +01:00
kaisecheng
47efdebf3b
update ci release file 7.17.1 (#13818) 2022-02-28 17:19:33 +00:00
Andrea Selva
21adc90dd5
Update ci/logstash_releases.json after 8.0.0 release (#13758) 2022-02-10 17:29:26 +01:00
Andrea Selva
11e5094016
Update logstash-releases.json after 8.0.0-rc2 (#13722) 2022-02-04 11:12:46 +01:00
Karol Bucek
3637a30e8f
Refactor: drop redundant (jruby-complete.jar) dependency (#13159)
Co-authored-by: João Duarte <jsvd@users.noreply.github.com>
2022-02-02 06:55:26 +01:00
Andrea Selva
2ae5a665b6
Update CI versions after release 7.17.0 (#13697) 2022-02-01 16:55:24 +01:00
Rob Bavey
8fc4ea5585
Bump releases json after 6.8.23, 7.16.3 and 8.0.0-rc1 (#13618) 2022-01-13 17:20:22 -05:00
Karol Bucek
94d04f8044
CI: update releases and test against 7.17 SNAPSHOT (#13607) 2022-01-12 12:00:38 +01:00
Karol Bucek
0c2645c9c6
CI: update releases after 7.16.0 & 7.16.1 (#13482) 2021-12-15 13:24:39 +01:00
Rob Bavey
0cba1e5671
Use $BUILD_JAVA_HOME to control JVMs used with acceptance tests (#13471)
* Use $BUILD_JAVA_HOME to control JVM builds on acceptance tests and docker acceptance tests
2021-12-06 11:24:43 -05:00
Rob Bavey
3aa5741e68
Update logstash-releases.json (#13418)
This update incorporates:
  * Latest logstash release on `7.15` branch
  * Release of 8.0.0-beta1
  * Update of 8.x snapshot to 8.1.0-SNAPSHOT

This follows the precedence of #10627 to update snapshot release of 8.x to 8.1 following pre-GA releases
of major branch.
2021-11-23 09:00:32 -05:00
Karol Bucek
258b8b555c
Chore: update tested (ci) releases for 7.x / 6.x (#13335) 2021-10-19 09:36:19 +02:00
kaisecheng
a876f6479e
update ci releases to 7.15.0 (#13245) 2021-09-27 11:26:54 +02:00
Andrea Selva
5e9207f6bb
Update Logstash releases with latest 6.8.19 (#13241) 2021-09-21 16:16:15 +02:00
Andrea Selva
643fee7c8a
Update Logstash releases with latest 7.14.2 (#13240) 2021-09-21 14:52:00 +02:00
Andrea Selva
c0c2473f15
Update logstash_releases.json with 7.14.1 (#13193) 2021-09-02 09:56:52 +02:00
Andrea Selva
7d8a716cf0
Update releases list (#13149)
Update releases list, aligning with 7.14.0 and 6.8.18. With ES 7.14.0 and security on by default, this PR alsoswithed off security on ES in integration tests
2021-08-20 08:24:58 +02:00
Rob Bavey
4707cbd94c
Bundler: freeze lockfile on run, and "normalize" platform on plugin changes (#13015)
This PR enables the upgrade of bundler to the latest version.

Prior to this PR, the ability to do so was blocked by bundler.setup in versions of bundler > `2.23` making runtime changes to `Gemfile.lock` (unless the lock file was `frozen`) based on the specific platform the application was being run on, overriding any platforms (including generic `java` platform) set during build time. This was in conflict with changes made in #12782, which prevented the logstash user writing to files in `/usr/share/logstash`.

This PR will freeze the lockfile when logstash is run, and unfreeze it when manipulating plugins (install, update, remove, install from offline pack) to allow new plugins to be added. While unfrozen, changes are also made to ensure that the platform list remains as the generic `java` platform, and not changed to the specific platform for the runtime JVM.

This PR also introduces a new runtime flag, `--enable-local-plugin-development`. This flag is intended for use by Logstash developers only, and enables a mode of operation where a Gemfile can be manipulated, eg

```
gem "logstash-integration-kafka", :path => '/users/developer/code/plugins/logstash-integration-kafka'
```

to facilitate quick and simple plugin testing.

This PR also sets the `silence_root_warning` flag to avoid bundler printing out alarming looking warning messages when `sudo` is used. This warning message was concerning for users - it would be printed out during normal operation of `bin/logstash-plugin install/update/remove` when run under `sudo`, which is the expected mode of operation when logstash is installed to run as a service via rpm/deb packages. 

This PR also updates the vagrant based integration tests to ensure that Logstash still runs after plugin update/install/remove operations, fixes up some regular expressions that would cause test failures, and removes some dead code from tests.

## Release notes

* Updated Bundler to latest version
* Ensured that `Gemfile.lock` are appropriately frozen
* Added new developer-only flag to facilitate local plugin development to allow unfrozen lockfile in a development environment
2021-08-17 09:35:30 -04:00
Andrea Selva
87697fd113
Update releases list with 7.13.4 (#13088) 2021-07-21 09:43:05 +02:00
João Duarte
5aec68b08a
Update releases list with 6.8.17 and 7.13.3 (#13041) 2021-07-07 20:04:31 +01:00
Karol Bucek
18314d1ccb
CI: Update logstash_release.json after 7.3.12 (#12986) 2021-06-15 13:14:46 +02:00
Andrea Selva
5e1ab721ae
Update logstash_release.json after 6.8.16 and 7.13.0 (#12929) 2021-05-25 15:25:16 +02:00
João Duarte
3c6a476bb6
Update logstash_releases.json 2021-05-06 11:26:00 +01:00
Rob Bavey
ea92b9d529
Update logstash_releases.json (#12745) 2021-03-11 10:31:31 -05:00
João Duarte
a51ba426b7
List 7.11.1 in the logstash_releases.json file (#12679) 2021-02-17 19:16:12 +00:00