Skip to content
Open
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
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: '2.1'
jobs:
phpunit:
docker:
- image: 'govcmstesting/ci:latest-php8.3-apache'
- image: 'govcmstesting/ci:latest-php8.4-apache'
command: ["apache2-foreground"]
working_directory: /app
steps:
Expand All @@ -21,7 +21,7 @@ jobs:

cypress:
docker:
- image: 'govcmstesting/ci:latest-php8.3-apache'
- image: 'govcmstesting/ci:latest-php8.4-apache'
command: ["apache2-foreground"]
working_directory: /app
steps:
Expand Down
2 changes: 1 addition & 1 deletion .docker/Dockerfile.govcms
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Set the PHP and GovCMS versions as arguments
ARG PHP_VERSION=8.3
ARG PHP_VERSION=8.4
ARG GOVCMS_VERSION=10.x-latest
ARG DRUPAL_VERSION=10.3

Expand Down
4 changes: 2 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ updates:
time: '07:00'
timezone: Australia/Sydney
open-pull-requests-limit: 15
target-branch: 3.x-develop
target-branch: 4.x-develop
reviewers:
- pandaskii
- package-ecosystem: npm
Expand All @@ -16,6 +16,6 @@ updates:
interval: daily
time: '07:00'
timezone: Australia/Sydney
target-branch: 3.x-develop
target-branch: 4.x-develop
reviewers:
- pandaskii
6 changes: 3 additions & 3 deletions .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: GovCMS CI Tests - Cypress

on: # yamllint disable-line rule:truthy
push:
branches: ["3.x-develop"]
branches: ["4.x-develop"]
pull_request:
branches: ["3.x-develop"]
branches: ["4.x-develop"]

permissions:
contents: read
Expand All @@ -16,7 +16,7 @@ jobs:

services:
web:
image: govcmstesting/ci:latest-php8.3-apache
image: govcmstesting/ci:latest-php8.4-apache
ports:
- 80:80
volumes:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/generate_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name: Generate test documentation

on: # yamllint disable-line rule:truthy
push:
branches: ["3.x-develop"]
branches: ["4.x-develop"]
paths: ['phpunit/**']
pull_request:
branches: ["3.x-develop"]
branches: ["4.x-develop"]
paths: ['phpunit/**']

jobs:
Expand All @@ -22,7 +22,7 @@ jobs:
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.3'
php-version: '8.4'

- name: Run PHP script to generate Markdown
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: Builder - Node.js

on: # yamllint disable-line rule:truthy
push:
branches: ["3.x-develop"]
branches: ["4.x-develop"]
pull_request:
branches: ["3.x-develop"]
branches: ["4.x-develop"]

jobs:
build:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: Builder - PHP Composer

on: # yamllint disable-line rule:truthy
push:
branches: ["3.x-develop"]
branches: ["4.x-develop"]
pull_request:
branches: ["3.x-develop"]
branches: ["4.x-develop"]

permissions:
contents: read
Expand All @@ -18,7 +18,7 @@ jobs:
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.3'
php-version: '8.4'
extensions: mbstring
coverage: none

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: GovCMS CI Tests - PHPUnit

on: # yamllint disable-line rule:truthy
push:
branches: ["3.x-develop"]
branches: ["4.x-develop"]
pull_request:
branches: ["3.x-develop"]
branches: ["4.x-develop"]

permissions:
contents: read
Expand All @@ -16,7 +16,7 @@ jobs:

services:
web:
image: govcmstesting/ci:latest-php8.3-apache
image: govcmstesting/ci:latest-php8.4-apache
ports:
- 80:80
volumes:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Stage 1: Build stage
ARG PHP_VERSION=8.3
ARG PHP_VERSION=8.4
FROM govcmstesting/php:${PHP_VERSION}-cli AS builder

# Set the working directory
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.ci
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Set the PHP and GovCMS versions as arguments
ARG PHP_VERSION=8.3
ARG PHP_VERSION=8.4
ARG GOVCMS_VERSION=10.x-beta

# Use multi-stage builds for better optimization
Expand Down
30 changes: 15 additions & 15 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
VERSION ?= latest

# PHP versions
PHP_VERSIONS := 8.1 8.2 8.3
PHP_VERSIONS := 8.1 8.2 8.3 8.4

# Supported architectures
ARCHS := linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v8
Expand Down Expand Up @@ -61,23 +61,23 @@ $(foreach type,tests ci,$(foreach v,$(PHP_VERSIONS),$(eval $(call release-target
# Examples
examples:
@echo "Examples of how to use this Makefile:"
@echo "1. Build PHP 8.3 image for tests:"
@echo " make build-tests-8.3"
@echo "2. Test CI image for PHP 8.3:"
@echo " make test-ci-8.3"
@echo "3. Push PHP 8.3 image for tests:"
@echo " make push-tests-8.3"
@echo "1. Build PHP 8.4 image for tests:"
@echo " make build-tests-8.4"
@echo "2. Test CI image for PHP 8.4:"
@echo " make test-ci-8.4"
@echo "3. Push PHP 8.4 image for tests:"
@echo " make push-tests-8.4"
@echo "4. Build all PHP versions for tests and CI:"
@echo " make all"
@echo "5. Release all images:"
@echo " make release-all"
@echo "6. Build, test, and push PHP 8.3 CI image:"
@echo " make release-ci-8.3"
@echo "7. Build, test, and push PHP 8.3 tests image:"
@echo " make release-tests-8.3"
@echo "8. Release a specific version (e.g., v1.0.0) for PHP 8.3 CI image:"
@echo " make VERSION=1.0.0 release-ci-8.3"
@echo "9. Release a specific version (e.g., v1.0.0) for PHP 8.3 tests image:"
@echo " make VERSION=1.0.0 release-tests-8.3"
@echo "6. Build, test, and push PHP 8.4 CI image:"
@echo " make release-ci-8.4"
@echo "7. Build, test, and push PHP 8.4 tests image:"
@echo " make release-tests-8.4"
@echo "8. Release a specific version (e.g., v1.0.0) for PHP 8.4 CI image:"
@echo " make VERSION=1.0.0 release-ci-8.4"
@echo "9. Release a specific version (e.g., v1.0.0) for PHP 8.4 tests image:"
@echo " make VERSION=1.0.0 release-tests-8.4"
@echo "10. Release a specific version (e.g., v1.0.0) for all images:"
@echo " make VERSION=1.0.0 release-all"
Loading