flux-iac / tofu-controller

A GitOps OpenTofu and Terraform controller for Flux
https://flux-iac.github.io/tofu-controller/
Apache License 2.0
1.3k stars 137 forks source link

Write end-to-end test for branch planner #736

Open yiannistri opened 1 year ago

yiannistri commented 1 year ago

Follow-up from #665

This should run in CI under the e2e workflow as a separate job. The majority of the test execution code should be invoked as a make target to facilitate local execution.

========

User Story:

As a Terraform Controller developer, I'd like to have an end-to-end test for the branch planner component, so that I can ensure its proper functionality and reduce the chances of introducing regression issues.

Acceptance Criteria:

yiannistri commented 1 year ago

Waiting for corp-it to get some credentials that we can use to setup Terraform.

lasomethingsomething commented 1 year ago

@yiannistri How far have you gotten?

Would be a requirement before we release v0.16.0 TF Controller

lasomethingsomething commented 1 year ago

Yiannis wants to deploy branch-planner to staging and use the knowledge gathered there to write the e2e. But it's hard to track, manage infra in stg with real tokens. Yiannis has opened some issues for Ciaran he'll follow up on.