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

Implemented Healthcheck based on existing health endpoint in Dockerfi… #265

Merged
merged 1 commit into from Sep 14, 2019

Conversation

pgerhard
Copy link
Contributor

Pull request for #264

@codecov
Copy link

codecov bot commented Sep 11, 2019

Codecov Report

Merging #265 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #265   +/-   ##
=======================================
  Coverage   71.65%   71.65%           
=======================================
  Files           9        9           
  Lines         515      515           
  Branches      107      107           
=======================================
  Hits          369      369           
  Misses        146      146

Copy link
Contributor

@oktapodia oktapodia left a comment

Choose a reason for hiding this comment

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

This a very good idea! Thank you for your PR, I just have some little comments and this one is good to go

.gitignore Outdated
@@ -12,3 +12,4 @@ settings.json

# Ignore npm debug log
npm-debug.log
.idea
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you please remove that? This is linked to your dev environment and should not be in the project

Suggested change
.idea
-.idea

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure, however I would like to point that the gitignore already contains an entry Sublime Text (see line 10 in the gitignore).
Considering this I would suggest leaving the ignore for the .idea directory in the file, it does'nt cause any harm but prevents someone from accidentally committing their IntelliJ / Webstorm IDE settings

Copy link
Contributor

Choose a reason for hiding this comment

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

Good catch! Feel free to remove the sublime text as well :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

:)
Ok, I removed both lines

Dockerfile Outdated
@@ -3,6 +3,9 @@ MAINTAINER "Dan Farrelly <daniel.j.farrelly@gmail.com>"

ENV NODE_ENV production

RUN apk add --no-cache curl && \
Copy link
Contributor

Choose a reason for hiding this comment

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

The --no-cache should be enough, can you please remove the rm?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I changed this as suggested

…le. Removed sublime specific value from gitignore
@oktapodia oktapodia merged commit ad6b59c into maildev:master Sep 14, 2019
@oktapodia
Copy link
Contributor

oktapodia commented Sep 14, 2019

Thank you! That will be included soon in the production release.

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.

None yet

2 participants