Commit graph

7 commits

Author SHA1 Message Date
Tyler Smalley c2a556bb70
[CI] Ensure checkout is cleaned up in packer cache script (#87762)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-11 10:15:19 -08:00
Tiago Costa aa8ec78060
chore(NA): enable yarn prefer offline and local mirror for development (#84124)
* chore(NA): enable --prefer-offline by default

* chore(NA): use prefer offline in the yarnrc

* chore(NA): update kbn pm

* chore(NA): add yarn offline mirror integration

* chore(NA): remove non wanted prune feature due to switching between branches

* chore(NA): re-introduce babel require hook
2020-11-25 00:18:18 +00:00
Brian Seeders 7d9f460a9c
[CI] Build docker image during packer_cache (#82145) 2020-11-18 11:17:41 -05:00
Spencer 74e07d2390
[packerCache] fix gulp usage, don't archive node_modules (#83327)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-11-12 14:03:44 -07:00
Tyler Smalley f0b4986099
Restores task for downloading Chromium builds (#71749)
This was removed in https://github.com/elastic/kibana/pull/69165 without
realizing it was used by the packer cache. I renamed it to be more
inline with what it actually does.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-07-15 06:53:40 -07:00
Tyler Smalley afe785b43a
[build] Creates Linux aarch64 archive (#69165)
- 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 #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>
2020-07-09 19:42:48 -07:00
Brian Seeders beb0da1d58
[CI] Fix packer cache git branch reference value (#69207) 2020-06-16 17:03:59 -04:00