Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Initialization Script #152

Open
mqasimsarfraz opened this issue Dec 6, 2023 · 2 comments
Open

Feature Request: Initialization Script #152

mqasimsarfraz opened this issue Dec 6, 2023 · 2 comments
Labels
enhancement New feature or request innovation engine

Comments

@mqasimsarfraz
Copy link
Member

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
Copy link

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.

@rgardler-msft
Copy link
Collaborator

@mayasingh17 can you please take a look at the approach taken in https://github.com/Azure/InnovationEngine/blob/main/examples/KubeRay/deploy-kuberay.md - specifically at what we are doing in the "Prerequisites" section of that example document. Is this the same use case you are describing?

If so, then this will be resolved when we add support for prerequisites which we have committed to (no ETA at this point). Once that is complete it will be possible to reference external files that have this kind of content. Such pre-reqs will be sharable across different documents.

You can track progress on this work via #236

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request innovation engine
Projects
Status: 🆕 Backlog
Development

No branches or pull requests

4 participants