potiuk commented on code in PR #26612:
URL: https://github.com/apache/airflow/pull/26612#discussion_r984677270
##########
scripts/ci/docker-compose/base-ports.yml:
##########
@@ -16,3 +16,9 @@
# under the License.
---
version: "3.7"
+services:
Review Comment:
it's in:
```
def get_backend_compose_files(self, backend: str) -> list[Path]:
backend_docker_compose_file = DOCKER_COMPOSE_DIR /
f"backend-{backend}.yml"
if backend == 'sqlite' or not self.forward_ports:
return [backend_docker_compose_file]
return [backend_docker_compose_file, DOCKER_COMPOSE_DIR /
f"backend-{backend}-port.yml"]
```
When I run tests, ShellParams has "forward_ports" set to False - this way
when set of docker-compose files are determined to be used, the `*-port.yml`
files are not used.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]