-
Notifications
You must be signed in to change notification settings - Fork 0
Use jinja2 to generate the nginx configuration. #38
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
Conversation
dc594f3 to
c92108c
Compare
|
I'm not really how to get changes to the proxy to pass CI. I'm pretty sure the failure is because it is using whatever is on ghcr rather than the in-tree modified version. Locally I build the proxy image with |
c92108c to
7bc88b2
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #38 +/- ##
==========================================
- Coverage 98.66% 98.10% -0.56%
==========================================
Files 4 4
Lines 450 476 +26
Branches 39 41 +2
==========================================
+ Hits 444 467 +23
- Misses 5 7 +2
- Partials 1 2 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Done. Depends on reside-ic/constellation#40. |
b495a45 to
18d2427
Compare
e4c9860 to
1873201
Compare
The test broke when I changed acme-buddy's key type. I think verifying the signature is a bit overkill. As long as the certificate is there I think that is enough.
We used to have a dictionary for all the container names. This will become a bit unwieldy once we have many replicas of a container. Instead the names are put as fields of the correspoding container configuration objects, usually as constants. Additionally stop putting the constellation container prefix in the URLs. It turns out that constellation sets up networking such that these are not needed.
The configuration is now generated from Python instead of inside the container. This gives us much more flexibility than envsubst, including the ability to have for-loops. This will allow us to have multiple server blocks in a multi-packit configuration.
Previously the integration tests were always using the proxy image from GHCR. This makes changes to the proxy difficult. The new `build` option allows a path to a directory containing a Docker file to be specified in place of a name and tag. We use it for the proxy everywhere.
Simplify the way container names are handled.
The configuration is now generated from Python instead of inside the container. This gives us much more flexibility than envsubst, including the ability to have for-loops. This will allow us to have multiple server blocks in a multi-packit configuration.