Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

removed old config vars removed in newer MariaDB #134

Merged
merged 1 commit into from
Sep 12, 2020

Conversation

deer667
Copy link
Contributor

@deer667 deer667 commented Sep 1, 2020

@deer667
Copy link
Contributor Author

deer667 commented Sep 2, 2020

Might be also worth to expand tests for 7.3 and 7.4 PHP version with MariaDB as the ones that were run cover only up to 7.2.

@scara
Copy link
Contributor

scara commented Sep 2, 2020

Hi @deer667,

Might be also worth to expand tests for 7.3 and 7.4 PHP version with MariaDB as the ones that were run cover only up to 7.2.
what do you mean?

you can already select the PHP version to run your tests w/ by means of properly setting the MOODLE_DOCKER_PHP_VERSION ENV VAR.

HTH,
Matteo

@deer667
Copy link
Contributor Author

deer667 commented Sep 2, 2020

Hello @scara,

Hi @deer667,

Might be also worth to expand tests for 7.3 and 7.4 PHP version with MariaDB as the ones that were run cover only up to 7.2.
what do you mean?

you can already select the PHP version to run your tests w/ by means of properly setting the MOODLE_DOCKER_PHP_VERSION ENV VAR.

HTH,
Matteo

I was thinking about automated tests that are running after pull request, so basically travis.yml. Currently I am running production Moodle 3.9.1 on MariaDB 10.4.14 and PHP 7.4.9 without issues (except deprecated vars in innodb settings :) ). Not sure if it is needed though.

Chris

@scara
Copy link
Contributor

scara commented Sep 2, 2020

Hi @deer667,
OK, Travis CI is managed in the https://github.com/moodle/moodle repo via https://tracker.moodle.org/projects/MDL/issues/.

Time ago there was a policy to limit the "pressure" against Travis CI runs, testing Moodle code just on the highest and lowest among the PHP supported versions: tests on pgsql are running faster i.e. MySQL-ish runs just on PHP upper supported version using MySQL and not MariaDB.
It could be proposed there in the Tracker, given that the time required to complete Travis jobs will be increased - depending when jobs runs on a pure parallel queueing - by about 30 minutes per each new PHPUNIT run: @timhunt already proposed it hijacking a bit the scope of MDL-66263.

HTH,
Matteo

stronk7 added a commit to stronk7/moodle-docker that referenced this pull request Sep 11, 2020
@stronk7
Copy link
Member

stronk7 commented Sep 11, 2020

Hi,

I've picked your commit and then added an highly modified .travis.yml to, extensively, verify that this works for all PHP and Moodle combinations. I think it will, but better confirm.

Link: https://travis-ci.org/github/stronk7/moodle-docker/builds/726356431

Let's see how it ends (will take a while). Thanks @deer667 (and @scara ) !

PS: And, yes, we cannot test all combos always, neither here, neither in moodle. Although we have a good % of combinations continuously covered, if we add our lovely: https://ci.moodle.org to the equation.

@stronk7
Copy link
Member

stronk7 commented Sep 11, 2020

As far as the travis run above is failing all combinations, because of the 50 minutes time limit per job (although it's running without failures till the timeout happens), I've also launched some jobs @ ci.moodle.org, with exactly the very same 2 variables removed (both for MariaDB - unpinned and MySQL 5.7):

master branch:

  • MariaDB / PHP7.4: Build Status
  • MariaDB / PHP7.3: Build Status
  • MariaDB / PHP7.2: Build Status
  • MySQL / PHP7.4: Build Status
  • MySQL / PHP7.3: Build Status
  • MySQL / PHP7.2: Build Status

35_STABLE branch:

  • MariaDB / PHP7.2: Build Status
  • MariaDB / PHP7.1: Build Status
  • MariaDB / PHP7.0: Build Status
  • MySQL / PHP7.2: Build Status
  • MySQL / PHP7.1: Build Status
  • MySQL / PHP7.0: Build Status

The runs above shouldn't be subject to any time restriction, let's see.

@stronk7
Copy link
Member

stronk7 commented Sep 12, 2020

The runs look ok.

  1. there is a random failure that we have registered, so unrelated with the MariaDB/MySQL changes.
  2. there are the problems with solr and the php71 image that I will investigate apart.

So I think it's ok to proceed with the change, I will proceed in few hours if nobody is against it.

stronk7 added a commit to stronk7/moodle-php-apache that referenced this pull request Sep 12, 2020
This is basically a backport of moodlehq#58 that was applied
to php72 and up.

The problem was detected @ moodlehq/moodle-docker#134 (comment)
stronk7 pushed a commit to stronk7/moodle-php-apache that referenced this pull request Sep 12, 2020
Using 2.4.0 release + custom patch (from macports project) seems to
be the only working combination right now. Read the comments in the code
and the links there.

Resolves solr issue in moodlehq#16, waiting for the upstream as described in moodlehq#19

This is basically a backport of moodlehq#58 that was applied
to php72 and up.

The problem with php71 was detected @ moodlehq/moodle-docker#134 (comment)
@stronk7
Copy link
Member

stronk7 commented Sep 12, 2020

With moodlehq/moodle-php-apache#116 merged, rerunning the php71 jobs:

  • MariaDB: Build Status
  • MySQL: Build Status

@stronk7
Copy link
Member

stronk7 commented Sep 12, 2020

Merged, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants