Skip to content

EMR container self sufficient example DAG #242

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

Merged
merged 8 commits into from
Apr 19, 2022
Merged

Conversation

bharanidharan14
Copy link
Contributor

@bharanidharan14 bharanidharan14 commented Apr 18, 2022

Add Example DAG to be self sufficient

  • Add Docker commands to install eksctl, kubectl
  • Add bash script to create clusters, roles, user and delete the cluster
  • Trigger the bash script via operator in the DAG

Closes #199

- Add steps to DAG, so that DAG can be self sufficient
- Rename DAG file
- Add steps to install AWS eks, kubectl packages in Docker file
- Add clean up script
- Remove the python script to delete the EKS cluster and EMR virtual cluster
@bharanidharan14 bharanidharan14 changed the title Emr container example dag EMR container self sufficient example DAG Apr 18, 2022
@codecov
Copy link

codecov bot commented Apr 18, 2022

Codecov Report

Merging #242 (ee8fbda) into main (5cf53b2) will decrease coverage by 0.00%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #242      +/-   ##
==========================================
- Coverage   96.34%   96.33%   -0.01%     
==========================================
  Files          45       45              
  Lines        2541     2540       -1     
==========================================
- Hits         2448     2447       -1     
  Misses         93       93              
Impacted Files Coverage Δ
astronomer/providers/amazon/aws/triggers/emr.py 100.00% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5cf53b2...ee8fbda. Read the comment docs.

Copy link
Collaborator

@pankajkoti pankajkoti left a comment

Choose a reason for hiding this comment

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

Nice one 👍🏽 Some minor suggestions!

@bharanidharan14 bharanidharan14 marked this pull request as ready for review April 19, 2022 09:30
@phanikumv phanikumv merged commit 59c8b7c into main Apr 19, 2022
@phanikumv phanikumv deleted the emr_container_example_dag branch April 19, 2022 12:06
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.

Enhance EMRContainerSensorAsync example DAG
4 participants