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
2 changes: 1 addition & 1 deletion .github/workflows/cleanup_acceptance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
cleanup:
runs-on: ubuntu-latest
container: quay.io/hypernode/deploy:latest-php8.3-node20
container: quay.io/hypernode/deploy:latest-php8.4-node22
environment: acceptance
steps:
- uses: actions/checkout@v2
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:
jobs:
build:
runs-on: ubuntu-latest
container: quay.io/hypernode/deploy:latest-php8.3-node20
container: quay.io/hypernode/deploy:latest-php8.4-node22
steps:
- uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -47,7 +47,7 @@ jobs:
name: acceptance
url: ${{ steps.get_brancher_hostname.outputs.BRANCHER_URL }}
if: github.ref != 'refs/heads/master'
container: quay.io/hypernode/deploy:latest-php8.3-node20
container: quay.io/hypernode/deploy:latest-php8.4-node22
steps:
- uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:
name: production
url: https://docs.hypernode.io
if: github.ref == 'refs/heads/master'
container: quay.io/hypernode/deploy:latest-php8.3-node20
container: quay.io/hypernode/deploy:latest-php8.4-node22
steps:
- uses: actions/checkout@v3
- name: download build artifact
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 latest Hypernode Deploy image with PHP 8.3 and Node.js 22
container: quay.io/hypernode/deploy:latest-php8.3-node22
# Here we use the latest Hypernode Deploy image with PHP 8.4 and Node.js 22
container: quay.io/hypernode/deploy:latest-php8.4-node22
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 latest Hypernode Deploy image with PHP 8.3 and Node.js 22
container: quay.io/hypernode/deploy:latest-php8.3-node22
# Here we use the latest Hypernode Deploy image with PHP 8.4 and Node.js 22
container: quay.io/hypernode/deploy:latest-php8.4-node22
steps:
- uses: actions/checkout@v2
- name: download build artifact
Expand Down
8 changes: 4 additions & 4 deletions docs/hypernode-deploy/pipelines/bitbucket-pipelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ Create the file `bitbucket-pipelines.yml` with the contents below.
This workflow will be used in other workflows.

```yaml
# Here we use the latest Hypernode Deploy image with PHP 8.3 and Node.js 22
image: quay.io/hypernode/deploy:latest-php8.3-node22
# Here we use the latest Hypernode Deploy image with PHP 8.4 and Node.js 22
image: quay.io/hypernode/deploy:latest-php8.4-node22

definition:
steps:
Expand All @@ -73,9 +73,9 @@ 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 8.3 and Node.js 22, set the image to:
For example, if your project needs PHP 8.4 and Node.js 22, set the image to:
```yaml
image: quay.io/hypernode/deploy:latest-php8.3-node22
image: quay.io/hypernode/deploy:latest-php8.4-node22
```
````

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 @@ -58,7 +58,7 @@ jobs:
build:
runs-on: ubuntu-latest
# See https://quay.io/repository/hypernode/deploy?tab=tags for all possible tags.
container: quay.io/hypernode/deploy:latest-php8.3-node22
container: quay.io/hypernode/deploy:latest-php8.4-node22
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
Expand All @@ -79,11 +79,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 8.3 and Node.js 22, set the image to:
For example, if your project needs PHP 8.4 and Node.js 22, set the image to:
```yaml
jobs:
build:
container: quay.io/hypernode/deploy:latest-php8.3-node22
container: quay.io/hypernode/deploy:latest-php8.4-node22
...
```
````
Expand Down Expand Up @@ -113,7 +113,7 @@ jobs:
environment:
name: production
url: https://www.example.com
container: quay.io/hypernode/deploy:latest-php8.3-node22
container: quay.io/hypernode/deploy:latest-php8.4-node22
steps:
- uses: actions/checkout@v3
- name: download build artifact
Expand Down Expand Up @@ -157,7 +157,7 @@ jobs:
environment:
name: acceptance
url: https://acceptance.example.com
container: quay.io/hypernode/deploy:latest-php8.3-node22
container: quay.io/hypernode/deploy:latest-php8.4-node22
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:latest-php8.3-node22
image: quay.io/hypernode/deploy:latest-php8.4-node22

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 8.3 and Node.js 16, set the image to:
For example, if your project needs PHP 8.4 and Node.js 16, set the image to:
```yaml
image: quay.io/hypernode/deploy:latest-php8.3-node16
image: quay.io/hypernode/deploy:latest-php8.4-node16
```
````

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 [our image repository](https://quay.io/repository/hypernode/deploy?tab=tags&tag=latest) 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.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.
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.4 + Node 22 image 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:latest-php8.3-node20
container: quay.io/hypernode/deploy:latest-php8.4-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:latest-php8.3-node20
container: quay.io/hypernode/deploy:latest-php8.4-node20
steps:
- uses: actions/checkout@v2
- name: download build artifact
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ To see which value a setting has you can run the following:

To set a setting to a certain value you can run the following:

`hypernode-systemctl settings php_version 8.3`
`hypernode-systemctl settings php_version 8.4`

If an invalid value is provided you will be notified of this during the setting procedure.

Expand Down
Loading