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

Fix issue #64 #66

Merged
merged 4 commits into from
Dec 11, 2023
Merged

Fix issue #64 #66

merged 4 commits into from
Dec 11, 2023

Conversation

mdesouky
Copy link
Collaborator

@mdesouky mdesouky commented Dec 8, 2023

Fixes erroring out when there are empty directories under uptick-cluster/apps

Fixes erroring out when there are empty directories under uptick-cluster/apps
@@ -15,6 +16,18 @@
from .tags import colour_tags, validate_tags


def is_valid_app_directory(directory: PosixPath) -> bool:
files = ["deployment.yml", "secrets.yml"]
files_exist = False
Copy link
Collaborator

Choose a reason for hiding this comment

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

can simplify this greatly with any() and a list comprehension.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

can we work with only one file ? or do we have to have both files for working app directory ?

Copy link
Collaborator

@uptickmetachu uptickmetachu left a comment

Choose a reason for hiding this comment

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

Conditional approval; there are a few more places you'll need to bump.
CTRL+F for 0.9.21

@mdesouky mdesouky merged commit b7bde5d into develop Dec 11, 2023
@mdesouky mdesouky deleted the bugfix/fix-issue-#64 branch December 11, 2023 00:25
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.

2 participants