Skip to content

Commit

Permalink
chore: ci adjustments for alpine 3.18, php 8.2, and mariadb updates (o…
Browse files Browse the repository at this point in the history
  • Loading branch information
bradymiller committed Jun 19, 2023
1 parent 61c3c50 commit dbc89b2
Show file tree
Hide file tree
Showing 10 changed files with 46 additions and 161 deletions.
165 changes: 36 additions & 129 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,99 +104,6 @@ jobs:
build_test_common
if: ${{ success() || failure() }}

build_apache_82_1011:
name: PHP 8.2 - Apache - MariaDB 10.11
runs-on: ubuntu-22.04
env:
DOCKER_DIR: apache_82_1011
OPENEMR_DIR: /var/www/localhost/htdocs/openemr
CHROMIUM_INSTALL: "apk update; apk add --no-cache chromium chromium-chromedriver; export PANTHER_CHROME_DRIVER_BINARY=/usr/lib/chromium/chromedriver"
steps:
- uses: actions/checkout@v3

- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'

- name: Report PHP Version
run: php -v

- name: Install npm package
uses: actions/setup-node@v3
with:
node-version: '18'

- name: Main build
run: |
source ci/ciLibrary.source
composer_github_auth
main_build
- name: CCDA build
run: |
source ci/ciLibrary.source
ccda_build
- name: Dockers environment start
run: |
source ci/ciLibrary.source
dockers_env_start
sleep 60
- name: Install and configure
run: |
source ci/ciLibrary.source
install_configure
- name: Unit testing
run: |
source ci/ciLibrary.source
build_test_unit
if: ${{ success() || failure() }}

- name: E2e testing
run: |
source ci/ciLibrary.source
build_test_e2e
if: ${{ success() || failure() }}

- name: Api testing
run: |
source ci/ciLibrary.source
build_test_api
if: ${{ success() || failure() }}

- name: Fixtures testing
run: |
source ci/ciLibrary.source
build_test_fixtures
if: ${{ success() || failure() }}

- name: Services testing
run: |
source ci/ciLibrary.source
build_test_services
if: ${{ success() || failure() }}

- name: Validators testing
run: |
source ci/ciLibrary.source
build_test_validators
if: ${{ success() || failure() }}

- name: Controllers testing
run: |
source ci/ciLibrary.source
build_test_controllers
if: ${{ success() || failure() }}

- name: Common testing
run: |
source ci/ciLibrary.source
build_test_common
if: ${{ success() || failure() }}

build_apache_81_1011:
name: PHP 8.1 - Apache - MariaDB 10.11
runs-on: ubuntu-22.04
Expand Down Expand Up @@ -290,11 +197,11 @@ jobs:
build_test_common
if: ${{ success() || failure() }}

build_apache_81_1010:
name: PHP 8.1 - Apache - MariaDB 10.10 (short term release)
build_apache_82_110:
name: PHP 8.2 - Apache - MariaDB 11.0 (short term release)
runs-on: ubuntu-22.04
env:
DOCKER_DIR: apache_81_1010
DOCKER_DIR: apache_82_110
OPENEMR_DIR: /var/www/localhost/htdocs/openemr
CHROMIUM_INSTALL: "apk update; apk add --no-cache chromium chromium-chromedriver; export PANTHER_CHROME_DRIVER_BINARY=/usr/lib/chromium/chromedriver"
steps:
Expand All @@ -303,7 +210,7 @@ jobs:
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
php-version: '8.2'

- name: Report PHP Version
run: php -v
Expand Down Expand Up @@ -383,11 +290,11 @@ jobs:
build_test_common
if: ${{ success() || failure() }}

build_apache_81_109:
name: PHP 8.1 - Apache - MariaDB 10.9 (short term release)
build_apache_82_1011:
name: PHP 8.2 - Apache - MariaDB 10.11
runs-on: ubuntu-22.04
env:
DOCKER_DIR: apache_81_109
DOCKER_DIR: apache_82_1011
OPENEMR_DIR: /var/www/localhost/htdocs/openemr
CHROMIUM_INSTALL: "apk update; apk add --no-cache chromium chromium-chromedriver; export PANTHER_CHROME_DRIVER_BINARY=/usr/lib/chromium/chromedriver"
steps:
Expand All @@ -396,7 +303,7 @@ jobs:
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
php-version: '8.2'

- name: Report PHP Version
run: php -v
Expand Down Expand Up @@ -476,11 +383,11 @@ jobs:
build_test_common
if: ${{ success() || failure() }}

build_apache_81_108:
name: PHP 8.1 - Apache - MariaDB 10.8 (short term release)
build_apache_82_1010:
name: PHP 8.2 - Apache - MariaDB 10.10 (short term release)
runs-on: ubuntu-22.04
env:
DOCKER_DIR: apache_81_108
DOCKER_DIR: apache_82_1010
OPENEMR_DIR: /var/www/localhost/htdocs/openemr
CHROMIUM_INSTALL: "apk update; apk add --no-cache chromium chromium-chromedriver; export PANTHER_CHROME_DRIVER_BINARY=/usr/lib/chromium/chromedriver"
steps:
Expand All @@ -489,7 +396,7 @@ jobs:
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
php-version: '8.2'

- name: Report PHP Version
run: php -v
Expand Down Expand Up @@ -569,11 +476,11 @@ jobs:
build_test_common
if: ${{ success() || failure() }}

build_apache_81_106:
name: PHP 8.1 - Apache - MariaDB 10.6
build_apache_82_109:
name: PHP 8.2 - Apache - MariaDB 10.9 (short term release)
runs-on: ubuntu-22.04
env:
DOCKER_DIR: apache_81_106
DOCKER_DIR: apache_82_109
OPENEMR_DIR: /var/www/localhost/htdocs/openemr
CHROMIUM_INSTALL: "apk update; apk add --no-cache chromium chromium-chromedriver; export PANTHER_CHROME_DRIVER_BINARY=/usr/lib/chromium/chromedriver"
steps:
Expand All @@ -582,7 +489,7 @@ jobs:
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
php-version: '8.2'

- name: Report PHP Version
run: php -v
Expand Down Expand Up @@ -662,11 +569,11 @@ jobs:
build_test_common
if: ${{ success() || failure() }}

build_apache_81_105:
name: PHP 8.1 - Apache - MariaDB 10.5
build_apache_82_106:
name: PHP 8.2 - Apache - MariaDB 10.6
runs-on: ubuntu-22.04
env:
DOCKER_DIR: apache_81_105
DOCKER_DIR: apache_82_106
OPENEMR_DIR: /var/www/localhost/htdocs/openemr
CHROMIUM_INSTALL: "apk update; apk add --no-cache chromium chromium-chromedriver; export PANTHER_CHROME_DRIVER_BINARY=/usr/lib/chromium/chromedriver"
steps:
Expand All @@ -675,7 +582,7 @@ jobs:
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
php-version: '8.2'

- name: Report PHP Version
run: php -v
Expand Down Expand Up @@ -755,11 +662,11 @@ jobs:
build_test_common
if: ${{ success() || failure() }}

build_apache_81_104:
name: PHP 8.1 - Apache - MariaDB 10.4
build_apache_82_105:
name: PHP 8.2 - Apache - MariaDB 10.5
runs-on: ubuntu-22.04
env:
DOCKER_DIR: apache_81_104
DOCKER_DIR: apache_82_105
OPENEMR_DIR: /var/www/localhost/htdocs/openemr
CHROMIUM_INSTALL: "apk update; apk add --no-cache chromium chromium-chromedriver; export PANTHER_CHROME_DRIVER_BINARY=/usr/lib/chromium/chromedriver"
steps:
Expand All @@ -768,7 +675,7 @@ jobs:
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
php-version: '8.2'

- name: Report PHP Version
run: php -v
Expand Down Expand Up @@ -848,11 +755,11 @@ jobs:
build_test_common
if: ${{ success() || failure() }}

build_apache_81_103:
name: PHP 8.1 - Apache - MariaDB 10.3
build_apache_82_104:
name: PHP 8.2 - Apache - MariaDB 10.4
runs-on: ubuntu-22.04
env:
DOCKER_DIR: apache_81_103
DOCKER_DIR: apache_82_104
OPENEMR_DIR: /var/www/localhost/htdocs/openemr
CHROMIUM_INSTALL: "apk update; apk add --no-cache chromium chromium-chromedriver; export PANTHER_CHROME_DRIVER_BINARY=/usr/lib/chromium/chromedriver"
steps:
Expand All @@ -861,7 +768,7 @@ jobs:
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
php-version: '8.2'

- name: Report PHP Version
run: php -v
Expand Down Expand Up @@ -941,11 +848,11 @@ jobs:
build_test_common
if: ${{ success() || failure() }}

build_apache_81_8:
name: PHP 8.1 - Apache - MySQL 8
build_apache_82_8:
name: PHP 8.2 - Apache - MySQL 8
runs-on: ubuntu-22.04
env:
DOCKER_DIR: apache_81_8
DOCKER_DIR: apache_82_8
OPENEMR_DIR: /var/www/localhost/htdocs/openemr
CHROMIUM_INSTALL: "apk update; apk add --no-cache chromium chromium-chromedriver; export PANTHER_CHROME_DRIVER_BINARY=/usr/lib/chromium/chromedriver"
steps:
Expand All @@ -954,7 +861,7 @@ jobs:
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
php-version: '8.2'

- name: Report PHP Version
run: php -v
Expand Down Expand Up @@ -1034,11 +941,11 @@ jobs:
build_test_common
if: ${{ success() || failure() }}

build_apache_81_57:
name: PHP 8.1 - Apache - MySQL 5.7
build_apache_82_57:
name: PHP 8.2 - Apache - MySQL 5.7
runs-on: ubuntu-22.04
env:
DOCKER_DIR: apache_81_57
DOCKER_DIR: apache_82_57
OPENEMR_DIR: /var/www/localhost/htdocs/openemr
CHROMIUM_INSTALL: "apk update; apk add --no-cache chromium chromium-chromedriver; export PANTHER_CHROME_DRIVER_BINARY=/usr/lib/chromium/chromedriver"
steps:
Expand All @@ -1047,7 +954,7 @@ jobs:
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
php-version: '8.2'

- name: Report PHP Version
run: php -v
Expand Down
22 changes: 0 additions & 22 deletions ci/apache_81_108/docker-compose.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ services:
MYSQL_ROOT_PASSWORD: root
openemr:
restart: always
image: openemr/openemr:flex-3.17
image: openemr/openemr:flex-3.18
ports:
- 80:80
- 443:443
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ services:
MYSQL_ROOT_PASSWORD: root
openemr:
restart: always
image: openemr/openemr:flex-3.17
image: openemr/openemr:flex-3.18
ports:
- 80:80
- 443:443
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ services:
MYSQL_ROOT_PASSWORD: root
openemr:
restart: always
image: openemr/openemr:flex-3.17
image: openemr/openemr:flex-3.18
ports:
- 80:80
- 443:443
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ services:
MYSQL_ROOT_PASSWORD: root
openemr:
restart: always
image: openemr/openemr:flex-3.17
image: openemr/openemr:flex-3.18
ports:
- 80:80
- 443:443
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ services:
MYSQL_ROOT_PASSWORD: root
openemr:
restart: always
image: openemr/openemr:flex-3.17
image: openemr/openemr:flex-3.18
ports:
- 80:80
- 443:443
Expand Down
Loading

0 comments on commit dbc89b2

Please sign in to comment.