Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device.
Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
As everything is ansible the chains must be declared in the inventory. Note we improved the system with collections but had not time to share with the community.
In the example above I declared 2 new chains: new_k8s_daily and new_onap_daily.
Note that you can declare only one but for the daily we are used to redeploy the k8s prior to the ONAP deployment - we always restart from scratch. it allows to see any regression on OOM/k8s.
There are lots of information in this file, it describes the different stages of the kubernetes installation: config (init), infra_deploy (creation of the VMs on Orange OpenStack), k8s_deploy (deployement of the kubernetes), k8s_test (kubernetes testing).
For each stage we may change some parameters..
on the config part: the full configration of the VM is indicated through the parameter infra: k8s18-new-daily (see next section)
on the VM creation for instance we can change the name of the tenants/vms/users/...
on the kubernetes installation we can change the versions of kubespray, helm, the network plugin,the kubernetes release...This section must be in line with the OOM recommendations
We also do precise the docker repository (here we use our internal mirror)
Same for the ONAP installation (chained once the kubernetes is installed)
We find back the notion of stages: config (retrieve information from VMs and k8s installation), vnf_project_deploy (create a tenant for the test), onap_deploy (ONAP deployment), onap_test (tests to be executed on ONAP linked to the gitlab project onap_test)
Here again you can modify some parameters. in the onap_deploy stage you can specify the branch of the oom_installer (here master) and the branch of OOM
e.g. change the OOM branch to x in onap_daily_x.yml, update the versions of kubernetes, helm,..according to OOM recommentations
if resources changes, create an idf and pdf file in chained-ci/pod_config/config/ (note if resources are unchanged you may just reuse existing ones or copy paste existing ones for clarity)