Skip to content

Commit 7d7bc25

Browse files
authored
Merge pull request #364 from ByteInternet/support-node-22
Add docs for supporting Node 22
2 parents 571d536 + d7b11a3 commit 7d7bc25

File tree

7 files changed

+17
-17
lines changed

7 files changed

+17
-17
lines changed

docs/hypernode-deploy/applications/config-for-nextjs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ $configuration->setPlatformConfigurations([
5050
new PlatformConfiguration\HypernodeSettingConfiguration('elasticsearch_enabled', 'False'),
5151
new PlatformConfiguration\HypernodeSettingConfiguration('opensearch_enabled', 'False'),
5252
new PlatformConfiguration\HypernodeSettingConfiguration('varnish_enabled', 'False'),
53-
new PlatformConfiguration\HypernodeSettingConfiguration('nodejs_version', '20'),
53+
new PlatformConfiguration\HypernodeSettingConfiguration('nodejs_version', '22'),
5454
]);
5555

5656
$configuration->addBuildTask('node:install');

docs/hypernode-deploy/getting-started/configure-ci-cd.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ env:
103103
jobs:
104104
build:
105105
runs-on: ubuntu-latest
106-
# Here we use the latest Hypernode Deploy image with PHP 8.3 and Node.js 20
107-
container: quay.io/hypernode/deploy:latest-php8.3-node20
106+
# Here we use the latest Hypernode Deploy image with PHP 8.3 and Node.js 22
107+
container: quay.io/hypernode/deploy:latest-php8.3-node22
108108
steps:
109109
- uses: actions/checkout@v2
110110
- uses: actions/cache@v2
@@ -137,8 +137,8 @@ jobs:
137137
deploy:
138138
needs: build
139139
runs-on: ubuntu-latest
140-
# Here we use the latest Hypernode Deploy image with PHP 8.3 and Node.js 20
141-
container: quay.io/hypernode/deploy:latest-php8.3-node20
140+
# Here we use the latest Hypernode Deploy image with PHP 8.3 and Node.js 22
141+
container: quay.io/hypernode/deploy:latest-php8.3-node22
142142
steps:
143143
- uses: actions/checkout@v2
144144
- name: download build artifact

docs/hypernode-deploy/getting-started/configure-hypernode-settings-on-deployment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ $configuration->setPlatformConfigurations([
3131
new PlatformConfiguration\HypernodeSettingConfiguration('elasticsearch_enabled', 'False'),
3232
new PlatformConfiguration\HypernodeSettingConfiguration('opensearch_enabled', 'True'),
3333
new PlatformConfiguration\HypernodeSettingConfiguration('varnish_enabled', 'True'),
34-
new PlatformConfiguration\HypernodeSettingConfiguration('nodejs_version', '20'),
34+
new PlatformConfiguration\HypernodeSettingConfiguration('nodejs_version', '22'),
3535
]);
3636
```
3737

docs/hypernode-deploy/pipelines/bitbucket-pipelines.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ Create the file `bitbucket-pipelines.yml` with the contents below.
5858
This workflow will be used in other workflows.
5959

6060
```yaml
61-
# Here we use the latest Hypernode Deploy image with PHP 8.3 and Node.js 20
62-
image: quay.io/hypernode/deploy:latest-php8.3-node20
61+
# Here we use the latest Hypernode Deploy image with PHP 8.3 and Node.js 22
62+
image: quay.io/hypernode/deploy:latest-php8.3-node22
6363

6464
definition:
6565
steps:
@@ -73,9 +73,9 @@ definition:
7373
7474
````{note}
7575
Don't forget to set the specifications of the image to what your project needs. The same goes for the deploy steps.
76-
For example, if your project needs PHP 8.3 and Node.js 20, set the image to:
76+
For example, if your project needs PHP 8.3 and Node.js 22, set the image to:
7777
```yaml
78-
image: quay.io/hypernode/deploy:latest-php8.3-node20
78+
image: quay.io/hypernode/deploy:latest-php8.3-node22
7979
```
8080
````
8181

docs/hypernode-deploy/pipelines/github-actions.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
build:
5959
runs-on: ubuntu-latest
6060
# See https://quay.io/repository/hypernode/deploy?tab=tags for all possible tags.
61-
container: quay.io/hypernode/deploy:latest-php8.3-node20
61+
container: quay.io/hypernode/deploy:latest-php8.3-node22
6262
steps:
6363
- uses: actions/checkout@v3
6464
- uses: actions/cache@v3
@@ -79,11 +79,11 @@ jobs:
7979
8080
````{note}
8181
Don't forget to set the specifications of the image to what your project needs. The same goes for the deploy steps.
82-
For example, if your project needs PHP 8.3 and Node.js 20, set the image to:
82+
For example, if your project needs PHP 8.3 and Node.js 22, set the image to:
8383
```yaml
8484
jobs:
8585
build:
86-
container: quay.io/hypernode/deploy:latest-php8.3-node20
86+
container: quay.io/hypernode/deploy:latest-php8.3-node22
8787
...
8888
```
8989
````
@@ -113,7 +113,7 @@ jobs:
113113
environment:
114114
name: production
115115
url: https://www.example.com
116-
container: quay.io/hypernode/deploy:latest-php8.3-node20
116+
container: quay.io/hypernode/deploy:latest-php8.3-node22
117117
steps:
118118
- uses: actions/checkout@v3
119119
- name: download build artifact
@@ -157,7 +157,7 @@ jobs:
157157
environment:
158158
name: acceptance
159159
url: https://acceptance.example.com
160-
container: quay.io/hypernode/deploy:latest-php8.3-node20
160+
container: quay.io/hypernode/deploy:latest-php8.3-node22
161161
steps:
162162
- uses: actions/checkout@v3
163163
- name: download build artifact

docs/hypernode-deploy/pipelines/gitlab-ci.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ This sets the container image, defines the CI/CD stages and defines the build st
4949

5050
```yaml
5151
# See https://quay.io/repository/hypernode/deploy?tab=tags for all possible tags.
52-
image: quay.io/hypernode/deploy:latest-php8.3-node20
52+
image: quay.io/hypernode/deploy:latest-php8.3-node22
5353

5454
stages:
5555
- build

docs/hypernode-platform/tools/how-to-use-the-hypernode-systemctl-cli-tool.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ To see which values you can set and which values they are allowed to have take a
4646
| **new_relic_browser_monitoring_auto_instrument_enabled**<br/><sub></sub> | True | True, False |
4747
| **new_relic_distributed_tracing_enabled**<br/><sub></sub> | True | True, False |
4848
| **new_relic_enabled**<br/><sub></sub> | False | True, False |
49-
| **nodejs_version**<br/><sub>Change the Node version</sub> | 20 | 6, 10, 16, 18, 20 |
49+
| **nodejs_version**<br/><sub>Change the Node version</sub> | 22 | 6, 10, 16, 18, 20, 22 |
5050
| **opensearch_auto_create_index**<br/><sub></sub> | True | True, False |
5151
| **opensearch_enabled**<br/><sub>Enable OpenSearch</sub> | True | True, False |
5252
| **opensearch_version**<br/><sub>Change the OpenSearch version</sub> | 2.12 | 1.x, 2.6, 2.12 |

0 commit comments

Comments
 (0)