Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove condition field from depends_on for Docker Compose version 3 file. #15509

Closed
wants to merge 1 commit into from
Closed

Remove condition field from depends_on for Docker Compose version 3 file. #15509

wants to merge 1 commit into from

Conversation

porterdarby
Copy link

Docker Compose version 3 does not support the condition field for depends_on objects (see https://docs.docker.com/compose/compose-file/compose-file-v3/#depends_on). The current use of condition can be confusing (I was confused by it at first).

This change removes the condition fields and makes the depends_on a list.

This should present no problems with the current state of the application as it simply fixes a yaml file structure.

@boring-cyborg
Copy link

boring-cyborg bot commented Apr 23, 2021

Congratulations on your first Pull Request and welcome to the Apache Airflow community! If you have any issues or are unsure about any anything please check our Contribution Guide (https://github.com/apache/airflow/blob/master/CONTRIBUTING.rst)
Here are some useful points:

  • Pay attention to the quality of your code (flake8, pylint and type annotations). Our pre-commits will help you with that.
  • In case of a new feature add useful documentation (in docstrings or in docs/ directory). Adding a new operator? Check this short guide Consider adding an example DAG that shows how users should use it.
  • Consider using Breeze environment for testing locally, it’s a heavy docker but it ships with a working Airflow and a lot of integrations.
  • Be patient and persistent. It might take some time to get a review or get the final approval from Committers.
  • Please follow ASF Code of Conduct for all communication including (but not limited to) comments on Pull Requests, Mailing list and Slack.
  • Be sure to read the Airflow Coding style.
    Apache Airflow is a community-driven project and together we are making it better 🚀.
    In case of doubts contact the developers at:
    Mailing List: [email protected]
    Slack: https://s.apache.org/airflow-slack

@kaxil kaxil requested a review from mik-laj April 23, 2021 22:44
@mik-laj
Copy link
Member

mik-laj commented Apr 24, 2021

@porterdarby
Copy link
Author

Thanks for correcting me here. I'll see if there are some tests or something over on the Docker side and attempt to clarify that documentation. I made a quick little test locally, and the "depender" service timed out while waiting for the "dependee" service to become healthy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants