Skip to content

Add support for dockerignore#392

Merged
NicolasMahe merged 6 commits intodevfrom
feature/support-dockerignore
Aug 27, 2018
Merged

Add support for dockerignore#392
NicolasMahe merged 6 commits intodevfrom
feature/support-dockerignore

Conversation

@antho1404
Copy link
Copy Markdown
Member

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

@antho1404 antho1404 requested review from a team and ilgooz August 26, 2018 05:09
Comment thread 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 {
Copy link
Copy Markdown
Contributor

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/

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

i agree, requesting changes

Copy link
Copy Markdown
Contributor

@ilgooz ilgooz left a 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

@antho1404
Copy link
Copy Markdown
Member Author

modifications done

@NicolasMahe NicolasMahe merged commit 44b4330 into dev Aug 27, 2018
@NicolasMahe NicolasMahe deleted the feature/support-dockerignore branch August 27, 2018 04:53
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.

4 participants