Commit graph

42 commits

Author SHA1 Message Date
Kibana Machine
fc94811899
[8.9] fix(NA): yarn env vars for node_modules mirrors (#163549) (#163617)
# Backport

This will backport the following commits from `main` to `8.9`:
- [fix(NA): yarn env vars for node_modules mirrors
(#163549)](https://github.com/elastic/kibana/pull/163549)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Tiago
Costa","email":"tiago.costa@elastic.co"},"sourceCommit":{"committedDate":"2023-08-10T14:35:34Z","message":"fix(NA):
yarn env vars for node_modules mirrors (#163549)\n\nThis PR fixes the
setup we have for the node_module mirrors vars that\r\nare overriding
and pointing into our middle cache. The previous\r\nconfiguration was
not working as intended as the env vars set globally\r\non CI never
ended up in the bazel managed yarn install.\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"17936ffd21d4b4b274d2cda90902764ed0d4ae07","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["chore","Team:Operations","release_note:skip","backport:all-open","v8.10.0"],"number":163549,"url":"https://github.com/elastic/kibana/pull/163549","mergeCommit":{"message":"fix(NA):
yarn env vars for node_modules mirrors (#163549)\n\nThis PR fixes the
setup we have for the node_module mirrors vars that\r\nare overriding
and pointing into our middle cache. The previous\r\nconfiguration was
not working as intended as the env vars set globally\r\non CI never
ended up in the bazel managed yarn install.\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"17936ffd21d4b4b274d2cda90902764ed0d4ae07"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.10.0","labelRegex":"^v8.10.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/163549","number":163549,"mergeCommit":{"message":"fix(NA):
yarn env vars for node_modules mirrors (#163549)\n\nThis PR fixes the
setup we have for the node_module mirrors vars that\r\nare overriding
and pointing into our middle cache. The previous\r\nconfiguration was
not working as intended as the env vars set globally\r\non CI never
ended up in the bazel managed yarn install.\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"17936ffd21d4b4b274d2cda90902764ed0d4ae07"}}]}]
BACKPORT-->

Co-authored-by: Tiago Costa <tiago.costa@elastic.co>
2023-08-10 08:54:50 -07:00
Jon
ee7361032e
[8.9] Upgrade Node.js to 16.20.2 (#163539)
https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V16.md#16.20.2
2023-08-09 14:19:54 -07:00
Jon
b8c36e11b1
Upgrade Node.js to 16.20.1 (#160177)
https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V16.md#16.20.1
2023-06-21 16:57:55 -05:00
Jon
d41bcb210a
Upgrade Node.js to 16.19.1 (#151527)
https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V16.md#16.19.1
2023-02-21 10:40:59 -06:00
Thomas Watson
6a0f7b9562
Downgrade Node.js to version 16 (#149531)
Closes #149438

We'll upgrade again once a suitable solution to the issue has been
found.
2023-01-26 11:53:52 +00:00
Thomas Watson
b345f75634
Upgrade Node.js from v16.18.1 to v18.13.0 (#144012)
Closes #134930

Breaking changes in Node.js majors:

- `17.0.0`:
https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V17.md#17.0.0
- `18.0.0`:
https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V18.md#18.0.0
2023-01-17 21:04:23 +01:00
Jonathan Budzenski
6672962d19
Bump node to 16.18.1 (#144751)
https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V16.md#16.18.1
2022-11-08 10:16:10 -06:00
Jonathan Budzenski
21bc8ba841
Bump node to 16.17.1 (#141702) 2022-09-23 15:02:48 -05:00
Jonathan Budzenski
369272efe1
Bump Node.js to 16.16.0 (#135926) 2022-07-07 17:05:09 -05:00
Jonathan Budzenski
5460e38361
Bazel config maintenance (#135442)
* Bazel config maintenance

- Removes node.js s390x - not a supported platform
- Updates the list of ignored bazel folders
- Updates yarn to 1.22.19, we're on a 2.5 year old version

* bump yarn in package.json
2022-07-05 10:20:26 -05:00
Tiago Costa
0b2da10a7d
chore(NA): downgrades rules nodejs into v4.7.0 (#130347)
* chore(NA): downgrade rules nodejs into v4.0.0

* chore(NA): include windows patch

* chore(NA): polish downgrade code

* chore(NA): include yarn.lock
2022-04-15 04:11:08 +01:00
Tiago Costa
b84383e937
fix(NA): do not remote cache npm directories copies on rules_nodejs v5 (#130214)
* fix(NA): bazel remote cache traffic

* chore(NA): include local patch to fix the caches node_modules problem
2022-04-14 05:19:49 +01:00
Tiago Costa
fb761dca4c
chore(NA): upgrades rules_node_js to v5.4.0 (#130051)
* chore(NA): upgrades rules_node_js to v5.4.0

* chore(NA): include expunge on bootstrap --force-install
2022-04-12 15:33:09 -05:00
Tiago Costa
fce2df0485
Revert "chore(NA): upgrades rules_node_js to v5.4.0 (#130021)"
This reverts commit d41fb22d92.
2022-04-12 19:18:15 +01:00
Tiago Costa
d41fb22d92
chore(NA): upgrades rules_node_js to v5.4.0 (#130021) 2022-04-12 10:14:23 -07:00
Tiago Costa
eb0ef19583
chore(NA): upgrades bazel rules nodejs to v5 (#129522)
* chore(NA): upgrade bazel into v5

* chore(NA): initial work to upgrade to rules v5

* chore(NA): remove @elastic/datemath jest unit test for eslint plugin imports

* chore(NA): removed packager tsc_wrapped added my mistake
2022-04-08 20:42:37 +01:00
Tiago Costa
32eb83cfd2
chore(NA): redesign integration between bazel node_modules management and yarn kbn commands (#114048)
* chore(NA): redesign integration between bazel node_modules management and yarn kbn commands

* fix(NA): remove .yarn-integrity on force install

* fix(NA): include clean on force install

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-03-28 13:57:04 +01:00
Thomas Watson
de02c2da65
Upgrade Node.js from v16.13.2 to v16.14.2 (#128123) 2022-03-21 07:30:00 -05:00
Spencer
c509fda3fb
[yarn] download prebuilt artifacts for re2 and node-sass from custom mirrors (#126820)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-03-03 15:22:10 -06:00
Tiago Costa
172bf98942
chore(NA): upgrades rules nodejs to v4.0.0 (#125163)
* chore(NA): upgrade rules_node_js into v4.4.3

* chore(NA): update bazel typescript dep to 4.6.1

* chore(NA): downgrade rules nodejs to v4.0.0

* chore(NA): update dep on bazel/typescript pkg

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-02-12 03:53:03 +00:00
Thom Heymann
2a2fd7cbf0
Bump Node.js from version 16.13.0 to 16.13.2 (#122723) 2022-01-12 08:26:26 +00:00
Jonathan Budzenski
6908420a8b
Bump node to 16.13.0 (#116519)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-02 21:56:47 -05:00
Jonathan Budzenski
fa1a233d23
Development and build support for ARM based Apple devices (#114879) 2021-10-19 23:01:52 +01:00
Jonathan Budzenski
7d66002da2
Bump node to 16.11.1 (#110684)
* Bump node to ^16

* fix comment

* use jest timers

* bump mock-fs

* Fix core type errors

* Unskipping tests that work on my machine

* skip new unhandled promise rejection

* Fix Nodejs v16 regression due to https://github.com/nodejs/node/issues/38924

* Fix failing concurrent connections collector test

* Fix types after merge from master

* update servicenow test

* Skip unhandledRejection tests

* Skip tests with unhandled promise rejection

* Fix discover jest failures

* bump node to 16.11.1

* revert timeout increase

* skip unhandled promise rejection

* rm jest import

* skip unhandled promise rejection

Co-authored-by: Rudolf Meijering <skaapgif@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Tim Roes <tim.roes@elastic.co>
2021-10-16 16:21:58 -05:00
Thomas Watson
29b45883be
Bump Node.js from version 14.17.5 to 14.17.6 (#110654) 2021-09-01 08:50:50 +02:00
Tiago Costa
7dc24e65d6
chore(NA): upgrades bazel rules nodejs into v3.8.0 (#108471) 2021-08-13 15:24:51 +01:00
Aleh Zasypkin
dc1ceefbfd
Bump Node.js from version 14.17.3 to 14.17.5. (#108324) 2021-08-13 09:26:42 +02:00
Tiago Costa
86225685c6
chore(NA): upgrades bazel rules nodejs into v3.7.0 (#105764)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-15 22:35:56 +01:00
Thomas Watson
3a173656ab
Upgrade from Node.js v14.17.2 to v14.17.3 (#104417) 2021-07-08 07:26:37 -04:00
Tiago Costa
2b236b7fa6
chore(NA): enable exports_directories_only on rules nodejs to improve performance (#104180)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-02 00:14:40 +01:00
Thomas Watson
23d900eb56
Bump Node.js from version 14.17.0 to 14.17.2 (#104148) 2021-07-01 21:27:49 +02:00
Tiago Costa
90db5fd4a4
chore(NA): upgrades bazel rules nodejs into v3.6.0 (#103895)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-01 01:48:48 +01:00
Tiago Costa
e565b22ab3
chore(NA): upgrade bazel rules nodejs to v3.5.1 (#101412) 2021-06-04 19:56:52 +01:00
Thomas Watson
afaacae777
Bump Node.js from version 14.16.1 to 14.17.0 (#100314) 2021-05-19 07:36:43 -07:00
Tiago Costa
6f819638ba
chore(NA): upgrade bazel rules nodejs to v3.5.0 (#99932) 2021-05-12 12:50:03 -04:00
Tiago Costa
24374d9c4a
chore(NA): upgrades bazel rules nodejs into v3.4.2 (#98701)
* chore(NA): upgrade bazel rules nodejs to v3.4.1

* chore(NA): update rules nodejs into 3.4.2

* chore(NA): update yarn lock after updating rules
2021-04-29 15:18:14 +01:00
Tiago Costa
e3f5249c88
chore(NA): @kbn/pm new commands to support development on Bazel packages (#96465)
* chore(NA): add warnings both to run and watch commands about Bazel built packages

* chore(NA): add new commands to build and watch bazel packages

* docs(NA): add documentation about how to deal with bazel packages

* chore(NA): addressed majority of the feedback received except for improved error logging

* chore(NA): disable ibazel info notification.

* chore(NA): remove iBazel notification

* chore(NA): remove iBazel notification - kbn pm dist

* chore(NA): move show_results option to kbn-pm only

* chore(NA): patch build bazel command to include packages target list

* chore(NA): add pretty logging for elastic-datemath

* chore(NA): remove double error output from commands ran with Bazel

* fix(NA): include simple error message to preserve subprocess failure state

* docs(NA): missing docs about how to independentely watch non bazel packages

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-12 20:24:19 -04:00
Thomas Watson
88847b9845
Bump Node.js from version 14.16.0 to 14.16.1 (#96382) 2021-04-07 14:31:10 -04:00
Tiago Costa
c042968b33
chore(NA): upgrade bazel rules nodejs to v3.2.3 (#95413) 2021-03-25 12:08:34 -04:00
Tiago Costa
904d98ea59
chore(NA): upgrade bazel rules nodejs to v3.2.2 (#94726) 2021-03-16 14:32:43 -04: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
cf3c746eca
chore(NA): bazel machinery installation on kbn bootstrap (#89469)
* chore(NA): bazel machinery installation on kbn bootstrap

* refact(NA): simplify install logic

* chore(NA): update kbn pm with last changes
2021-01-28 00:51:01 +00:00