Skip to content

Commit b713b2b

Browse files
committed
Document and explain the 4.1 requirement changes
1 parent 711ae59 commit b713b2b

File tree

5 files changed

+19
-10
lines changed

5 files changed

+19
-10
lines changed

.travis.dist.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
language: php
22

33
addons:
4-
postgresql: "12"
4+
postgresql: "13"
55
apt:
66
packages:
7-
- postgresql-12
8-
- postgresql-client-12
7+
- postgresql-13
8+
- postgresql-client-13
99

1010
services:
1111
- mysql
@@ -23,7 +23,7 @@ php:
2323

2424
env:
2525
global:
26-
- PGVER=12
26+
- PGVER=13
2727
- MOODLE_BRANCH=MOODLE_311_STABLE
2828
matrix:
2929
- DB=pgsql

docs/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,15 @@ This project adheres to [Semantic Versioning](http://semver.org/).
99
The format of this change log follows the advice given at [Keep a CHANGELOG](http://keepachangelog.com).
1010

1111
## [Unreleased]
12+
### Changed
13+
- Updated [gha.dist.yml](https://github.com/moodlehq/moodle-plugin-ci/blob/master/gha.dist.yml) and
14+
[.travis.dist.yml](https://github.com/moodlehq/moodle-plugin-ci/blob/master/.travis.dist.yml)
15+
(and documentation) to fulfil [Moodle 4.2 new requirements](https://tracker.moodle.org/browse/MDL-74905).
16+
- ACTION REQUIRED: Review existing integrations running tests against master (4.2dev). There are a few Moodle 4.2 new requirements:
17+
- PHP 8.0 is required (instead of 7.4).
18+
- PostgreSQL 13 is required (instead of 12).
19+
- MariaDB 10.6 is required (instead of 10.4).
20+
- MySQL 8 is required (instead of 5.7).
1221

1322
## [3.4.2] - 2022-10-18
1423
### Changed

docs/GHAFileExplained.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
# DB services you need for testing.
3232
services:
3333
postgres:
34-
image: postgres:12
34+
image: postgres:13
3535
env:
3636
POSTGRES_USER: 'postgres'
3737
POSTGRES_HOST_AUTH_METHOD: 'trust'

docs/TravisFileExplained.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ language: php
1313

1414
# Installs the updated version of PostgreSQL and extra APT packages.
1515
addons:
16-
postgresql: "12"
16+
postgresql: "13"
1717
apt:
1818
packages:
19-
- postgresql-12
20-
- postgresql-client-12
19+
- postgresql-13
20+
- postgresql-client-13
2121

2222
# Ensure DB and docker services are running.
2323
services:
@@ -45,7 +45,7 @@ env:
4545
# used, because, for PG 11 and up, both the user and the port were
4646
# changed by Travis. With that variable, the tool will switch to
4747
# socketed connections instead of localhost ones.
48-
- PGVER=12
48+
- PGVER=13
4949
# This line determines which version branch of Moodle to test against.
5050
- MOODLE_BRANCH=MOODLE_311_STABLE
5151
# This matrix is used for testing against multiple databases. So for

gha.dist.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88

99
services:
1010
postgres:
11-
image: postgres:12
11+
image: postgres:13
1212
env:
1313
POSTGRES_USER: 'postgres'
1414
POSTGRES_HOST_AUTH_METHOD: 'trust'

0 commit comments

Comments
 (0)