Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
8 changes: 4 additions & 4 deletions docs/hypernode-deploy/getting-started/configure-ci-cd.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions docs/hypernode-deploy/pipelines/bitbucket-pipelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
...
```
````
Expand Down
10 changes: 5 additions & 5 deletions docs/hypernode-deploy/pipelines/github-actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
...
```
````
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions docs/hypernode-deploy/pipelines/gitlab-ci.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
```
````

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down