mirror of
https://github.com/cytopia/devilbox.git
synced 2024-12-19 04:47:52 +00:00
Add exceptions for PHP CI to use older PGSQL versions
This commit is contained in:
parent
f632cc247f
commit
579ae15bcc
38
.github/workflows/params-php.yml
vendored
38
.github/workflows/params-php.yml
vendored
@ -10,14 +10,16 @@ name: params
|
||||
# Custom Variables
|
||||
# -------------------------------------------------------------------------------------------------
|
||||
env:
|
||||
# Note: Older PHP versions use an older version of phpPgMyAdmin, which does not work with later
|
||||
# PgSQL server versions. That's why we need to tell those combinations to use an old PgSQL server
|
||||
MATRIX: >-
|
||||
[
|
||||
{"PHP_SERVER": "PHP 5.3", "HTTPD_SERVER": "apache-2.2"},
|
||||
{"PHP_SERVER": "PHP 5.4", "HTTPD_SERVER": "apache-2.2"},
|
||||
{"PHP_SERVER": "PHP 5.5", "HTTPD_SERVER": "apache-2.2"},
|
||||
{"PHP_SERVER": "PHP 5.6", "HTTPD_SERVER": "apache-2.2"},
|
||||
{"PHP_SERVER": "PHP 7.0", "HTTPD_SERVER": "apache-2.2"},
|
||||
{"PHP_SERVER": "PHP 7.1", "HTTPD_SERVER": "apache-2.2"},
|
||||
{"PHP_SERVER": "PHP 5.3", "HTTPD_SERVER": "apache-2.2", "PGSQL_SERVER": "PgSQL 12"},
|
||||
{"PHP_SERVER": "PHP 5.4", "HTTPD_SERVER": "apache-2.2", "PGSQL_SERVER": "PgSQL 12"},
|
||||
{"PHP_SERVER": "PHP 5.5", "HTTPD_SERVER": "apache-2.2", "PGSQL_SERVER": "PgSQL 12"},
|
||||
{"PHP_SERVER": "PHP 5.6", "HTTPD_SERVER": "apache-2.2", "PGSQL_SERVER": "PgSQL 12"},
|
||||
{"PHP_SERVER": "PHP 7.0", "HTTPD_SERVER": "apache-2.2", "PGSQL_SERVER": "PgSQL 12"},
|
||||
{"PHP_SERVER": "PHP 7.1", "HTTPD_SERVER": "apache-2.2", "PGSQL_SERVER": "PgSQL 12"},
|
||||
{"PHP_SERVER": "PHP 7.2", "HTTPD_SERVER": "apache-2.2"},
|
||||
{"PHP_SERVER": "PHP 7.3", "HTTPD_SERVER": "apache-2.2"},
|
||||
{"PHP_SERVER": "PHP 7.4", "HTTPD_SERVER": "apache-2.2"},
|
||||
@ -25,12 +27,12 @@ env:
|
||||
{"PHP_SERVER": "PHP 8.1", "HTTPD_SERVER": "apache-2.2"},
|
||||
{"PHP_SERVER": "PHP 8.2", "HTTPD_SERVER": "apache-2.2"},
|
||||
|
||||
{"PHP_SERVER": "PHP 5.3", "HTTPD_SERVER": "apache-2.4"},
|
||||
{"PHP_SERVER": "PHP 5.4", "HTTPD_SERVER": "apache-2.4"},
|
||||
{"PHP_SERVER": "PHP 5.5", "HTTPD_SERVER": "apache-2.4"},
|
||||
{"PHP_SERVER": "PHP 5.6", "HTTPD_SERVER": "apache-2.4"},
|
||||
{"PHP_SERVER": "PHP 7.0", "HTTPD_SERVER": "apache-2.4"},
|
||||
{"PHP_SERVER": "PHP 7.1", "HTTPD_SERVER": "apache-2.4"},
|
||||
{"PHP_SERVER": "PHP 5.3", "HTTPD_SERVER": "apache-2.4", "PGSQL_SERVER": "PgSQL 12"},
|
||||
{"PHP_SERVER": "PHP 5.4", "HTTPD_SERVER": "apache-2.4", "PGSQL_SERVER": "PgSQL 12"},
|
||||
{"PHP_SERVER": "PHP 5.5", "HTTPD_SERVER": "apache-2.4", "PGSQL_SERVER": "PgSQL 12"},
|
||||
{"PHP_SERVER": "PHP 5.6", "HTTPD_SERVER": "apache-2.4", "PGSQL_SERVER": "PgSQL 12"},
|
||||
{"PHP_SERVER": "PHP 7.0", "HTTPD_SERVER": "apache-2.4", "PGSQL_SERVER": "PgSQL 12"},
|
||||
{"PHP_SERVER": "PHP 7.1", "HTTPD_SERVER": "apache-2.4", "PGSQL_SERVER": "PgSQL 12"},
|
||||
{"PHP_SERVER": "PHP 7.2", "HTTPD_SERVER": "apache-2.4"},
|
||||
{"PHP_SERVER": "PHP 7.3", "HTTPD_SERVER": "apache-2.4"},
|
||||
{"PHP_SERVER": "PHP 7.4", "HTTPD_SERVER": "apache-2.4"},
|
||||
@ -38,12 +40,12 @@ env:
|
||||
{"PHP_SERVER": "PHP 8.1", "HTTPD_SERVER": "apache-2.4"},
|
||||
{"PHP_SERVER": "PHP 8.2", "HTTPD_SERVER": "apache-2.4"},
|
||||
|
||||
{"PHP_SERVER": "PHP 5.3", "HTTPD_SERVER": "nginx-stable"},
|
||||
{"PHP_SERVER": "PHP 5.4", "HTTPD_SERVER": "nginx-stable"},
|
||||
{"PHP_SERVER": "PHP 5.5", "HTTPD_SERVER": "nginx-stable"},
|
||||
{"PHP_SERVER": "PHP 5.6", "HTTPD_SERVER": "nginx-stable"},
|
||||
{"PHP_SERVER": "PHP 7.0", "HTTPD_SERVER": "nginx-stable"},
|
||||
{"PHP_SERVER": "PHP 7.1", "HTTPD_SERVER": "nginx-stable"},
|
||||
{"PHP_SERVER": "PHP 5.3", "HTTPD_SERVER": "nginx-stable", "PGSQL_SERVER": "PgSQL 12"},
|
||||
{"PHP_SERVER": "PHP 5.4", "HTTPD_SERVER": "nginx-stable", "PGSQL_SERVER": "PgSQL 12"},
|
||||
{"PHP_SERVER": "PHP 5.5", "HTTPD_SERVER": "nginx-stable", "PGSQL_SERVER": "PgSQL 12"},
|
||||
{"PHP_SERVER": "PHP 5.6", "HTTPD_SERVER": "nginx-stable", "PGSQL_SERVER": "PgSQL 12"},
|
||||
{"PHP_SERVER": "PHP 7.0", "HTTPD_SERVER": "nginx-stable", "PGSQL_SERVER": "PgSQL 12"},
|
||||
{"PHP_SERVER": "PHP 7.1", "HTTPD_SERVER": "nginx-stable", "PGSQL_SERVER": "PgSQL 12"},
|
||||
{"PHP_SERVER": "PHP 7.2", "HTTPD_SERVER": "nginx-stable"},
|
||||
{"PHP_SERVER": "PHP 7.3", "HTTPD_SERVER": "nginx-stable"},
|
||||
{"PHP_SERVER": "PHP 7.4", "HTTPD_SERVER": "nginx-stable"},
|
||||
|
14
.github/workflows/zzz-reuse-tests.yml
vendored
14
.github/workflows/zzz-reuse-tests.yml
vendored
@ -45,12 +45,12 @@ jobs:
|
||||
run: |
|
||||
echo '${{ toJson(matrix) }}' | jq -r
|
||||
|
||||
- name: "[DEBUG] Show environment"
|
||||
- name: "[DEBUG] Show env variables"
|
||||
shell: bash
|
||||
run: |
|
||||
env
|
||||
|
||||
- name: "[DEBUG] Show network"
|
||||
- name: "[DEBUG] Show open network ports"
|
||||
shell: bash
|
||||
run: |
|
||||
netstat -an || true
|
||||
@ -61,6 +61,11 @@ jobs:
|
||||
run: |
|
||||
docker version
|
||||
|
||||
- name: "[DEBUG] Show Docker Compose version"
|
||||
shell: bash
|
||||
run: |
|
||||
docker-compose version
|
||||
|
||||
# ------------------------------------------------------------
|
||||
# Configure
|
||||
# ------------------------------------------------------------
|
||||
@ -102,6 +107,11 @@ jobs:
|
||||
make configure KEY="${KEY}" VAL="${VAL}"
|
||||
done <<< "$( echo '${{ toJson(matrix) }}' | jq -r 'keys[]' )"
|
||||
|
||||
- name: "[Configure] Show .env file"
|
||||
run: |
|
||||
cat .env
|
||||
|
||||
|
||||
# ------------------------------------------------------------
|
||||
# Startup
|
||||
# ------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user