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

fix: avoid installing the registry multiple times #638

Merged
merged 1 commit into from
Feb 23, 2024

Conversation

smlx
Copy link
Member

@smlx smlx commented Dec 14, 2023

While the fill-test-ci-values target's dependency on install-registry was correctly manipulated by the SKIP_INSTALL_REGISTRY variable, the install-lagoon-build-deploy target had a hard-coded dependency on install-registry. The result was that the registry would get installed multiple times anyway via the fill-test-ci-values target via an indirect dependency.

Fix that by removing the dependency that install-lagoon-build-deploy has on install-registry when SKIP_INSTALL_REGISTRY=true.

@smlx smlx added the ci label Dec 14, 2023
@smlx smlx requested a review from shreddedbacon December 14, 2023 05:58
While the fill-test-ci-values target's dependency on install-registry
was correctly manipulated by the SKIP_INSTALL_REGISTRY variable, the
install-lagoon-build-deploy target had a hard-coded dependency on
install-registry. The result was that the registry would get installed
multiple times anyway via the fill-test-ci-values target via an indirect
dependency.

Fix that by removing the dependency that install-lagoon-build-deploy has
on install-registry when SKIP_INSTALL_REGISTRY=true.
@shreddedbacon
Copy link
Member

running make TESTS=[nginx] k3d/test in uselagoon/lagoon. Not hugely noticeable difference. I think it is probably worth merging though

before:

real	21m31.993s
user	0m46.142s
sys	0m8.614s

with this branch:

real	20m11.619s
user	0m44.983s
sys	0m8.093s

Only shaved off a small amount of time

@tobybellwood tobybellwood changed the base branch from main to prerelease/lagoon_v218 February 23, 2024 05:05
Copy link
Member

@tobybellwood tobybellwood left a comment

Choose a reason for hiding this comment

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

straightforward enough, merging to prerelease

@tobybellwood tobybellwood merged commit d6f7a33 into prerelease/lagoon_v218 Feb 23, 2024
16 checks passed
@tobybellwood tobybellwood deleted the fix-skip-registry branch February 23, 2024 05:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants