Commit graph

7 commits

Author SHA1 Message Date
github-actions[bot]
e2735bd29f
DRA - Fix error reporting (#14698) (#14700)
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>
(cherry picked from commit 17d0bb5ffb)
2022-10-25 18:40:01 -04:00
github-actions[bot]
53da859769
DRA - generalize docker image building (#14670) (#14689)
* Generalize docker image building
* Rename and add ability to pass the architecture as a parameter
* Handle ARCH env variable

(cherry picked from commit 6ba5cc112f)

Co-authored-by: Andres Rodriguez <andres.lazo@elastic.co>
2022-10-24 21:23:19 -04:00
Andres Rodriguez
5c30a394af
Manually backport #14654, #14657, #14659 (#14665)
* 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.
* 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.
* Fix sourcing on dra_upload (#14659). Fix sourcing on dra_upload.sh
2022-10-17 18:30:18 -04:00
github-actions[bot]
a441638474
DRA: Handle env variables better (#14644) (#14653)
* 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>
(cherry picked from commit db6a7bc619)
2022-10-13 14:04:04 -04:00
github-actions[bot]
428cd00f9d
Backport PR #14600 to 7.17: Updates DRA scripts to build snapshot artifacts #14621
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>
(cherry picked from commit d8d690079a)
2022-10-11 18:16:36 +02:00
github-actions[bot]
eff28defc1
Backport PR #14589 to 7.17: DRA - Update scripts to use the version qualifier in stack_version
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>
(cherry picked from commit 3075029b27)

Co-authored-by: Andrea Selva <selva.andre@gmail.com>
2022-10-11 09:45:38 +02:00
Andrea Selva
fbf746b8a8
Backport dra 7.17 (#14588)
This is a **not clean backport** of the following PRs to `8.5` branch:

- Introduces a bash script to build all the artifacts and dependencies report. #14522
- Save docker images as tar.gz files move the CSV dependency report in the path that's expected by release-manager #14552 
- Split ci scripts into ARM and x86 ones #14567
- Uses the gsutil tool to upload all the generated artifacts into an intermediate collector bucket. #14568 
- Collect all artifacts created and upload to GCP with release-manager #14584
2022-10-04 09:50:41 +02:00