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

Initial Docker Container for ENP Deployment #103

Closed
6 of 7 tasks
EvanParish opened this issue Dec 20, 2024 · 2 comments
Closed
6 of 7 tasks

Initial Docker Container for ENP Deployment #103

EvanParish opened this issue Dec 20, 2024 · 2 comments
Assignees
Labels
Dev Reviewed Reviewed by Tech Lead Feature Notify Board trigger PM Reviewed Reviewed by Product Manager QA Reviewed Reviewed by Quality Assurance

Comments

@EvanParish
Copy link
Contributor

EvanParish commented Dec 20, 2024

User Story - Business Need

The ENP infra is starting to take shape. We now need to create a container that can be deployed so we can start testing the behavior in the deployed environment.

  • Ticket is understood, and QA has been contacted (if the ticket has a QA label).

User Story(ies)

As a backend engineer
I want to create a docker container for the va-enp-api repo
So that I can deploy the code to our cloud infrastructure.

Additional Info and Resources

  • Docker page for python
  • Will require running the DB separately, and connecting to it to verify the AC ("app starts locally..")

Acceptance Criteria

  • An initial deployable container has been created with the following
    • the docker image python:3.12-alpine3.21 (or newer)
    • poetry for dependency management
    • Only app and poetry files moved to the image
    • app starts locally and is functional
  • This work is added to the sprint review slide deck (key win bullet point and demo slide)

QA Considerations

Potential Dependencies

Out of Scope

This ticket is not creating the action to deploy this container. Just create the container itself. The deployment action will happen on ENP ticket 76.

Considerations for other add-ons like datadog, apm, etc. will come later.

@EvanParish EvanParish added the Notify Board trigger label Dec 20, 2024
@k-macmillan k-macmillan added the Dev Reviewed Reviewed by Tech Lead label Dec 20, 2024
@cris-oddball cris-oddball added the QA Reviewed Reviewed by Quality Assurance label Jan 2, 2025
@kbelikova-oddball kbelikova-oddball added PM Reviewed Reviewed by Product Manager Ready for Refinement labels Jan 6, 2025
@EvanParish EvanParish self-assigned this Jan 8, 2025
@EvanParish
Copy link
Contributor Author

First I tried to mess with installing poetry using pipx, but I was hitting permissions issues when trying to do that. Now I'm using the poetry official installer with curl so I can move past that. I'm attempting to make the dockerfile a multi-stage build to cut back on the image size, but I'm running into some problems there. I think I'll reach out to Corey or Kyle today for some guidance.

@EvanParish
Copy link
Contributor Author

I worked with Corey for a little bit today to help me get unstuck. I think I have a good baseline container to deploy now. It may require some tweaking when we go to test the endpoints, but I believe it will serve it's purpose and allow us to deploy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dev Reviewed Reviewed by Tech Lead Feature Notify Board trigger PM Reviewed Reviewed by Product Manager QA Reviewed Reviewed by Quality Assurance
Projects
None yet
Development

No branches or pull requests

5 participants