-
Notifications
You must be signed in to change notification settings - Fork 760
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
added support for docker-compose.yaml besides docker-compose.yml #368
Conversation
bb22813
to
6829e6f
Compare
This will be broken by #367. It would be better to decide between |
@kadel yes true! |
4f39c83
to
57638ec
Compare
6dacdfc
to
0ba501a
Compare
0ba501a
to
ce72313
Compare
@kadel do you think it's the right place to handle default files? |
ce72313
to
a13549b
Compare
@procrypt this breaks |
verified it indeed breaks |
eb45a7d
to
d6db74c
Compare
53926d5
to
83efc4d
Compare
@@ -133,6 +146,23 @@ func ValidateFlags(bundle string, args []string, cmd *cobra.Command, opt *kobjec | |||
} | |||
} | |||
|
|||
// ValidateUpDown validates flags for Up and Down | |||
func ValidateUpDown(cmd *cobra.Command, opt *kobject.ConvertOptions) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think ValidateUpDown could be worded differently.
How about ValidateComposeFile?
convert::expect_success "kompose --provider=openshift convert --stdout -j" "$KOMPOSE_ROOT/script/test/fixtures/yaml-and-yml/yml/output-os.json" | ||
# Return back to the original path | ||
cd $CURRENT_DIR | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
83efc4d
to
9c934e9
Compare
9c934e9
to
96a0572
Compare
@procrypt LGTM! |
All green 👍 Merging away! |
Now
kompose
will look fordocker-compose.yml
as well asdocker-compose.yaml
in the current directory, when-f
or--file
flag in not given .cc. @containscafeine @surajssd @kadel
Fixes #352 and #369 includes functional tests
I think we can now close #367