packer/packer_test/dag_tests
Lucas Bajolet 418ebca7ef packer_test: add base tests for DAG eval
Since we introduce the DAG with this series of commits, only on locals
and data sources, we need to make sure that the behaviour is what we
expect.

Therefore, this commit adds a basic test with Packer build, and packer
validate, to evaluate a template with both locals and data sources
depending on one another.

This is rejected with the sequential evaluation methods, as we process
the different types one-by-one, whereas the DAG allows us to mix the
order between the two, while still rejecting circular dependencies (and
doing that before they even get evaluated), and self-references.
2024-10-29 16:10:29 -04:00
..
templates packer_test: add base tests for DAG eval 2024-10-29 16:10:29 -04:00
mix_data_locals_test.go packer_test: add base tests for DAG eval 2024-10-29 16:10:29 -04:00
suite_test.go packer_test: add base tests for DAG eval 2024-10-29 16:10:29 -04:00