A new script, lke_calico_rules_e2e.sh, has been added and is called in the E2E workflow file after the Run the integration test suite step in e2e-suite.yml
Key Points:
kubectl and calicoctl binaries are required as pre-req which are downloed in the e2e worflow file
The script retrieves all LKE clusters in the test account and applies Calico rules to the corresponding nodes. If no clusters exist, no action is taken. In most cases, clusters are cleaned and deleted properly after test execution
Due to the delay in the availability of LKE cluster configurations and the provisioning times of node instances, it is challenging to apply Calico rules directly within the test framework. Therefore, the script is separated and executed independently in the workflow file
📝 Description
A new script,
lke_calico_rules_e2e.sh
, has been added and is called in the E2E workflow file after theRun the integration test suite step
ine2e-suite.yml
Key Points:
kubectl
andcalicoctl
binaries are required as pre-req which are downloed in the e2e worflow file✔️ How to Test
Forked run - https://github.com/ykim-1/linodego/actions/runs/9491201493/job/26156141578
Forked run on PR - https://github.com/ykim-1/linodego/actions/runs/9491223844/job/26156204794 Note test failed but it was able to apply the calico rules
📷 Preview
If applicable, include a screenshot or code snippet of this change. Otherwise, please remove this section.