-
Notifications
You must be signed in to change notification settings - Fork 8
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
Initial docs site based on Docusaurus #77
Conversation
docs/docs/step_by_step.mdx
Outdated
|
||
```shell | ||
poetry run infrahubctl run generators/generate_topology.py topology=fra05-pod1 | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A continuation of these could be that we read this info from files instead and have a way to test that it's valid so based on the above we'd have:
File: 0001_graphql_add_repo.gql
mutation AddRepository{
CoreReadOnlyRepositoryCreate(
data: {
name: { value: "infrahub-demo-dc-fabric" }
location: { value: "https://github.com/opsmill/infrahub-demo-dc-fabric.git" }
}
) {
ok
object {
id
}
}
}
File: 0002_shell_run_generator.sh
poetry run infrahubctl run generators/generate_topology.py topology=fra05-pod1
Description
When executing these tests we'd just follow the initial number to indicate order then after that it would be file type or command type followed by some optional information that isn't required.
So if we look at 0001_graphql_add_repo.gql
only 0001_graphql_
would be required anything after that is just to help us or guide the language selection in an IDE. The second part graphql
or shell
would tell the test how to execute the command.
The tests themselves would need to be simple in terms of us just looking at the exit code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will take on a test for 0002_shell_run_generator.sh
when this PR is done: opsmill/infrahub#5287
Deploying infrahub-demo-dc-fabric with Cloudflare Pages
|
This got quite big. Scope is:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Except comment in the diagram (non-blocking) LGTM
* Update dependabot.yml * Initial docs site based on Docusaurus (opsmill#77)
Exploring what it would take to build the documentation for this repo with Docusaurus