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

Use the configured repository when running exporting AWS Batch jobs with --skip-docker #131

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

DennisJLi
Copy link

Describe your changes

The soopervisor.yaml file for AWS Batch expects a repository, but when running soopervisor export ... --skip-docker the repository setting is not used as the image name, instead the default package is. This causes issues if we want to package the Docker container and submit to ECR repositories outside of soopervisor.

This change makes it so that it always uses the repository setting.

Also contains some dependency fixes.

  • pyyaml >= 6.0.2 so that it works with Cython 3+
  • Import changes from deprecated airflow.providers.cncf.kubernetes.operators.kubernetes_pod to airflow.providers.cncf.kubernetes.operators.pod

Issue ticket number and link

Closes #130

Checklist before requesting a review

  • [ Yes] I have performed a self-review of my code
  • [ Yes ] I have added thorough tests (when necessary).
  • [ Yes ] I have added the right documentation (when needed). Product update? If yes, write one line about this update.

@edublancas
Copy link
Contributor

@DennisJLi please check the tests

@DennisJLi
Copy link
Author

@edublancas Any insight or leads on why this test might be failing? I can look into it but have zero context as it's for a backend and configuration options that are not related to any of my changes and only fails on one of the CI builds strangely...

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.

soopervisor --skip-docker should use the configured repository when running with AWS Batch
2 participants