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

control-service: add file filter before job upload #2540

Merged
merged 11 commits into from
Aug 18, 2023

Conversation

mrMoZ1
Copy link
Contributor

@mrMoZ1 mrMoZ1 commented Aug 9, 2023

what: Refactored current job filtering logic to rely on inheritance and templates, providing more flexibility for future refactoring of required filtering. In addition to the already present allow list - added a filter list that deletes file types matched from a comma separated property before uploading data job source code files to version control/building job the image.

why: Currently users encounter challenges while deploying data jobs due to the presence of compiled Python files (*.pyc) that conflict with the upload validation process. This hinders their ability to redeploy jobs, especially when working with Jupyter Notebooks. To enhance the user experience and streamline the deployment process, we need to implement a file exclusion mechanism similar to .gitignore logic during data job uploads.

testing: added unit test

mrMoZ1 and others added 2 commits August 17, 2023 14:16
@mrMoZ1 mrMoZ1 enabled auto-merge (squash) August 18, 2023 09:58
@mrMoZ1 mrMoZ1 merged commit 7524aca into main Aug 18, 2023
@mrMoZ1 mrMoZ1 deleted the person/mzhivkov/remove-pyc-files branch August 18, 2023 10:14
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.

6 participants