Skip to content

Commit 028c2ad

Browse files
committed
chore(CI): Stick to mysql:5.7 for now
1 parent 53e4edc commit 028c2ad

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

.github/workflows/cron.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ jobs:
2525
experimental: true
2626
services:
2727
mysql:
28-
image: mysql:8
28+
image: mysql:5.7
2929
env:
3030
MYSQL_RANDOM_ROOT_PASSWORD: yes
3131
MYSQL_USER: quick
3232
MYSQL_PASSWORD: quick
3333
MYSQL_DATABASE: quick
3434
ports:
35-
- 3306:3306
35+
- 3306
3636
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
3737
steps:
3838
- name: Checkout Repository
@@ -58,7 +58,7 @@ jobs:
5858
- name: Start server
5959
env:
6060
DB_HOST: localhost
61-
DB_PORT: 3306
61+
DB_PORT: ${{ job.services.mysql.ports[3306] }}
6262
DB_NAME: quick
6363
DB_USER: quick
6464
DB_PASSWORD: quick
@@ -69,7 +69,7 @@ jobs:
6969
- name: Run TestBox Tests
7070
env:
7171
DB_HOST: localhost
72-
DB_PORT: 3306
72+
DB_PORT: ${{ job.services.mysql.ports[3306] }}
7373
DB_NAME: quick
7474
DB_USER: quick
7575
DB_PASSWORD: quick

.github/workflows/pr.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ jobs:
2222
cfengine: ["lucee@5", "lucee@6", "adobe@2021", "adobe@2023", "adobe@2025", "boxlang-cfml@1"]
2323
services:
2424
mysql:
25-
image: mysql:8
25+
image: mysql:5.7
2626
env:
2727
MYSQL_RANDOM_ROOT_PASSWORD: yes
2828
MYSQL_USER: quick
2929
MYSQL_PASSWORD: quick
3030
MYSQL_DATABASE: quick
3131
ports:
32-
- 3306:3306
32+
- 3306
3333
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
3434
steps:
3535
- name: Checkout Repository
@@ -54,7 +54,7 @@ jobs:
5454
- name: Start server
5555
env:
5656
DB_HOST: localhost
57-
DB_PORT: 3306
57+
DB_PORT: ${{ job.services.mysql.ports[3306] }}
5858
DB_NAME: quick
5959
DB_USER: quick
6060
DB_PASSWORD: quick
@@ -65,7 +65,7 @@ jobs:
6565
- name: Run TestBox Tests
6666
env:
6767
DB_HOST: localhost
68-
DB_PORT: 3306
68+
DB_PORT: ${{ job.services.mysql.ports[3306] }}
6969
DB_NAME: quick
7070
DB_USER: quick
7171
DB_PASSWORD: quick

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ jobs:
1717
cfengine: ["lucee@5", "lucee@6", "adobe@2021", "adobe@2023", "adobe@2025", "boxlang-cfml@1"]
1818
services:
1919
mysql:
20-
image: mysql:8
20+
image: mysql:5.7
2121
env:
2222
MYSQL_RANDOM_ROOT_PASSWORD: yes
2323
MYSQL_USER: quick
2424
MYSQL_PASSWORD: quick
2525
MYSQL_DATABASE: quick
2626
ports:
27-
- 3306:3306
27+
- 3306
2828
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
2929
steps:
3030
- name: Checkout Repository
@@ -49,7 +49,7 @@ jobs:
4949
- name: Start server
5050
env:
5151
DB_HOST: localhost
52-
DB_PORT: 3306
52+
DB_PORT: ${{ job.services.mysql.ports[3306] }}
5353
DB_NAME: quick
5454
DB_USER: quick
5555
DB_PASSWORD: quick
@@ -60,7 +60,7 @@ jobs:
6060
- name: Run TestBox Tests
6161
env:
6262
DB_HOST: localhost
63-
DB_PORT: 3306
63+
DB_PORT: ${{ job.services.mysql.ports[3306] }}
6464
DB_NAME: quick
6565
DB_USER: quick
6666
DB_PASSWORD: quick

0 commit comments

Comments
 (0)