Commit graph

8 commits

Author SHA1 Message Date
Tyler Smalley 645cecdf1f
[bazel] Remove Bazel cache for now (#116351)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-10-26 12:04:17 -07:00
Tyler Smalley ab16b485cd
[ci] Disable Bazel cache on CI (#115428)
This is a short-term solution to reduce our hit count in Buildkite due to the increase in bootstraps so we can move forward with enabling Buildkite across all PRs.
2021-10-19 22:12:31 +01:00
Tyler Smalley 4c66da4410
[Bazel] Only persist cache and create build invocations in on-merge pipeline (#114035)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-10-07 11:19:30 -07:00
Tiago Costa 86f1684076
chore(NA): manage npm dependencies within bazel (#92864)
* chore(NA): full WORKSPACE.bazel logic plus manage yarn dependencies with Bazel

* chore(NA): update BUILD.bazel files comments on root and packages

* chore(NA): add workspace file with useful data

* chore(NA): install deps through bazel

* chore(NA): update workspace file

* chore(NA): update into last rules nodejs

* chore(NA): ensure bazel always run yarn install

* chore(NA): support offline mode

* chore(NA): remove elastic-datemath

* chore(NA): restore bazel 4.0.0

* chore(NA): update kbn pm dist

* chore(NA): introduce force-install command

* docs(NA): update docs with new yarn kbn bootstrap flags

* chore(NA): use path.resolve on kbn bootstrap integrity check verification

* chore(NA): update .yarnrc

Co-authored-by: Tyler Smalley <tylersmalley@me.com>

* chore(NA): change cli argument typo

* chore(NA): fix spacing on kbn pm cli

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Tyler Smalley <tylersmalley@me.com>
2021-03-03 12:37:20 -05:00
Tiago Costa 15a4c285b8
chore(NA): move bazel workspace status from bash script into nodejs executable (#90560)
* chore(NA): move bazel workspace status into nodejs executable

* chore(NA): removed unused console.log on error

* chore(NA): ability to setup different name for origin remote on workspace status command

* chore(NA): do not fail if cant collect repo url

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-08 22:24:14 +00:00
Tiago Costa a9fce985a5
chore(NA): integrate build buddy with our bazel setup and remote cache for ci (#90116)
* chore(NA): simple changes on bazelrc

* chore(NA): integrate bazel tools with BuildBuddy and remote cache service

* chore(NA) fix bazelrc line config

* chore(NA): move non auth settings out of bazelrc.auth

* chore(NA): output home dir

* chore(NA): load .bazelrc-ci.auth from /Users/tiagocosta dir

* chore(NA): remove bazelrc auth file and append directly into home bazelrc

* chore(NA): comment announce option

* chore(NA): integrate build buddy metadata

* chore(NA): update src/dev/ci_setup/.bazelrc-ci

Co-authored-by: Tyler Smalley <tylersmalley@me.com>

* chore(NA): move build metadata integation to common confdig

* chore(NA): fix problem on bazel file location

* chore(NA): correct sh file permissions

* chore(NA): only get host on CI

* chore(NA): add cores into host info on CI

* chore(NA): sync with last settings to setup bazelisk tools on ci

* chore(NA): sync last changes on ci setup env

* chore(NA): sync settings on ci setup with the other PR

* chore(NA): remove yarn export

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Tyler Smalley <tylersmalley@me.com>
2021-02-05 23:45:30 +00:00
Tiago Costa a0d5d5614d
chore(NA): introduce new yarn kbn reset command to support bazel workflow (#89597)
* chore(NA): introduce new yarn kbn destroy command to support bazel workflow

* chore(NA): update wording for new kbn pm changes

* chore(NA): update .bazelrc.common

Co-authored-by: Tyler Smalley <tylersmalley@me.com>

* chore(NA): update .bazelrc

Co-authored-by: Tyler Smalley <tylersmalley@me.com>

* chore(NA): update packages/kbn-pm/src/commands/clean.ts

Co-authored-by: Tyler Smalley <tylersmalley@me.com>

* chore(NA): update packages/kbn-pm/src/commands/destroy.ts

Co-authored-by: Tyler Smalley <tylersmalley@me.com>

* chore(NA): update packages/kbn-pm/src/commands/clean.ts

Co-authored-by: Tyler Smalley <tylersmalley@me.com>

* chore(NA): update packages/kbn-pm/src/commands/destroy.ts

Co-authored-by: Tyler Smalley <tylersmalley@me.com>

* chore(NA): rename destroy command into reset

* chore(NA): update packages/kbn-pm/src/commands/clean.ts

Co-authored-by: Tyler Smalley <tylersmalley@me.com>

* chore(NA): restore old behaviour on kbn clean

* chore(NA): update reset command to delete bazel caches on disk

* chore(NA): update packages/kbn-pm/src/commands/clean.ts

Co-authored-by: Tyler Smalley <tylersmalley@me.com>

* chore(NA): update prefix to match bazel defined one for cache settings

* chore(NA): update kbn pm dist file

* chore(NA): update kbn pm dist

* chore(NA): update gitignore

* chore(NA): add new ignore files after changed bazel aggregated folder

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Tyler Smalley <tylersmalley@me.com>
2021-02-03 22:02:34 +00:00
Tiago Costa ecf7dd4628
chore(NA): add ignore and rc files for bazel (#89524)
* chore(NA): add bazel related ignore rules

* chore(NA): add bazelrc files setup

* chore(NA): reword on bazelrc comment

* chore(NA): update .eslintignore

Co-authored-by: Tyler Smalley <tylersmalley@me.com>

* chore(NA): rename .bazelrc into .bazelrc-ci

* chore(NA): update .gitignore

Co-authored-by: Tyler Smalley <tylersmalley@me.com>

Co-authored-by: Tyler Smalley <tylersmalley@me.com>
2021-01-28 14:26:01 +00:00