New to Kubepack? Please start here.
Scenario-6
This docs explain how Pack’s fork works.
This section explain test-6.
If you look into this test’s dependency-list.yaml
file.
$ cat dependency-list.yaml
items:
- package: github.com/kubepack/kube-a
branch: test-6
fork: https://github.com/kubepack/kube-d.git
- package: github.com/kubepack/kube-b
branch: test-6
fork: github.com/kubepack/kube-c
See image below, which describe whole dependency.
Explanation of image:
kube-c
andkube-d
both patch repositorykube-a
andkube-b
.- This test depends on two repository.
- fork
kube-d
ofkube-a
repo. - fork
kube-c
ofkube-b
repo.
- fork
Now, $ pack dep -f .
command get the dependencies and place under manifests/vendor
folder. pack
pulls kube-a
from fork kube-d
and kube-b
from fork kube-c
.