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

[AIRFLOW-6574] Adding private_environment to docker operator. #7671

Conversation

CaptainCuddleCube
Copy link
Contributor

@CaptainCuddleCube CaptainCuddleCube commented Mar 9, 2020

The docker operator currently does not have a means to pass in an environment dict that is not exposed to the frontend.

This links to issue 6574.


Issue link: AIRFLOW-6574

Make sure to mark the boxes below before creating PR: [x]

  • Description above provides context of the change
  • Commit message/PR title starts with [AIRFLOW-NNNN]. AIRFLOW-NNNN = JIRA ID*
  • Unit tests coverage for changes (not needed for documentation changes)
  • Commits follow "How to write a good git commit message"
  • Relevant documentation is updated including usage instructions.
  • I will engage committers as explained in Contribution Workflow Example.

* For document-only changes commit message can start with [AIRFLOW-XXXX].


In case of fundamental code change, 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 UPDATING.md.
Read the Pull Request Guidelines for more information.

The docker operator currently does not have a means to pass in an
environment dict that is not exposed to the frontend.
- Updating docs and ensuring code is flake8.
- Adding a test and updating documentation.
Copy link
Member

@feluelle feluelle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove changes to lines you did not need to change. Like the line breaks. You probably formatted the files with a different formatter we use.

airflow/providers/docker/operators/docker.py Show resolved Hide resolved
@CaptainCuddleCube
Copy link
Contributor Author

@feluelle

Updated, and ready for review again.

@CaptainCuddleCube CaptainCuddleCube force-pushed the 6574-private-environment-to-docker-operator branch from b941fe2 to 7c81db7 Compare March 15, 2020 16:25
@CaptainCuddleCube
Copy link
Contributor Author

@feluelle
Just following up on the state of this PR.

@kaxil kaxil requested a review from feluelle March 22, 2020 18:46
@potiuk potiuk merged commit 9626b03 into apache:master Mar 30, 2020
@boring-cyborg
Copy link

boring-cyborg bot commented Mar 30, 2020

Awesome work, congrats on your first merged pull request!

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

Successfully merging this pull request may close these issues.

None yet

3 participants