Skip to content

Conversation

@plietar
Copy link
Member

@plietar plietar commented Dec 2, 2025

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.

@plietar
Copy link
Member Author

plietar commented Dec 2, 2025

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 proxy/build and edit the config files to point to that.

@codecov
Copy link

codecov bot commented Dec 2, 2025

Codecov Report

❌ Patch coverage is 94.02985% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 98.10%. Comparing base (bf9a158) to head (7f57377).
⚠️ Report is 8 commits behind head on main.

Files with missing lines Patch % Lines
src/packit_deploy/packit_constellation.py 85.18% 3 Missing and 1 partial ⚠️
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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@plietar
Copy link
Member Author

plietar commented Dec 2, 2025

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 proxy/build and edit the config files to point to that.

Done. Depends on reside-ic/constellation#40.

@plietar plietar force-pushed the jinja-proxy branch 2 times, most recently from e4c9860 to 1873201 Compare December 4, 2025 17:24
@plietar plietar requested a review from EmmaLRussell December 4, 2025 17:24
@plietar plietar changed the base branch from type-annotations to main December 4, 2025 17:25
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.
@EmmaLRussell EmmaLRussell merged commit 467fbaf into main Dec 9, 2025
6 of 8 checks passed
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.

3 participants