Verified Commit d8b80ec4 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3400984 by andypost, longwave, BramDriesen, catch: Make PHP 8.3 the...

Issue #3400984 by andypost, longwave, BramDriesen, catch: Make PHP 8.3 the default environment for gitlab CI runs
parent 3bc425c2
Loading
Loading
Loading
Loading
Loading
+16 −21
Original line number Diff line number Diff line
@@ -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: PHP 8.2 MySQL 8':
'DEFAULT: PHP 8.3 MySQL 8':
  <<: *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: Updated dependencies (PHP 8.2 MySQL 8)':
'DEFAULT: Updated dependencies (PHP 8.3 MySQL 8)':
  <<: *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 (PHP 8.2 MySQL 8)':
'DEFAULT: Test-only (PHP 8.3 MySQL 8)':
  <<: [ *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"
@@ -196,6 +196,12 @@ default:
    _TARGET_PHP: "8.1"
    _TARGET_DB: "mysql-5.7"

'PHP 8.2 MySQL 8':
  <<: [ *default-stage, *run-on-mr ]
  variables:
    _TARGET_PHP: "8.2"
    _TARGET_DB: "mysql-8"

'PHP 8.2 PostgreSQL 14.1':
  <<: [ *default-stage, *run-on-mr ]
  variables:
@@ -220,12 +226,6 @@ default:
    _TARGET_PHP: "8.2"
    _TARGET_DB: "sqlite-3"

'PHP 8.3 MySQL 8':
  <<: [ *default-stage, *run-on-mr ]
  variables:
    _TARGET_PHP: "8.3"
    _TARGET_DB: "mysql-8"

'PHP 8.3 PostgreSQL 16':
  <<: [ *default-stage, *run-on-mr ]
  variables:
@@ -260,7 +260,7 @@ default:
# The value set in the "needs" property will determine the order in the sequence.
'[Commit] PHP 8.1 MySQL 5.7':
  extends: 'PHP 8.1 MySQL 5.7'
  needs: [ 'DEFAULT: PHP 8.2 MySQL 8' ]
  needs: [ 'DEFAULT: PHP 8.3 MySQL 8' ]
  <<: [ *run-on-commit ]

'[Commit] PHP 8.2 PostgreSQL 16':
@@ -277,7 +277,7 @@ default:
# The value set in the "needs" property will determine the order in the sequence.
'[Daily] PHP 8.2 PostgreSQL 14.1':
  extends: 'PHP 8.2 PostgreSQL 14.1'
  needs: [ 'DEFAULT: PHP 8.2 MySQL 8' ]
  needs: [ 'DEFAULT: PHP 8.3 MySQL 8' ]
  <<: [ *run-daily ]

'[Daily] PHP 8.2 PostgreSQL 15':
@@ -285,14 +285,9 @@ default:
  needs: [ '[Daily] PHP 8.2 PostgreSQL 14.1' ]
  <<: [ *run-daily ]

'[Daily] PHP 8.3 MySQL 8':
  extends: 'PHP 8.3 MySQL 8'
  needs: [ '[Daily] PHP 8.2 PostgreSQL 15' ]
  <<: [ *run-daily ]

'[Daily] PHP 8.3 PostgreSQL 16':
  extends: 'PHP 8.3 PostgreSQL 16'
  needs: [ '[Daily] PHP 8.3 MySQL 8' ]
  needs: [ '[Daily] PHP 8.2 PostgreSQL 15' ]
  <<: [ *run-daily ]

'[Daily] PHP 8.3 SQLite 3':