nginx-gateway-fabric icon indicating copy to clipboard operation
nginx-gateway-fabric copied to clipboard

Improve management of cloud infrastructure in tests

Open pleshakov opened this issue 1 year ago • 3 comments
trafficstars

We use shell scripts https://github.com/nginxinc/nginx-gateway-fabric/tree/15bab00d0f31c96eed0fe29f34ed7373fa0b9646/tests/scripts to provision and deprovision cloud infra on GKE for tests.

One problem with shell scripts - handling partial failures: if some resources were created and some note, re-runing a failed script is not possible because it will fail due to attempts to create already existing resources

Consider using declarative infra management tools to manage infra in tests.

pleshakov avatar Mar 12 '24 18:03 pleshakov

This issue is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 14 days.

github-actions[bot] avatar Mar 27 '24 02:03 github-actions[bot]

This issue was closed because it has been stalled for 14 days with no activity.

github-actions[bot] avatar Apr 10 '24 02:04 github-actions[bot]

How often does this error occur? How much time does it cost us?

Placed it in the backlog for now.

mpstefan avatar Apr 10 '24 15:04 mpstefan

example of a clean up that wasn't complete -- https://github.com/nginxinc/nginx-gateway-fabric/actions/runs/9306728832/job/25616520648

clean up failed to delete created cluster

pleshakov avatar May 31 '24 16:05 pleshakov

Moved to #2390

mpstefan avatar Aug 20 '24 19:08 mpstefan