# Pipelines can also be configured to run on a schedule,though they still must meet the conditions defined in Workflow and Rules. This can be used, for example, to do nightly regression testing:
# Pipelines can also be configured to run on a schedule,though they still must meet the conditions defined in Workflow and Rules. This can be used, for example, to do nightly regression testing:
# https://gitlab.com/help/ci/pipelines/schedules
################
...
...
@@ -60,7 +60,7 @@ variables:
CONCURRENCY:24
GIT_DEPTH:"50"
PARENT_PIPELINE_ID:$CI_PIPELINE_ID
_TARGET_PHP:"8.2"
_TARGET_PHP:"8.3"
#############
# Stages #
...
...
@@ -139,10 +139,10 @@ default:
allow_failure:true
# Default configuration.
'DEFAULT:PHP8.2MySQL8':
'DEFAULT:PHP8.3MySQL8':
<<:*default-stage
variables:
_TARGET_PHP:"8.2"
_TARGET_PHP:"8.3"
_TARGET_DB:"mysql-8"
PERFORMANCE_TEST:$PERFORMANCE_TEST
OTEL_COLLECTOR:$OTEL_COLLECTOR
...
...
@@ -157,7 +157,7 @@ default:
-if:$PERFORMANCE_TEST == "1"
# Re-run the pipeline, but with Composer updates.
'DEFAULT:Updateddependencies(PHP8.2MySQL8)':
'DEFAULT:Updateddependencies(PHP8.3MySQL8)':
<<:*default-stage
# Run daily and allow manual runs on MRs.
rules:
...
...
@@ -172,12 +172,12 @@ default:
include:.gitlab-ci.yml
# Special job for MRs for test-only checks.
'DEFAULT:Test-only(PHP8.2MySQL8)':
'DEFAULT:Test-only(PHP8.3MySQL8)':
<<:[*default-stage,*with-composer]
when:manual
allow_failure:true
variables:
_TARGET_PHP:"8.2"
_TARGET_PHP:"8.3"
_TARGET_DB:"mysql-8"
rules:
-if:$CI_PIPELINE_SOURCE == "merge_request_event"
...
...
@@ -190,41 +190,29 @@ default:
# Main listing of jobs.
# All of these are available on Merge Requests and also work as base jobs for
# on-commit and daily jobs to extend from.
'PHP8.1MySQL5.7':
'PHP8.3MySQL5.7':
<<:[*default-stage,*run-on-mr]
variables:
_TARGET_PHP:"8.1"
_TARGET_PHP:"8.3"
_TARGET_DB:"mysql-5.7"
'PHP8.2PostgreSQL14.1':
<<:[*default-stage,*run-on-mr]
variables:
_TARGET_PHP:"8.2"
_TARGET_DB:"pgsql-14.1"
'PHP8.2PostgreSQL15':
<<:[*default-stage,*run-on-mr]
variables:
_TARGET_PHP:"8.2"
_TARGET_DB:"pgsql-15"
'PHP8.2PostgreSQL16':
'PHP8.3MariaDB10.3.22':
<<:[*default-stage,*run-on-mr]
variables:
_TARGET_PHP:"8.2"
_TARGET_DB:"pgsql-16"
_TARGET_PHP:"8.3"
_TARGET_DB:"mariadb-10.3.22"
'PHP8.2SQLite3':
'PHP8.3PostgreSQL14.1':
<<:[*default-stage,*run-on-mr]
variables:
_TARGET_PHP:"8.2"
_TARGET_DB:"sqlite-3"
_TARGET_PHP:"8.3"
_TARGET_DB:"pgsql-14.1"
'PHP8.3MySQL8':
'PHP8.3PostgreSQL15':
<<:[*default-stage,*run-on-mr]
variables:
_TARGET_PHP:"8.3"
_TARGET_DB:"mysql-8"
_TARGET_DB:"pgsql-15"
'PHP8.3PostgreSQL16':
<<:[*default-stage,*run-on-mr]
...
...
@@ -235,64 +223,31 @@ default:
'PHP8.3SQLite3':
<<:[*default-stage,*run-on-mr]
variables:
_TARGET_PHP:"8.3"
_TARGET_DB:"sqlite-3"
'PHP8.1MariaDB10.3.22':
<<:[*default-stage,*run-on-mr]
variables:
_TARGET_PHP:"8.1"
_TARGET_DB:"mariadb-10.3.22"
'PHP8.1PostgreSQL14.1':
<<:[*default-stage,*run-on-mr]
variables:
_TARGET_PHP:"8.1"
_TARGET_DB:"pgsql-14.1"
'PHP8.1SQLite3':
<<:[*default-stage,*run-on-mr]
variables:
_TARGET_PHP:"8.1"
_TARGET_PHP:"8.2"
_TARGET_DB:"sqlite-3"
# Jobs running on commits.
# The value set in the "needs" property will determine the order in the sequence.
'[Commit]PHP8.1MySQL5.7':
extends:'PHP8.1MySQL5.7'
needs:['DEFAULT:PHP8.2MySQL8']
'[Commit]PHP8.3MySQL5.7':
extends:'PHP8.3MySQL5.7'
needs:['DEFAULT:PHP8.3MySQL8']
<<:[*run-on-commit]
'[Commit]PHP8.2PostgreSQL16':
extends:'PHP8.2PostgreSQL16'
needs:['[Commit]PHP8.1MySQL5.7']
'[Commit]PHP8.3PostgreSQL16':
extends:'PHP8.3PostgreSQL16'
needs:['[Commit]PHP8.3MySQL5.7']
<<:[*run-on-commit]
'[Commit]PHP8.2SQLite3':
extends:'PHP8.2SQLite3'
needs:['[Commit]PHP8.2PostgreSQL16']
'[Commit]PHP8.3SQLite3':
extends:'PHP8.3SQLite3'
needs:['[Commit]PHP8.3PostgreSQL16']
<<:[*run-on-commit]
# Jobs running daily.
# The value set in the "needs" property will determine the order in the sequence.