Skip to content

[7.x] [build] Creates Linux aarch64 archive (#69165)#71358

Merged
tylersmalley merged 3 commits intoelastic:7.xfrom
tylersmalley:backport/7.x/pr-69165
Jul 13, 2020
Merged

[7.x] [build] Creates Linux aarch64 archive (#69165)#71358
tylersmalley merged 3 commits intoelastic:7.xfrom
tylersmalley:backport/7.x/pr-69165

Conversation

@tylersmalley
Copy link
Copy Markdown
Member

Backports the following commits to 7.x:

- Updates Linux Chromium builds to accept architecture argument (defaults to x64) for arm64 support.
  - Example: `python ~/chromium/build_chromium/build.py 312d84c8ce62810976feda0d3457108a6dfff9e6 arm64`
- Updates all Chromium builds to include architecture in filename.
  - `chromium-312d84c-linux_arm64.zip` _(new)_
  - `chromium-312d84c-linux.zip` > `chromium-312d84c-linux_x64.zip`
- Moves Chromium install from data directory to `x-pack/plugins/reporting/chromium`
- Moves Chromium download cache from `x-pack/plugins/reporting/.chromium` to `.chromium`
- Installs Chromium during build (closes elastic#53664)
- Updates build to be architecture aware (x64 and aarch64)
- Removed Chromium debug logs, they were not helpful and can not be written inside the Kibana root. If we were to keep them, we would need to write to `logging.dist`.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
# Conflicts:
#	.ci/packer_cache_for_branch.sh
#	x-pack/plugins/reporting/server/browsers/chromium/paths.ts
@tylersmalley tylersmalley added the backport This PR is a backport of another PR label Jul 10, 2020
@tylersmalley
Copy link
Copy Markdown
Member Author

tylersmalley commented Jul 10, 2020

I need the following files places in the headless-shell bucket on AWS:

chromium-312d84c-linux_arm64.zip
chromium-312d84c-linux_arm64.md5

Or, is there any reason we can't use the GCP bucket as well for 7.x?

cc: @elastic/kibana-reporting-services

@tylersmalley
Copy link
Copy Markdown
Member Author

@elasticmachine merge upstream

@tylersmalley
Copy link
Copy Markdown
Member Author

Blocked on #71485

@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Build metrics

✅ unchanged

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@tylersmalley tylersmalley merged commit 1c8107b into elastic:7.x Jul 13, 2020
@tylersmalley tylersmalley deleted the backport/7.x/pr-69165 branch July 13, 2020 22:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR blocked

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants