-
Notifications
You must be signed in to change notification settings - Fork 13
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
Add support for dockerignore #392
Conversation
mesg/deploy_deployer.go
Outdated
if _, err := os.Stat(filepath.Join(path, ".mesgignore")); err == nil { | ||
// TODO: remove for a future release | ||
d.sendStatus(fmt.Sprintf("%s [DEPRECATION] please use .dockerignore instead of .mesgignore", aurora.Red("⨯")), DONE) | ||
} else { |
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.
Remove else? there will be warning about .mesgingore file, but there will be no info about build complete status (which will happen here). So display deprecation msg + build msg.
Todo: s/DEPRECATION/DEPRECATED/
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 agree, requesting changes
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.
status message bug, also please add tests for this to deploy_test.go
modifications done |
When this is released, we need to update the javascript template to use the dockerignore file instead of mesgignore file
https://github.com/mesg-foundation/template-service-javascript/edit/master/template/.mesgignore