Commit graph

255 commits

Author SHA1 Message Date
Mashhur
3a753e49e8
Update Logstash core versions in CI after release. (#15424) 2023-10-12 22:57:43 -07:00
Andrea Selva
03e0b1a301
Updates CI versions after 8.10.2 (#15339) 2023-09-21 09:24:02 -07:00
João Duarte
c33af94faa
Update logstash_releases.json to include 8.10.1 2023-09-20 13:28:40 +01:00
Pavel Zorin
f90647d98d
Sonar integration with Java Tests code coverage (#15279)
* Sonar integration

* Removed sonar from test target
2023-09-15 00:47:38 +02:00
Andrea Selva
4bddfd7d06
Update CI releases after 7.17.13 (#15293) 2023-09-13 16:48:59 +02:00
kaisecheng
03f1a18a77
Update CI releases after 8.10.0 (#15319) 2023-09-13 10:56:50 +01:00
kaisecheng
236b8cb8cb
bump_ci_8.10.0 (#15315) 2023-09-12 14:14:08 +01:00
Andrea Selva
3d67f8238d
Update CI releases after 8.9.2 (#15295) 2023-09-08 14:47:06 +02:00
kaisecheng
0286f671d2
serverless test use minimum privileges per case (#15264)
This commit splits the privileges per use case and 
removes ilm in template for serverless test
2023-08-31 22:27:43 +01:00
kaisecheng
9e48f9cfde
update release version (#15263) 2023-08-17 17:14:15 +01:00
kaisecheng
a51c788e0c
[doc] serverless setup endpoint for test (#15249)
Co-authored-by: João Duarte <jsvd@users.noreply.github.com>
2023-08-16 17:37:12 +01:00
kaisecheng
fb66e9888c
Fix serverless test for api protection (#15252) 2023-08-16 14:02:11 +01:00
kaisecheng
9af7c7cef4
Serverless test against restricted API key (#15224)
This commit changes the serverless tests to use a restricted API key with necessary permissions and disables Logstash legacy monitoring test.

Fixes: #15234

Co-authored-by: João Duarte <jsvd@users.noreply.github.com>
2023-08-02 15:27:46 +01:00
Rob Bavey
6d4ae5e8e7
Update releases.json with latest released versions (#15219) 2023-07-25 10:24:13 -04:00
kaisecheng
0f8695593e
buildkite serverless test (#15150)
This commit adds a Buildkite pipeline to test against serverless endpoint daily

Tests cover 
- es-output
- es-input
- es-filter
- central pipeline management
- legacy monitoring
- dlq
- integration-filter
- kibana API
- metricbeat stack monitoring

Co-authored-by: João Duarte <jsvd@users.noreply.github.com>
Co-authored-by: João Duarte <jsvduarte@gmail.com>
2023-07-19 17:21:53 +01:00
Andres Rodriguez
4255a8fd1c
Rubocop: Enable SpaceAround cops (#15196)
* Enable SpaceARoundBlockParameters
* Enable SpaceAroundEqualsInParameterDefault
* Enable SpaceAroundKeyword
* Enable SpaceAroundOperators
* Enable SpaceBeforeBlockBraces, which yields no changes
2023-07-18 21:11:57 -04:00
Andres Rodriguez
acd87a69e7
Rubocop: Enable various EmptyLine cops (#15194)
Disabled:
 * EmptyLineAfterGuardClause
 * EmptyLineAfterMultilineCondition
 * EmptyLinesAroundAccessModifier

Enabled:
 * Layout/EmptyLineAfterMagicComment
 * Layout/EmptyLineBetweenDefs
 * Layout/EmptyLines
 * Layout/EmptyLinesAroundArguments
 * Layout/EmptyLinesAroundAttributeAccessor
 * Layout/EmptyLinesAroundBeginBody
 * Layout/EmptyLinesAroundBlockBody
 * Layout/EmptyLinesAroundExceptionHandlingKeywords
 * Layout/EmptyLinesAroundMethodBody
 * Layout/EmptyLinesAroundModuleBody
2023-07-18 16:49:16 -04:00
Andrea Selva
5d6aa105b0
Script to run all plugins tests and try an install, rooting in local Logstash (#15018)
Implements a script to test all supported plugins against Logstash/JRuby, in particular it uses the JRuby(and JDK) bundled with Logstash to execute the unit tests, create the gem and install the gem on local Logstash.

This doesn't start a real pipeline run into the local Logstash, but should be enough to reveal macroscopic Ruby syntax compatibility errors.

Refer to PR  https://github.com/elastic/logstash/pull/15018 for usage examples.

Co-authored-by: Ry Biesemeyer <yaauie@users.noreply.github.com>
2023-07-18 10:37:44 +02:00
Rob Bavey
9f14c649ff
Update released versions (#15129) 2023-06-30 13:37:36 -04:00
Andrea Selva
e5f35df62b
Update versions used in plugins CI (#15061) 2023-05-26 09:07:03 +02:00
João Duarte
139acd1058
Update logstash_releases.json with the releases of 7.17.10 and 8.7.1 (#15037) 2023-05-02 09:57:44 +01:00
kaisecheng
f6b14b9a28
Update ci release version 8.7.0 (#14983) 2023-04-02 16:31:21 +01:00
Mashhur
34dcdad62c
CI LS version bump, 8.6.2 (#14911) 2023-02-21 15:39:20 +05:00
João Duarte
d2858ffd66
Update releases list to include 8.6.1 2023-01-26 21:54:23 +00:00
Andrea Selva
a7027dc547
Update CI configured versions after 8.6.0 release (#14830) 2023-01-11 08:02:22 +01:00
kaisecheng
52d2d2e57a
update ci release file (#14807) 2022-12-12 13:54:54 +00:00
Andrea Selva
7a39d97055
Avoid to create and upload AARCH64 Docker images for UBI8 (#14786)
On ARM architecture UBI8 Docker images aren't created, so avoid to create empty tar.gz files.
2022-11-29 11:21:08 +01:00
Andrea Selva
2e5e49d10d
[DRA] Avoid to loose err code on docker save (#14780)
* [DRA] Force docker save to save directly on file instead of pipe to another command loosing the execution error code
2022-11-28 16:47:04 +01:00
Andrea Selva
aa73187d93
Update CI used versions after 8.5.2 release (#14772) 2022-11-22 18:39:30 +01:00
Andres Rodriguez
1dead06cdd
DRA: Build dockerfiles for release (#14730) 2022-11-03 09:14:44 -04:00
Andres Rodriguez
ef6852b687
DRA: uploading missing docker-build-context files (#14722) 2022-11-02 16:35:45 -04:00
kaisecheng
cf54386d01
update release version (#14709) 2022-10-26 17:55:08 +01:00
kaisecheng
08072aae0b
update release file 7.17.8 (#14692) 2022-10-26 17:44:45 +01:00
Andres Rodriguez
2e8bd20cf5
DRA - Fix docker image build (#14706)
Fix the docker image building and upload process:
 * Builds ubi8 on x86_64.
 * Uploads ironbank and ubi8 context files from x86_64 only.
2022-10-26 11:20:50 -04:00
Andrea Selva
6ad5690a8c
Adds upload of missed docker docker-build-context.tar.gz artifacts (#14703)
Updates the dra_docker.sh script to upload also docker-build-context.tar.gz files
2022-10-26 12:15:55 +02:00
Andres Rodriguez
17d0bb5ffb
DRA - Fix error reporting (#14698)
Ensures the DRA build script surfaces a rake error, instead of allowing the build to continue.

This ensures that the build doesn't continue if any of the steps fails.

Co-authored-by: Rob Bavey <rob.bavey@elastic.co>
2022-10-25 17:00:09 -04:00
Andres Rodriguez
6ba5cc112f
DRA - generalize docker image building (#14670)
* Generalize docker image building
* Rename and add ability to pass the architecture as a parameter
* Handle ARCH env variable
2022-10-24 12:50:11 -04:00
Andres Rodriguez
9584d1332b
DRA - fix dra_upload syntax, breaking builds (#14685)
Fix dra_upload.sh syntax that's breaking the build.
2022-10-22 13:02:34 -04:00
Andrea Selva
9c7b7b7454
[DRA] Don't download Darwin arrch64 for 7.17 (#14677)
Version 7.17 doesn't generate Darwin aarch64 artifacts. Don't download these artifacts from the GCS bucket, given that we don't build Darwin for that release.
2022-10-20 16:30:41 +02:00
Andres Rodriguez
393460025e
Fix sourcing on dra_upload (#14659)
Fix sourcing on dra_upload.sh
2022-10-17 12:55:47 -04:00
Andres Rodriguez
8bfc7ef164
Fix dra_common sourcing (#14657)
Fixes the source of dra_common.sh. It will now first check the directory of the file from which this dra_common.sh script is being called. This allows the common script to be sourced regardless of where the sourcing script is being called from.
2022-10-17 11:09:56 -04:00
Andres Rodriguez
5b1d53622c
DRA: Improve shell scripts for debuggability (#14654)
The changes remove some code duplication by introducing a common file that can be sourced between all scripts. It also improves debuggability by adding better messages.
2022-10-17 10:23:26 -04:00
Andres Rodriguez
db6a7bc619
DRA: Handle env variables better (#14644)
* DRA: Handle env variables better
* Moved the addition of SNAPSHOT suffix to the version after the VERSION_QUALIFIER
* Fix badly assigned variable, version qualifier has to be appended also to PLAIN_STACK_VERSION and not RELEASE_VER

Co-authored-by: andsel <selva.andre@gmail.com>
2022-10-13 10:38:55 -04:00
Andrea Selva
cb76c685b7
Follow up PR of #14645, adds version qualifier to the plain version variable (#14646) 2022-10-13 11:47:30 +02:00
Andrea Selva
b8792107ad
Avoid to pass SNAPSHOT particle to the version passed to release-manager (#14645)
The version passed to the release-manager doesn't need the SNAPSHOT particle because already handled by the --workflow="snapshot", if inserted make the release manager to search for artifacts named as 8.5.0-SNAPSHOT-SNAPSHOT
2022-10-13 10:24:34 +02:00
Andres Rodriguez
ad71ff24c8
Disable -x in dra build scripts (#14643) 2022-10-12 17:46:27 -04:00
Andres Rodriguez
bfaa063280
Enable debug for DRA shells scripts (#14642) 2022-10-12 16:22:30 -04:00
Andres Rodriguez
363adad3b6
dra_upload.sh: Leave artifacts under build/ (#14639)
Do not move out artifacts from the build/ former to ensure the upload doesn't fail.
2022-10-12 14:36:57 -04:00
Andrea Selva
11ecaaea5a
Fix/dra use another technique to extract branch name (#14636)
Avoid to leverage on git local commands to guess the local branch, it switches to listing the branches and checking against the the stack version. If doesn't exists it's main
2022-10-12 14:51:47 +02:00
Andrea Selva
63d5658015
Re-added execution rights to dra_upload.sh (#14626)
Re-apply execution permission to DRA upload script
2022-10-12 09:02:23 +02:00