Skip to content

Commit

Permalink
Merge branch 'master' into use-pgsql17
Browse files Browse the repository at this point in the history
  • Loading branch information
seasoftjapan authored Nov 3, 2024
2 parents 7cbb37d + e4af84a commit c9217e3
Show file tree
Hide file tree
Showing 17 changed files with 11,794 additions and 1,995 deletions.
3 changes: 1 addition & 2 deletions .github/actions/dockerbuild/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ runs:
run: |
echo "IMAGE_NAME=${GITHUB_REPOSITORY,,}-php" >> ${GITHUB_ENV}
- if: ${{ inputs.php-version >= 7.4 }}
shell: 'bash'
- shell: 'bash'
run: |
echo "GD_OPTIONS=--with-freetype --with-jpeg" >> ${GITHUB_ENV}
echo "EXT_INSTALL_ARGS=gd zip mysqli pgsql opcache" >> ${GITHUB_ENV}
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/dockerbuild-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,14 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [ '7.4', '8.0', '8.1', '8.2', '8.3' ]
php: [ '7.4', '8.0', '8.1', '8.2', '8.3', '8.4-rc' ]

steps:
- name: downcase REPO
run: |
echo "IMAGE_NAME=${GITHUB_REPOSITORY,,}-php" >> ${GITHUB_ENV}
- if: ${{ matrix.php >= 7.4 }}
run: |
- run: |
echo "GD_OPTIONS=--with-freetype --with-jpeg" >> ${GITHUB_ENV}
echo "EXT_INSTALL_ARGS=gd zip mysqli pgsql opcache" >> ${GITHUB_ENV}
echo "APCU=apcu" >> ${GITHUB_ENV}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dockerbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [ '7.4', '8.0', '8.1', '8.2', '8.3' ]
php: [ '7.4', '8.0', '8.1', '8.2', '8.3', '8.4-rc' ]

steps:
- name: Checkout
Expand Down
16 changes: 12 additions & 4 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- 'test/front_login'
- 'test/front_guest'
- 'test/admin'
php: [ '7.4', '8.0', '8.1', '8.2', '8.3' ]
php: [ '7.4', '8.0', '8.1', '8.2', '8.3', '8.4-rc' ]
db: [ mysql, pgsql ]
steps:
- name: Checkout
Expand Down Expand Up @@ -60,7 +60,11 @@ jobs:
echo "COMPOSE_FILE=docker-compose.yml:docker-compose.${DB}.yml:docker-compose.dev.yml" >> $GITHUB_ENV
echo "IMAGE_NAME=${OWNER,,}/ec-cube2-php" >> $GITHUB_ENV
if [ $EVENT_NAME = "pull_request" ]; then
echo "TAG=${PHP}-apache-${BASE_REF}" >> $GITHUB_ENV
if [ -n $DOCKER_METADATA_OUTPUT_VERSION ]; then
echo "TAG=${DOCKER_METADATA_OUTPUT_VERSION}" >> $GITHUB_ENV
else
echo "TAG=${PHP}-apache-${BASE_REF}" >> $GITHUB_ENV
fi
else
echo "TAG=${PHP}-apache-${REF_NAME}" >> $GITHUB_ENV
fi
Expand Down Expand Up @@ -123,7 +127,7 @@ jobs:
fail-fast: false
matrix:
db: [ 'pgsql', 'mysql' ]
php: [ '7.4', '8.0', '8.1', '8.2', '8.3' ]
php: [ '7.4', '8.0', '8.1', '8.2', '8.3', '8.4-rc' ]
include:
- db: mysql
dbport: '3306'
Expand Down Expand Up @@ -158,7 +162,11 @@ jobs:
echo "COMPOSE_FILE=docker-compose.yml:docker-compose.${DB}.yml:docker-compose.dev.yml" >> $GITHUB_ENV
echo "IMAGE_NAME=${OWNER,,}/ec-cube2-php" >> $GITHUB_ENV
if [ $EVENT_NAME = "pull_request" ]; then
echo "TAG=${PHP}-apache-${BASE_REF}" >> $GITHUB_ENV
if [ -n $DOCKER_METADATA_OUTPUT_VERSION ]; then
echo "TAG=${DOCKER_METADATA_OUTPUT_VERSION}" >> $GITHUB_ENV
else
echo "TAG=${PHP}-apache-${BASE_REF}" >> $GITHUB_ENV
fi
else
echo "TAG=${PHP}-apache-${REF_NAME}" >> $GITHUB_ENV
fi
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,11 @@ jobs:
echo "COMPOSE_FILE=docker-compose.yml:docker-compose.pgsql.yml:docker-compose.dev.yml" >> $GITHUB_ENV
echo "IMAGE_NAME=${OWNER,,}/ec-cube2-php" >> $GITHUB_ENV
if [ $EVENT_NAME = "pull_request" ]; then
echo "TAG=8.3-apache-${BASE_REF}" >> $GITHUB_ENV
if [ -n $DOCKER_METADATA_OUTPUT_VERSION ]; then
echo "TAG=${DOCKER_METADATA_OUTPUT_VERSION}" >> $GITHUB_ENV
else
echo "TAG=8.3-apache-${BASE_REF}" >> $GITHUB_ENV
fi
else
echo "TAG=8.3-apache-${REF_NAME}" >> $GITHUB_ENV
fi
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
fail-fast: false
matrix:
operating-system: [ ubuntu-22.04 ]
php: [ '7.4', '8.0', '8.1', '8.2', '8.3' ]
php: [ '7.4', '8.0', '8.1', '8.2', '8.3', '8.4-rc' ]
db: [ mysql, pgsql ]

steps:
Expand Down Expand Up @@ -53,7 +53,11 @@ jobs:
echo "COMPOSE_FILE=docker-compose.yml:docker-compose.${DB}.yml:docker-compose.dev.yml" >> $GITHUB_ENV
echo "IMAGE_NAME=${OWNER,,}/ec-cube2-php" >> $GITHUB_ENV
if [ $EVENT_NAME = "pull_request" ]; then
echo "TAG=${PHP}-apache-${BASE_REF}" >> $GITHUB_ENV
if [ -n $DOCKER_METADATA_OUTPUT_VERSION ]; then
echo "TAG=${DOCKER_METADATA_OUTPUT_VERSION}" >> $GITHUB_ENV
else
echo "TAG=${PHP}-apache-${BASE_REF}" >> $GITHUB_ENV
fi
else
echo "TAG=${PHP}-apache-${REF_NAME}" >> $GITHUB_ENV
fi
Expand Down
12 changes: 6 additions & 6 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c9217e3

Please sign in to comment.