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

build: upgrade to node 12 LTS #44024

Merged
merged 1 commit into from
Jan 22, 2020
Merged

Conversation

dhartunian
Copy link
Collaborator

@dhartunian dhartunian commented Jan 15, 2020

In order to use the latest webpack version we need
to upgrade the node version as well.

This upgrades us to the current LTS version.

Added some documentation on this in README which
mirrors many of the steps for a go upgrade.

Added a .node-version file to the root of the
repo which helps with using the nodenv tool to
manage locally installed nodes versions.

  • Adjust version in Docker image (source).
  • Rebuild the Docker image and bump the version in builder.sh accordingly (source).
  • Bump the default installed version of nodejs in bootstrap-debian.sh (source).
  • Update the builder.dockerImage parameter in the TeamCity Cockroach project.

Closes: #44021

Release note (build change): CockroachDB UI is now built with node12

@dhartunian dhartunian requested a review from a team January 15, 2020 18:55
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Contributor

@vilterp vilterp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the readme checklist, .node-version and engines!

@dhartunian dhartunian force-pushed the 44021-use-node-12 branch 2 times, most recently from fe2e5e1 to f7dd586 Compare January 16, 2020 16:34
Copy link
Member

@bobvawter bobvawter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM w/ nit

build/README.md Outdated
* [ ] Adjust version in Docker image ([source](./builder/Dockerfile#L218)).
* [ ] Rebuild the Docker image and bump the version in builder.sh accordingly ([source](./builder.sh#L6)).
* [ ] Bump the default installed version of nodejs in bootstrap-debian.sh ([source](./bootstrap/bootstrap-debian.sh#L9)).
* [ ] Update the `builder.dockerImage` parameter in the TeamCity `Cockroach` project.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't make a copy of the checklist, they might get out of sync. Please just add a link back to the relevant section.

In order to use the latest webpack version we need
to upgrade the node version as well.

This upgrades us to the current LTS version.

Added some documentation on this in README which 
mirrors many of the steps for a go upgrade.

Added a `.node-version` file to the root of the 
repo which helps with using the `nodenv` tool to 
manage locally installed nodes versions.

* [X] Adjust version in Docker image ([source](./builder/Dockerfile#L218)).
* [X] Rebuild the Docker image and bump the version in builder.sh accordingly ([source](./builder.sh#L6)).
* [X] Bump the default installed version of nodejs in bootstrap-debian.sh ([source](./bootstrap/bootstrap-debian.sh#L9)).
* [X] Update the `builder.dockerImage` parameter in the TeamCity `Cockroach` project.

Closes: cockroachdb#44021

Release note (build change): CockroachDB UI is now built with node12
@dhartunian
Copy link
Collaborator Author

bors r+

craig bot pushed a commit that referenced this pull request Jan 22, 2020
44024: build: upgrade to node 12 LTS r=dhartunian a=dhartunian

In order to use the latest webpack version we need
to upgrade the node version as well.

This upgrades us to the current LTS version.

Added some documentation on this in README which 
mirrors many of the steps for a go upgrade.

Added a `.node-version` file to the root of the 
repo which helps with using the `nodenv` tool to 
manage locally installed nodes versions.

* [X] Adjust version in Docker image ([source](./builder/Dockerfile#L218)).
* [X] Rebuild the Docker image and bump the version in builder.sh accordingly ([source](./builder.sh#L6)).
* [X] Bump the default installed version of nodejs in bootstrap-debian.sh ([source](./bootstrap/bootstrap-debian.sh#L9)).
* [x] Update the `builder.dockerImage` parameter in the TeamCity `Cockroach` project.

Closes: #44021

Release note (build change): CockroachDB UI is now built with node12

44164: colexec: add bool_or/bool_and operators r=asubiotto a=Azhng

This PR adds `bool_and` and `bool_or` builtin functions to vectorized engine.

Closes #43560 

Release note (sql_change): The vectorize engine now supports
bool_and/bool_or builtin aggregation functions.

44184: colexec: minor cleanup r=yuzefovich a=yuzefovich

**colexec: clean up ordinalityOp**

This commit changes the planning of ordinalityOp to specify the output
column index (previously, the column was simply appended on the first
call to Next). This unifies ordinalityOp with all other operators. Also,
in theory it is possible that different batches are returned by the
input to ordinalityOp, and the later batches might not have the appended
column, but I cannot reproduce it in practice (probably because
ordinality processor is only planned in non-distributed fashion, and if
several nodes stream data to it, the streams will have been merged
somehow). Anyway, I think this change is beneficial.

Release note: None

**colexec: remove redundant unset of Nulls in cfetcher**

Nulls are reset as part of ResetInternalBatch call below, so unsetting
them explicitly is redundant and is now removed.

Release note: None

**colexec: clean up any_not_null_agg template**

This commit removes explicit template language to align
any_not_null_tmpl with others.

Release note: None


Co-authored-by: David Hartunian <davidh@cockroachlabs.com>
Co-authored-by: Azhng <archer.xn@gmail.com>
Co-authored-by: Yahor Yuzefovich <yahor@cockroachlabs.com>
@craig
Copy link
Contributor

craig bot commented Jan 22, 2020

Build succeeded

@craig craig bot merged commit 22a4ef7 into cockroachdb:master Jan 22, 2020
@dhartunian dhartunian deleted the 44021-use-node-12 branch November 14, 2022 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

build: upgrade to node 12 LTS
4 participants