Integration test environment is expensive and idle at night.
IntermediateScenarioBuilds, Artifacts, Nexus, SonarQube and Testing
Answer
Situation read → Always-on cost.
What I'd do →
- Create environments on demand with IaC (Terraform/Helm) inside the pipeline and destroy at the end.
- For shared environments schedule scale-down (KEDA, cron-scaling, or stopping instances).
- Use ephemeral namespaces on a shared cluster with resource quotas.
Why → Pay for the environment only while tests run.
Interview tip → Cost is part of CI/CD design.
More on Builds, Artifacts, Nexus, SonarQube and Testing
A Maven project resolves dependencies from Maven Central on every build and a left-pad style outage would stop all builds.BeginnerYou must publish snapshot and release artifacts without overwriting a released version.IntermediateEvery merge to main should produce a unique semantic version automatically.IntermediateAn npm build is non-reproducible: different versions install on different days.BeginnerThe SonarQube quality gate must block merging PRs that add new bugs, vulnerabilities or uncovered code.IntermediateCoverage shows 0% in SonarQube although tests run in CI.Intermediate