Commit 10899b0
refactor: backport repo layout-aware targets for VPP kube-test
Backport Makefile targets and kube-test manifest to `release/v3.32.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.32
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`.
This keeps VPP kube-test independent of CalicoVPP's internal repo layout
while preserving compatibility with v3.32 split-image releases.
Signed-off-by: Aritra Basu <aritrbas+gh@cisco.com>1 parent 690c961 commit 10899b0
3 files changed
Lines changed: 492 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
28 | 58 | | |
29 | 59 | | |
30 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | | - | |
| 157 | + | |
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
| |||
0 commit comments