foltik / terraform-provider-vyos

VyOS Router Provider for Terraform (WIP)
MIT License
18 stars 7 forks source link

Integration testing #4

Open foltik opened 2 years ago

foltik commented 2 years ago

It would be a good idea to have automated tests for resource CRUD operations that run against an actual VyOS instance. Perhaps we could create a GitHub actions pipeline that does this.

foltik commented 2 years ago

Currently this is blocked on getting a working VyOS docker container running in a workflow with all of the necessary pre-configuration (API keys, ...). So far, testing of this has been done in https://github.com/Foltik/vyos-client-go/tree/integration.

foltik commented 1 year ago

I got integration tests against VyOS working in CI with https://github.com/Foltik/vyos-client-go/commit/9b9a46c4ab7257a0e4fc459f7c1fd7628278a648, so this is now unblocked.

We should be able to pretty easily leverage the same pipeline for integration testing with terraform.