Commit graph

275 commits

Author SHA1 Message Date
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
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