Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(NA): disables FORCE_COLOR temporarily when executing node interpreter on the cloud artifacts deployment scripts #162742

Merged
merged 17 commits into from
Jul 31, 2023

Conversation

mistic
Copy link
Member

@mistic mistic commented Jul 28, 2023

Closes #162756

This PR fixes a problem introduced after the merge of #160289

Looks like the behaviour of node regarding the use of the FORCE_COLOR flag is now propagated differently when cashing the output of a given node interpreter run in a bash variable which was affecting the script and making it to fail when casting a number string to a number.

@elastic elastic deleted a comment from kibana-ci Jul 29, 2023
@elastic elastic deleted a comment from kibana-ci Jul 29, 2023
@elastic elastic deleted a comment from kibana-ci Jul 29, 2023
@elastic elastic deleted a comment from kibana-ci Jul 29, 2023
@mistic mistic added chore Team:Operations Team label for Operations Team release_note:skip Skip the PR/issue when compiling release notes backport:all-open Backport to all branches that could still receive a release labels Jul 29, 2023
@mistic mistic changed the title chore(NA): replace usages of parseInt with Number on es configs inside @kbn/test chore(NA): disables FORCE_COLOR when execute node interpreter on the cloud scripts Jul 29, 2023
@mistic mistic marked this pull request as ready for review July 29, 2023 22:46
@mistic mistic requested a review from a team as a code owner July 29, 2023 22:46
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-operations (Team:Operations)

@mistic mistic changed the title chore(NA): disables FORCE_COLOR when execute node interpreter on the cloud scripts chore(NA): disables FORCE_COLOR temporarily when executing node interpreter on the cloud deployment scripts Jul 29, 2023
@mistic mistic changed the title chore(NA): disables FORCE_COLOR temporarily when executing node interpreter on the cloud deployment scripts chore(NA): disables FORCE_COLOR temporarily when executing node interpreter on the cloud artifacts deployment scripts Jul 29, 2023
@kibana-ci
Copy link
Collaborator

kibana-ci commented Jul 29, 2023

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] Serverless Observability Tests / serverless observability UI navigation active sidenav section is auto opened on load

Metrics [docs]

✅ unchanged

History

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

@mistic mistic added the v8.10.0 label Jul 30, 2023
@mistic mistic requested a review from jbudz July 31, 2023 17:17
@mistic mistic removed the v8.10.0 label Jul 31, 2023
@mistic mistic merged commit f981722 into main Jul 31, 2023
@mistic mistic deleted the try-replace-parseInt-with-Number-on-kbn-test-for-es branch July 31, 2023 19:57
@mistic mistic added backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) and removed backport:all-open Backport to all branches that could still receive a release labels Jul 31, 2023
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Jul 31, 2023
…preter on the cloud artifacts deployment scripts (elastic#162742)

Closes elastic#162756

This PR fixes a problem introduced after the merge of
elastic#160289

Looks like the behaviour of node regarding the use of the `FORCE_COLOR`
flag is now propagated differently when cashing the output of a given
node interpreter run in a bash variable which was affecting the script
and making it to fail when casting a number string to a number.

---------

Co-authored-by: kibanamachine <[email protected]>
(cherry picked from commit f981722)
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.9

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

@elastic elastic deleted a comment from kibanamachine Jul 31, 2023
mistic added a commit that referenced this pull request Jul 31, 2023
… interpreter on the cloud artifacts deployment scripts (#162742) (#162843)

# Backport

This will backport the following commits from `main` to `8.9`:
- [chore(NA): disables FORCE_COLOR temporarily when executing node
interpreter on the cloud artifacts deployment scripts
(#162742)](#162742)

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

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

<!--BACKPORT [{"author":{"name":"Tiago
Costa","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-07-31T19:57:21Z","message":"chore(NA):
disables FORCE_COLOR temporarily when executing node interpreter on the
cloud artifacts deployment scripts (#162742)\n\nCloses
https://github.com/elastic/kibana/issues/162756\r\n\r\nThis PR fixes a
problem introduced after the merge
of\r\nhttps://github.com//pull/160289\r\n\r\nLooks like
the behaviour of node regarding the use of the `FORCE_COLOR`\r\nflag is
now propagated differently when cashing the output of a given\r\nnode
interpreter run in a bash variable which was affecting the script\r\nand
making it to fail when casting a number string to a
number.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<[email protected]>","sha":"f98172291af44055f1e3ec7a8d55bbf4dacd5f18","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":162742,"url":"https://github.com/elastic/kibana/pull/162742","mergeCommit":{"message":"chore(NA):
disables FORCE_COLOR temporarily when executing node interpreter on the
cloud artifacts deployment scripts (#162742)\n\nCloses
https://github.com/elastic/kibana/issues/162756\r\n\r\nThis PR fixes a
problem introduced after the merge
of\r\nhttps://github.com//pull/160289\r\n\r\nLooks like
the behaviour of node regarding the use of the `FORCE_COLOR`\r\nflag is
now propagated differently when cashing the output of a given\r\nnode
interpreter run in a bash variable which was affecting the script\r\nand
making it to fail when casting a number string to a
number.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<[email protected]>","sha":"f98172291af44055f1e3ec7a8d55bbf4dacd5f18"}},"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/162742","number":162742,"mergeCommit":{"message":"chore(NA):
disables FORCE_COLOR temporarily when executing node interpreter on the
cloud artifacts deployment scripts (#162742)\n\nCloses
https://github.com/elastic/kibana/issues/162756\r\n\r\nThis PR fixes a
problem introduced after the merge
of\r\nhttps://github.com//pull/160289\r\n\r\nLooks like
the behaviour of node regarding the use of the `FORCE_COLOR`\r\nflag is
now propagated differently when cashing the output of a given\r\nnode
interpreter run in a bash variable which was affecting the script\r\nand
making it to fail when casting a number string to a
number.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<[email protected]>","sha":"f98172291af44055f1e3ec7a8d55bbf4dacd5f18"}}]}]
BACKPORT-->

Co-authored-by: Tiago Costa <[email protected]>
ThomThomson pushed a commit to ThomThomson/kibana that referenced this pull request Aug 1, 2023
…preter on the cloud artifacts deployment scripts (elastic#162742)

Closes elastic#162756

This PR fixes a problem introduced after the merge of
elastic#160289

Looks like the behaviour of node regarding the use of the `FORCE_COLOR`
flag is now propagated differently when cashing the output of a given
node interpreter run in a bash variable which was affecting the script
and making it to fail when casting a number string to a number.

---------

Co-authored-by: kibanamachine <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) chore release_note:skip Skip the PR/issue when compiling release notes Team:Operations Team label for Operations Team v8.9.1 v8.10.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fix cloud artifacts deployment scripts after node v18 upgrade
6 participants