Skip to content

buildkite: pre-fetch system-test maven deps on host before container [MERGEOK]#37045

Merged
esolitos merged 2 commits into
masterfrom
arnej/download-deps-outside
May 28, 2026
Merged

buildkite: pre-fetch system-test maven deps on host before container [MERGEOK]#37045
esolitos merged 2 commits into
masterfrom
arnej/download-deps-outside

Conversation

@arnej27959

Copy link
Copy Markdown
Member

…build

Run mvn dependency:go-offline against docker/vespa-systemtests/tests/pom.xml on the build host, before the system-test container is built and the host's ~/.m2/repository is copied into docker/maven-repo as the container's offline repo.

Why: doing this on the host (instead of inside the container) populates the persistent ~/.m2 cache on the build agent, so subsequent Buildkite runs reuse the downloaded artifacts instead of re-fetching them every time.

…build

Run `mvn dependency:go-offline` against docker/vespa-systemtests/tests/pom.xml
on the build host, before the system-test container is built and the host's
~/.m2/repository is copied into docker/maven-repo as the container's offline
repo.

Why: doing this on the host (instead of inside the container) populates the
persistent ~/.m2 cache on the build agent, so subsequent Buildkite runs
reuse the downloaded artifacts instead of re-fetching them every time.
@arnej27959 arnej27959 requested a review from esolitos May 28, 2026 13:06
esolitos
esolitos previously approved these changes May 28, 2026
@esolitos esolitos changed the title buildkite: pre-fetch system-test maven deps on host before container … buildkite: pre-fetch system-test maven deps on host before container [MERGEOK] May 28, 2026
@esolitos esolitos merged commit 5e7beaa into master May 28, 2026
3 of 4 checks passed
@esolitos esolitos deleted the arnej/download-deps-outside branch May 28, 2026 13:41
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