Skip to content

[v3.29] refactor: backport repo layout-aware targets for VPP kube-test#1040

Merged
sknat merged 1 commit into
release/v3.29.0from
abasu-backport-unify-image-r329
Jun 8, 2026
Merged

[v3.29] refactor: backport repo layout-aware targets for VPP kube-test#1040
sknat merged 1 commit into
release/v3.29.0from
abasu-backport-unify-image-r329

Conversation

@aritrbas

@aritrbas aritrbas commented Jun 5, 2026

Copy link
Copy Markdown
Collaborator

This patch backports Makefile targets and kube-test manifest to release/v3.29.0.

After the unify images and flatten repo layout refactoring (#994), VPP kube-test delegates CalicoVPP repo layout details to generic make targets so it can work with both the old split-image releases (upto release/v3.32.0) as well as the new unified image releases (release/v3.33.0 onwards).

Changes:

  • Add top-level make vpp, delegating to vpp-manager
  • Add make kube-test-template, which renders the kube-test manifest with:
    • CALICOVPP_AGENT_IMAGE=calicovpp/agent
    • VPP_BUILD_REL_PATH=vpp-manager/vpp_build
  • Add make kube-test-push-images, which pulls/tags/pushes the following images:
    • calicovpp/agent
    • calicovpp/vpp
    • calicovpp/multinet-monitor
  • Add new kube-test manifest: yaml/generated/calico-vpp-kubetest.yaml
  • Update vpp-manager/Makefile so clone-vpp honors VPP_DIR

This keeps VPP kube-test independent of CalicoVPP's internal repo layout while preserving compatibility with v3.29 split-image release. We achieve a clean separation as CalicoVPP repo owns layout details whereas VPP kube-test calls generic make targets without internal knowledge of CalicoVPP repo layout.

Backport Makefile targets and kube-test manifest to `release/v3.29.0`.

After the unify images and flatten repo layout refactoring, VPP kube-test
delegates CalicoVPP repo layout details to generic make targets so it can
work with both the old split-image releases (upto `release/v3.32.0`) as
well as the new unified image releases (`release/v3.33.0` onwards).

- `make vpp` delegates to vpp-manager and passes `VPP_DIR`/`BASE`.
- `make kube-test-template` renders `yaml/generated/calico-vpp-kubetest.yaml`
  with old-layout values: `calicovpp/agent` and `vpp-manager/vpp_build`.
- `make kube-test-push-images` pulls, tags, and pushes the v3.29
  split images into the local kind registry.

Updated vpp-manager's `clone-vpp` target to honor `VPP_DIR` so top-level
`make vpp` target's override is used consistently throughout VPP build.

Also added new kube-test manifest `yaml/generated/calico-vpp-kubetest.yaml`.
The agent's HTTP health-check server (`calico-vpp-agent/health/health.go`)
landed in `release/v3.31.0`, so this v3.29 manifest omits the
`livenessProbe`/`readinessProbe`/`startupProbe` blocks and the matching
`healthCheckPort` field in `CALICOVPP_INITIAL_CONFIG` to stay compatible
with the v3.29 agent.

This keeps VPP kube-test independent of CalicoVPP's internal repo layout
while preserving compatibility with v3.29 split-image release.

Signed-off-by: Aritra Basu <aritrbas+gh@cisco.com>
@aritrbas aritrbas self-assigned this Jun 5, 2026
@aritrbas aritrbas requested review from hedibouattour, onong and sknat June 5, 2026 07:46

@sknat sknat left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

lgtm

@sknat sknat merged commit 3b58850 into release/v3.29.0 Jun 8, 2026
2 checks passed
@aritrbas aritrbas deleted the abasu-backport-unify-image-r329 branch June 8, 2026 18:16
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.

2 participants