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

Add args to docker service ContainerSpec #39464

Merged
merged 19 commits into from
May 17, 2024

Conversation

guydriesen
Copy link
Contributor

This PR adds the support for defining arguments to the DockerSwarmOperator.

The currently available command option replaces the entrypoint on a docker service container, with the args you can give extra options to the entrypoint.


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@Taragolis Taragolis merged commit 77a6b4f into apache:main May 17, 2024
41 checks passed
RNHTTR pushed a commit to RNHTTR/airflow that referenced this pull request Jun 1, 2024
* Add args to docker service ContainerSpec

* args is a list in ContainerSpec

* fix ContainerSpec assertion

* fix args formatter

* fix ContainerSpec assert

* remove some spaces

* add docker service args list test case

* replace ast.literal_eval with json.loads

* remove json string representation

---------

Co-authored-by: Guy Driesen <19373791+guydriesen@users.noreply.github.com>
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.

None yet

3 participants