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

Feat: initial appcontainer setup #38

Merged
merged 8 commits into from
Dec 10, 2024
Merged

Feat: initial appcontainer setup #38

merged 8 commits into from
Dec 10, 2024

Conversation

thekaveman
Copy link
Member

@thekaveman thekaveman commented Dec 9, 2024

Closes #10

Review this PR

  1. Checkout the branch locally (not in devcontainer)
  2. Make sure there are no other pending changes
  3. Add a sample git tag e.g. git tag -a 2024.12.1
  4. Build the app container docker compose build app
  5. Run the app container, confirm the version matches the sample tag docker compose run --entrypoint /bin/bash app then inside python manage.py --version
  6. Rebuild and reload the devcontainer, confirm it still works

@thekaveman thekaveman requested a review from a team as a code owner December 9, 2024 22:26
@thekaveman thekaveman marked this pull request as draft December 9, 2024 22:27
@thekaveman thekaveman self-assigned this Dec 9, 2024
@thekaveman thekaveman marked this pull request as ready for review December 9, 2024 23:06
@thekaveman thekaveman added this to the Initial project setup milestone Dec 9, 2024
@thekaveman thekaveman marked this pull request as draft December 10, 2024 16:16
@thekaveman thekaveman marked this pull request as ready for review December 10, 2024 16:25
@thekaveman
Copy link
Member Author

@lalver1 let's merge your #41 first, since there will be some conflicts I think.

@thekaveman thekaveman marked this pull request as draft December 10, 2024 16:31
assuming a gunicorn app server available on a unix socket
matches the nginx config to bind to the same unix socket
multi-stage image:

1. builds the local pems Python package
2. installs the pre-built pems Python package and other setup
into the /caltrans/app directory setup for the appcontainer
Copy link

Coverage report

This PR does not seem to contain any modification to coverable code.

@thekaveman thekaveman marked this pull request as ready for review December 10, 2024 20:06
@thekaveman thekaveman enabled auto-merge December 10, 2024 20:09
Copy link
Member

@lalver1 lalver1 left a comment

Choose a reason for hiding this comment

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

Great job! I went through the reviewing steps and there were no problems 👍

@thekaveman thekaveman merged commit c556975 into main Dec 10, 2024
8 checks passed
@thekaveman thekaveman deleted the feat/appcontainer branch December 10, 2024 20:48
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.

Initial app container setup
2 participants