diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 461b6f01b8a..05687e45ac0 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -64,7 +64,7 @@ jobs: steps: - name: Setting up DB mysql if: ${{ matrix.db == 'mysqli' }} - uses: johanmeiring/mysql-action@tmpfs-patch + uses: moodlehq/mysql-action@v1 with: collation server: utf8mb4_bin mysql version: 5.7 @@ -72,6 +72,8 @@ jobs: mysql user: test mysql password: test use tmpfs: true + tmpfs size: '1024M' + extra conf: --skip-log-bin - name: Setting up DB pgsql if: ${{ matrix.db == 'pgsql' }} diff --git a/.travis.yml b/.travis.yml index de0292fa901..11428d1b096 100644 --- a/.travis.yml +++ b/.travis.yml @@ -81,7 +81,8 @@ install: sudo service mysql stop sudo mv /var/lib/mysql /mnt/ramdisk sudo ln -s /mnt/ramdisk/mysql /var/lib/mysql - sudo service mysql restart + echo -e "[mysqld]\nskip-log-bin" | sudo tee -a /etc/mysql/my.cnf + sudo service mysql start fi - > if [ "$DB" = 'pgsql' ]; @@ -92,6 +93,7 @@ install: sudo mv /var/lib/postgresql /mnt/ramdisk sudo ln -s /mnt/ramdisk/postgresql /var/lib/postgresql sudo service postgresql start 9.6 + sh -c 'until pg_isready -p 5432; do echo "Waiting for the DB to be up..."; sleep 2; done' fi - > if [ "$TASK" = 'PHPUNIT' ]; diff --git a/admin/environment.xml b/admin/environment.xml index fbd9df62b43..8ecafae5fb6 100644 --- a/admin/environment.xml +++ b/admin/environment.xml @@ -3924,4 +3924,191 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/lang/en/admin.php b/lang/en/admin.php index 3ad367c0c20..7e867c49572 100644 --- a/lang/en/admin.php +++ b/lang/en/admin.php @@ -1180,6 +1180,7 @@ $string['sitepolicyhandlerplugin'] = '{$a->name} ({$a->component})'; $string['sitepolicyguest'] = 'Site policy URL for guests'; $string['sitepolicyguest_help'] = 'The URL of the site policy that all guests must see and agree to before accessing the site. Note that this setting will only have an effect if the site policy handler is set to default (core).'; $string['sitesectionhelp'] = 'If selected, a topic section will be displayed on the site\'s front page.'; +$string['sixtyfourbitsrequired'] = 'It has been detected that your site is not using a 64-bit PHP version. You are required to upgrade your system (operating system, PHP...) before installing this Moodle version.'; $string['sixtyfourbitswarning'] = 'It has been detected that your site is not using a 64-bit PHP version. It is recommended that you upgrade your site to ensure future compatibility.'; $string['slasharguments'] = 'Use slash arguments'; $string['slashargumentswarning'] = 'It is recommended that the use of slash arguments is enabled. In future it will be required. For more details, see the documentation Using slash arguments.';