From 1ba77dfedaddc6a382bd1570c8635557e608e99b Mon Sep 17 00:00:00 2001 From: Jonathan Visser Date: Fri, 7 Feb 2025 13:10:33 +0100 Subject: [PATCH] Change deploy and PHP versions --- .../laravel/how-to-install-laravel-on-hypernode.md | 2 +- .../how-to-get-started-with-your-hypernode-trial.md | 2 +- .../getting-started/configure-ci-cd.md | 8 ++++---- docs/hypernode-deploy/pipelines/bitbucket-pipelines.md | 6 +++--- docs/hypernode-deploy/pipelines/github-actions.md | 10 +++++----- docs/hypernode-deploy/pipelines/gitlab-ci.md | 6 +++--- ...php-versions-and-how-to-change-them-on-hypernode.md | 3 ++- ...eploy-your-application-using-hypernode-deploy-v1.md | 6 +++--- 8 files changed, 22 insertions(+), 21 deletions(-) diff --git a/docs/framework/laravel/how-to-install-laravel-on-hypernode.md b/docs/framework/laravel/how-to-install-laravel-on-hypernode.md index a2f7147b..5d7e583f 100644 --- a/docs/framework/laravel/how-to-install-laravel-on-hypernode.md +++ b/docs/framework/laravel/how-to-install-laravel-on-hypernode.md @@ -12,7 +12,7 @@ This article will explain how to install Laravel on your Hypernode. Laravel is a ## Upgrade your PHP version -Laravel only has a few system requirements. One of which, is that PHP needs to be at least 8.1. Run the following command to upgrade to PHP 8.1: +Laravel only has a few system requirements. One of which, is that PHP needs to be at least 8.2. Run the following command to upgrade to PHP 8.2: ```console app@abcdef-example-magweb-cmbl:~$ hypernode-systemctl settings php_version 8.2 diff --git a/docs/getting-started/how-to-order/how-to-get-started-with-your-hypernode-trial.md b/docs/getting-started/how-to-order/how-to-get-started-with-your-hypernode-trial.md index 7b2bf92f..dca5f149 100644 --- a/docs/getting-started/how-to-order/how-to-get-started-with-your-hypernode-trial.md +++ b/docs/getting-started/how-to-order/how-to-get-started-with-your-hypernode-trial.md @@ -20,7 +20,7 @@ Enthusiastic about Hypernode? Convert your trial into a paid hosting plan. You c With your free trial you have 14 days to test your shops’ performance on Hypernode. After 2 weeks your trial will expire automatically, unless you decide to convert your trial into a paid hosting plan. -The specs of your trial are: 62GB storage, 3 CPU, 8GB RAM, 1024MB Redis cache, PHP 7.4. +The specs of your trial are: 57GB storage, 2 CPU, 4GB RAM, 1024MB Redis cache, PHP 8.3. ## Your Control Panel diff --git a/docs/hypernode-deploy/getting-started/configure-ci-cd.md b/docs/hypernode-deploy/getting-started/configure-ci-cd.md index 75eb7f19..fdf97af9 100644 --- a/docs/hypernode-deploy/getting-started/configure-ci-cd.md +++ b/docs/hypernode-deploy/getting-started/configure-ci-cd.md @@ -103,8 +103,8 @@ env: jobs: build: runs-on: ubuntu-latest - # Here we use the Hypernode Deploy v3 image with PHP 8.1 and Node.js 18 - container: quay.io/hypernode/deploy:3.0-php8.1-node18 + # Here we use the Hypernode Deploy v4 image with PHP 8.3 and Node.js 20 + container: quay.io/hypernode/deploy:4-php8.3-node20 steps: - uses: actions/checkout@v2 - uses: actions/cache@v2 @@ -137,8 +137,8 @@ jobs: deploy: needs: build runs-on: ubuntu-latest - # Here we use the Hypernode Deploy v3 image with PHP 8.1 and Node.js 18 - container: quay.io/hypernode/deploy:3.0-php8.1-node18 + # Here we use the Hypernode Deploy v4 image with PHP 8.3 and Node.js 20 + container: quay.io/hypernode/deploy:4-php8.3-node20 steps: - uses: actions/checkout@v2 - name: download build artifact diff --git a/docs/hypernode-deploy/pipelines/bitbucket-pipelines.md b/docs/hypernode-deploy/pipelines/bitbucket-pipelines.md index 7dc9f906..0d269f06 100644 --- a/docs/hypernode-deploy/pipelines/bitbucket-pipelines.md +++ b/docs/hypernode-deploy/pipelines/bitbucket-pipelines.md @@ -58,7 +58,7 @@ Create the file `bitbucket-pipelines.yml` with the contents below. This workflow will be used in other workflows. ```yaml -image: quay.io/hypernode/deploy:3-php8.2-node18 +image: quay.io/hypernode/deploy:4-php8.3-node20 definition: steps: @@ -72,11 +72,11 @@ definition: ````{note} Don't forget to set the specifications of the image to what your project needs. The same goes for the deploy steps. -For example, if your project needs PHP 7.4 and Node.js 16, set the image to: +For example, if your project needs PHP 8.3 and Node.js 20, set the image to: ```yaml jobs: build: - container: quay.io/hypernode/deploy:3-php7.4-node16 + container: quay.io/hypernode/deploy:4-php8.3-node20 ... ``` ```` diff --git a/docs/hypernode-deploy/pipelines/github-actions.md b/docs/hypernode-deploy/pipelines/github-actions.md index afbf7600..4fa86330 100644 --- a/docs/hypernode-deploy/pipelines/github-actions.md +++ b/docs/hypernode-deploy/pipelines/github-actions.md @@ -57,7 +57,7 @@ on: jobs: build: runs-on: ubuntu-latest - container: quay.io/hypernode/deploy:3-php8.1-node18 + container: quay.io/hypernode/deploy:4-php8.3-node20 steps: - uses: actions/checkout@v3 - uses: actions/cache@v3 @@ -78,11 +78,11 @@ jobs: ````{note} Don't forget to set the specifications of the image to what your project needs. The same goes for the deploy steps. -For example, if your project needs PHP 7.4 and Node.js 16, set the image to: +For example, if your project needs PHP 8.3 and Node.js 20, set the image to: ```yaml jobs: build: - container: quay.io/hypernode/deploy:3-php7.4-node16 + container: quay.io/hypernode/deploy:4-php8.3-node20 ... ``` ```` @@ -112,7 +112,7 @@ jobs: environment: name: production url: https://www.example.com - container: quay.io/hypernode/deploy:3-php8.1-node18 + container: quay.io/hypernode/deploy:4-php8.3-node20 steps: - uses: actions/checkout@v3 - name: download build artifact @@ -156,7 +156,7 @@ jobs: environment: name: acceptance url: https://acceptance.example.com - container: quay.io/hypernode/deploy:3-php8.1-node18 + container: quay.io/hypernode/deploy:4-php8.3-node20 steps: - uses: actions/checkout@v3 - name: download build artifact diff --git a/docs/hypernode-deploy/pipelines/gitlab-ci.md b/docs/hypernode-deploy/pipelines/gitlab-ci.md index 466c3796..779d40bc 100644 --- a/docs/hypernode-deploy/pipelines/gitlab-ci.md +++ b/docs/hypernode-deploy/pipelines/gitlab-ci.md @@ -49,7 +49,7 @@ This sets the container image, defines the CI/CD stages and defines the build st ```yaml # See https://quay.io/repository/hypernode/deploy?tab=tags for all possible tags. -image: quay.io/hypernode/deploy:3-php8.1-node18 +image: quay.io/hypernode/deploy:4-php8.3-node20 stages: - build @@ -70,9 +70,9 @@ build: ````{note} Don't forget to set the specifications of the image to what your project needs. -For example, if your project needs PHP 7.4 and Node.js 16, set the image to: +For example, if your project needs PHP 8.3 and Node.js 16, set the image to: ```yaml -image: quay.io/hypernode/deploy:3-php7.4-node16 +image: quay.io/hypernode/deploy:3-php8.3-node16 ``` ```` diff --git a/docs/hypernode-platform/php/supported-php-versions-and-how-to-change-them-on-hypernode.md b/docs/hypernode-platform/php/supported-php-versions-and-how-to-change-them-on-hypernode.md index 3aea3b15..69805f53 100644 --- a/docs/hypernode-platform/php/supported-php-versions-and-how-to-change-them-on-hypernode.md +++ b/docs/hypernode-platform/php/supported-php-versions-and-how-to-change-them-on-hypernode.md @@ -19,6 +19,7 @@ On Hypernode you can choose from a range of PHP versions. Check out which ones a On Hypernode you can choose from a range of PHP versions: +- **PHP 8.4** (Fully supported) - **PHP 8.3** (Fully supported) - **PHP 8.2** (Fully supported) - **PHP 8.1** (Fully supported) @@ -72,7 +73,7 @@ hypernode-systemctl settings php_version list To upgrade to another version simply provide the version like so: ```bash -hypernode-systemctl settings php_version 8.1 +hypernode-systemctl settings php_version 8.4 ``` Afterwards you can use the livelog command to track progress of the upgrade. diff --git a/docs/hypernode-platform/tools/how-to-deploy-your-application-using-hypernode-deploy-v1.md b/docs/hypernode-platform/tools/how-to-deploy-your-application-using-hypernode-deploy-v1.md index d134134f..2c88efbe 100644 --- a/docs/hypernode-platform/tools/how-to-deploy-your-application-using-hypernode-deploy-v1.md +++ b/docs/hypernode-platform/tools/how-to-deploy-your-application-using-hypernode-deploy-v1.md @@ -142,7 +142,7 @@ Now it's time to create your CI configuration file. You can either start from sc The CI configuration file needs to make use of the Hypernode Deploy image in order to run your CI/CD pipelines succesfully. We serve multiple flavors of the Hypernode Deploy image, one for every PHP + NodeJS version combination. See [Docker Hub](https://hub.docker.com/r/hypernode/deploy/tags) for all supported flavors. As new PHP / Node versions come out, we'll bake more images to support those. -Choose a version of the hypernode/deploy image that best reflects your application needs. Here's an example of a `.github/workflows/deploy.yml` file that uses the PHP 8.1 + Node 16 flavor and is configured with a configuration for the staging environment, containing a build step and deploy step to perform the deployment to the configured staging server. It uses the configuration provided in `deploy.php` to perform the steps. +Choose a version of the hypernode/deploy image that best reflects your application needs. Here's an example of a `.github/workflows/deploy.yml` file that uses the PHP 8.3 + Node 20 flavor and is configured with a configuration for the staging environment, containing a build step and deploy step to perform the deployment to the configured staging server. It uses the configuration provided in `deploy.php` to perform the steps. ```yaml # This file would need to be placed in .github/workflows/deploy.yaml for example @@ -166,7 +166,7 @@ defaults: jobs: build: runs-on: ubuntu-latest - container: quay.io/hypernode/deploy:1-php8.1-node16 + container: quay.io/hypernode/deploy:4-php8.3-node20 steps: - uses: actions/checkout@v2 - uses: actions/cache@v2 @@ -186,7 +186,7 @@ jobs: deploy_staging: needs: build runs-on: ubuntu-latest - container: quay.io/hypernode/deploy:1-php8.1-node16 + container: quay.io/hypernode/deploy:4-php8.3-node20 steps: - uses: actions/checkout@v2 - name: download build artifact