Check versions of current stable D7 and D10 against the CORE_ variables

Migrated issue

Reported by: fjgarlin

Related to !100 (merged) !99 (merged)

Problem/Motivation

See the parent issue. Tests broke on D7 due to a new release, so we could do some additional checks against the current stable versions and our variables.

In fact, we'll need to update a bunch of CORE_* variables next week when 10.2.0 is out...

Proposed resolution

We could potentially create tests some tests for the gitlab_templates itself and run them as part of the commits/MR checks by adding a new job to the https://git.drupalcode.org/project/gitlab_templates/-/blob/1.0.x/.gitlab-ci.yml file.

The test would be to bring the latest stable for: 7 (7.99 as of last week), 10 (10.1.17 right now, about to change this week), and then compare with CORE_LEG_STABLE and CORE_STABLE and then fail.

Latests: https://www.drupal.org/project/drupal

We could target both things in the same issue (the changes and the tests).

Remaining tasks

- [ ] Update variables to recent versions
- [ ] Write tests so we can see when this happens on commit/MRs

Related issue: Issue #3408456

Edited by drupalbot