Azure / InnovationEngine

An experiment in simplicity for complex environments
MIT License
30 stars 14 forks source link

Feature Request: Initialization Script #152

Open mqasimsarfraz opened 6 months ago

mqasimsarfraz commented 6 months ago

Currently, if we want to test a markdown block that depends on certain dependencies e.g. installing krew, we have to perform these steps either via Makefile or as additional step in CI.

It would be great if we have a way to specify an initialization script for a document (similar to how we can specify custom vars) to be able to handle dependencies in consistent way.

mayasingh17 commented 1 month ago

Hi @mbifeld wanted to provide some context on this issue. We (Inspektor Gadget) would love to integrate Innovation Engine into our CI pipeline to test our upstream documentation. However, it requires an initialization script so that we can test a number of blocks of code in which we provide documentation around running the gadgets (but don't include the installation steps for IG in every single example), in this case an Initialization script would be very helpful to stand up the infrastructure needed to then test the many commands related to actually running the gadgets.