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

Adding code to address docker healthcheck issue #1285

Merged
merged 24 commits into from
Oct 26, 2022
Merged

Adding code to address docker healthcheck issue #1285

merged 24 commits into from
Oct 26, 2022

Conversation

PaurushGarg
Copy link
Member

@PaurushGarg PaurushGarg commented Jun 7, 2022

Description:

  1. Fixing issue Fargate/ECS healthcheck #1124 related to ECS healthcheck

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@bryan-aguilar
Copy link
Contributor

You're going to want to ensure that the built health check tool is added to the .gitignore.

@bryan-aguilar bryan-aguilar marked this pull request as draft June 7, 2022 18:56
Copy link
Contributor

@bryan-aguilar bryan-aguilar left a comment

Choose a reason for hiding this comment

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

Also, don't forget about documentation for this. Where will it go? How can this new health check tool be used? Look at the original issue for motivation.

cmd/awscollector/Dockerfile Outdated Show resolved Hide resolved
cmd/healthcheck/main.go Outdated Show resolved Hide resolved
cmd/healthcheck/main.go Outdated Show resolved Hide resolved
Copy link
Contributor

@bryan-aguilar bryan-aguilar left a comment

Choose a reason for hiding this comment

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

Please add health_check to the .gitignore.

Makefile Outdated Show resolved Hide resolved
@PaurushGarg
Copy link
Member Author

Please add health_check to the .gitignore.

Hi Bryan, currently health_check binary path is inside build/ directory, and this directory is already part of .gitignore.

@bryan-aguilar
Copy link
Contributor

bryan-aguilar commented Jun 24, 2022

Please add health_check to the .gitignore.

Hi Bryan, currently health_check binary path is inside build/ directory, and this directory is already part of .gitignore.

The binary file health_check in the root directory was committed as part of this PR and should be added to the .gitignore or removed from the tracked files.

@PaurushGarg PaurushGarg changed the title Adding draft code to address docker healthcheck issue [Draft/WIP] Adding code to address docker healthcheck issue Jul 30, 2022
@jeromeinsf jeromeinsf removed their request for review August 22, 2022 02:32
@PaurushGarg PaurushGarg requested a review from a team August 23, 2022 18:54
@PaurushGarg PaurushGarg marked this pull request as ready for review August 29, 2022 23:43
@github-actions
Copy link
Contributor

github-actions bot commented Oct 9, 2022

This PR is stale because it has been open 30 days with no activity.

cmd/healthcheck/main.go Outdated Show resolved Hide resolved
cmd/healthcheck/main.go Outdated Show resolved Hide resolved
cmd/healthcheck/main.go Outdated Show resolved Hide resolved
config.yaml Outdated Show resolved Hide resolved
Makefile Outdated Show resolved Hide resolved
cmd/healthcheck/main.go Outdated Show resolved Hide resolved
cmd/healthcheck/main.go Outdated Show resolved Hide resolved
cmd/healthcheck/main.go Outdated Show resolved Hide resolved
cmd/healthcheck/main_test.go Outdated Show resolved Hide resolved
cmd/healthcheck/main_test.go Outdated Show resolved Hide resolved
cmd/healthcheck/main_test.go Outdated Show resolved Hide resolved
docs/developers/docker-demo.md Outdated Show resolved Hide resolved
@bryan-aguilar
Copy link
Contributor

Can we add unit tests for the validatePort function? A set of straightforward assertions should do.

cmd/healthcheck/main.go Outdated Show resolved Hide resolved
cmd/healthcheck/main.go Outdated Show resolved Hide resolved
cmd/healthcheck/main.go Outdated Show resolved Hide resolved
cmd/healthcheck/main.go Outdated Show resolved Hide resolved
config/ecs/ecs-default-config.yaml Outdated Show resolved Hide resolved
cmd/healthcheck/main_test.go Outdated Show resolved Hide resolved
cmd/healthcheck/main_test.go Outdated Show resolved Hide resolved
@PaurushGarg
Copy link
Member Author

PaurushGarg commented Oct 24, 2022

Can we add unit tests for the validatePort function? A set of straightforward assertions should do.

Thanks. Added.

cmd/healthcheck/main_test.go Outdated Show resolved Hide resolved
cmd/healthcheck/main_test.go Outdated Show resolved Hide resolved
Copy link
Contributor

@bryan-aguilar bryan-aguilar left a comment

Choose a reason for hiding this comment

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

Please ensure that a PR is submitted and merged to add the ecshealthcheck test case to testcases.json file before this PR is merged.

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