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

Creating default healthcheck for iris packer config #477

Closed
wants to merge 1 commit into from
Closed

Creating default healthcheck for iris packer config #477

wants to merge 1 commit into from

Conversation

ChrisCarini
Copy link
Member

Fixes #476

cd ops/packer/
mkdir output
virtualenv venv
source venv/bin/activate
pip install -r requirements.txt
python gen_packer_cfg.py ./iris.yaml | tail -n +2 > ./output/iris.json
packer build -only=docker ./output/iris.json
docker run <hash>
curl http://localhost:16649/healthcheck

Yields: GOOD

I'm unsure of who/how to actually get this published to quay.io repo as the next version - please advise if this is something I can help with.

@avanier
Copy link

avanier commented Feb 11, 2019

The image on Quay is about two years old. A new one would be nice. 🤷‍♂️

@ChrisCarini
Copy link
Member Author

@jrgp / @diegocepedaw - either of you have a chance to take a look at this? (Just going through old PRs of mine trying to bump them to either resolution / closure.)

@ChrisCarini
Copy link
Member Author

This is probably still useful, but I am going to close it out so I can clean up my forks. Hopefully it helps someone in the future.

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.

Default docker image from packer does not create healthcheck file, causing the /healthcheck endpoint to 404
2 participants