|
27 | 27 | fail-fast: false
|
28 | 28 |
|
29 | 29 | services:
|
| 30 | + frankenphp: |
| 31 | + image: dunglas/frankenphp:1.1.0 |
| 32 | + ports: |
| 33 | + - 80:80 |
| 34 | + - 8681:81 |
| 35 | + - 8682:82 |
| 36 | + - 8683:83 |
| 37 | + - 8684:84 |
| 38 | + volumes: |
| 39 | + - ${{ github.workspace }}:/symfony |
| 40 | + env: |
| 41 | + SERVER_NAME: 'http://localhost http://localhost:81 http://localhost:82 http://localhost:83 http://localhost:84' |
| 42 | + CADDY_SERVER_EXTRA_DIRECTIVES: | |
| 43 | + route /http-client* { |
| 44 | + root * /symfony/src/Symfony/Component/HttpClient/Tests/Fixtures/response-functional/ |
| 45 | + php_server |
| 46 | + } |
| 47 | +
|
| 48 | + root * /symfony/src/Symfony/Component/HttpFoundation/Tests/Fixtures/response-functional/ |
30 | 49 | postgres:
|
31 | 50 | image: postgres:10.6-alpine
|
32 | 51 | ports:
|
@@ -83,15 +102,17 @@ jobs:
|
83 | 102 | REDIS_SENTINEL_QUORUM: 1
|
84 | 103 | redis-primary:
|
85 | 104 | image: redis:latest
|
86 |
| - hostname: redis-primary |
87 | 105 | ports:
|
88 | 106 | - 16381:6379
|
89 |
| - |
90 | 107 | redis-replica:
|
91 |
| - image: redis:latest |
| 108 | + image: bitnami/redis:latest |
92 | 109 | ports:
|
93 | 110 | - 16382:6379
|
94 |
| - command: redis-server --slaveof redis-primary 6379 |
| 111 | + env: |
| 112 | + ALLOW_EMPTY_PASSWORD: "yes" |
| 113 | + REDIS_REPLICATION_MODE: "slave" |
| 114 | + REDIS_MASTER_HOST: redis-primary |
| 115 | + REDIS_MASTER_PORT_NUMBER: "6379" |
95 | 116 | memcached:
|
96 | 117 | image: memcached:1.6.5
|
97 | 118 | ports:
|
@@ -129,25 +150,6 @@ jobs:
|
129 | 150 | KAFKA_CFG_LISTENERS: 'PLAINTEXT://:9092'
|
130 | 151 | KAFKA_CFG_ZOOKEEPER_CONNECT: 'zookeeper:2181'
|
131 | 152 | options: --name=kafka
|
132 |
| - frankenphp: |
133 |
| - image: dunglas/frankenphp:1.1.0 |
134 |
| - ports: |
135 |
| - - 80:80 |
136 |
| - - 8681:81 |
137 |
| - - 8682:82 |
138 |
| - - 8683:83 |
139 |
| - - 8684:84 |
140 |
| - volumes: |
141 |
| - - ${{ github.workspace }}:/symfony |
142 |
| - env: |
143 |
| - SERVER_NAME: 'http://localhost http://localhost:81 http://localhost:82 http://localhost:83 http://localhost:84' |
144 |
| - CADDY_SERVER_EXTRA_DIRECTIVES: | |
145 |
| - route /http-client* { |
146 |
| - root * /symfony/src/Symfony/Component/HttpClient/Tests/Fixtures/response-functional/ |
147 |
| - php_server |
148 |
| - } |
149 |
| -
|
150 |
| - root * /symfony/src/Symfony/Component/HttpFoundation/Tests/Fixtures/response-functional/ |
151 | 153 |
|
152 | 154 | steps:
|
153 | 155 | - name: Checkout
|
|
0 commit comments