feat(mc): GHA build caching, resource pack URL env, K8s ingress#7266
Merged
feat(mc): GHA build caching, resource pack URL env, K8s ingress#7266
Conversation
…ngress Add CI configuration with GitHub Actions cache backend for Docker BuildKit to reduce test build times from ~30min to incremental rebuilds. Make the resource pack URL configurable via RESOURCE_PACK_URL environment variable with an entrypoint script that templates features.toml at startup. Add nginx ingress for mc.kbve.com with TLS via cert-manager to serve the resource pack over HTTPS.
Add metallb.universe.tf/allow-shared-ip annotation to both the mc-service LoadBalancer and the nginx-ingress Helm values so they can share the single public IP (142.132.206.74). Ports do not overlap (nginx: 80/443, mc: 25565/19132) so sharing is safe.
e360ffb to
0c0f8e5
Compare
Contributor
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
This was referenced Feb 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ciconfiguration tocontainerx,container, ande2etargets using GitHub Actions native cache backend (type=gha). Adddocker/setup-buildx-actiontodocker-test-app.ymland route test builds through--configuration=ci. Reduces incremental CI build times from ~30 min to cached rebuilds.entrypoint.shthat templatesRESOURCE_PACK_URLintofeatures.tomlat container startup viased. Defaults tolocalhost:8080when unset (local dev / e2e). Dockerfile updated to use entrypoint script instead of direct binary.letsencrypt-httpcert-manager ClusterIssuer. Routeshttps://mc.kbve.com/*→mc-internal-service:8080for resource pack downloads. Deployment updated withRESOURCE_PACK_URL=https://mc.kbve.com/kbve-resource-pack.zip.Test plan
./kbve.sh -nx mc:container --configuration=localstill worksdocker run -e RESOURCE_PACK_URL=https://test.example.com/pack.zip -p 25565:25565 -p 8080:8080 kbve/mc:localrewrites features.toml