Skip to content

generate examples and docs from Pulumi.yaml files - #96

Merged
ocobles merged 16 commits into
mainfrom
generate-example-and-docs
Jul 16, 2024
Merged

ocobles merged 16 commits into
mainfrom
generate-example-and-docs

Conversation

@ocobles

@ocobles ocobles commented Jun 7, 2024 •

Copy link
Copy Markdown
Contributor

refactor generate.sh script to automatically generate examples in all languages and the examples that are included in the documentation (docs folder) using the examples from the upstream terraform provider.

Although the Terraform Bridge plugin has the ability to generate the examples that are included in the terraform documentation, this way we have greater control because many of them fail and need to be modified. In addition, this way the code is also generated in the examples folder that can be used as a templates for the pulumi new command by passing the full URL of the path that contains a Pulumi.yaml

@ocobles
ocobles marked this pull request as draft June 7, 2024 19:32
@ocobles
ocobles force-pushed the generate-example-and-docs branch from 28dae16 to 1c2facb Compare July 2, 2024 15:17
@github-actions

github-actions Bot commented Jul 2, 2024

Copy link
Copy Markdown

Does the PR have any schema changes?

Does the PR have any schema changes?

Looking good! No breaking changes found.
No new resources/functions.

Maintainer note: consult the runbook for dealing with any breaking changes.

@ocobles
ocobles force-pushed the generate-example-and-docs branch 2 times, most recently from 635eca1 to 15524c2 Compare July 12, 2024 15:18
ocobleseqx added 8 commits July 12, 2024 17:18
Signed-off-by: ocobleseqx <oscar.cobles@eu.equinix.com>
Signed-off-by: Oscar Cobles <oscar.cobles@eu.equinix.com>
Signed-off-by: Oscar Cobles <oscar.cobles@eu.equinix.com>
Signed-off-by: Oscar Cobles <oscar.cobles@eu.equinix.com>
Signed-off-by: Oscar Cobles <oscar.cobles@eu.equinix.com>
Signed-off-by: Oscar Cobles <oscar.cobles@eu.equinix.com>
Signed-off-by: Oscar Cobles <oscar.cobles@eu.equinix.com>
Signed-off-by: Oscar Cobles <oscar.cobles@eu.equinix.com>
@ocobles
ocobles force-pushed the generate-example-and-docs branch from 15524c2 to a043f39 Compare July 12, 2024 15:18
Signed-off-by: Oscar Cobles <oscar.cobles@eu.equinix.com>
@ocobles
ocobles marked this pull request as ready for review July 12, 2024 15:55
Signed-off-by: Oscar Cobles <oscar.cobles@eu.equinix.com>
@displague
displague requested a review from srushti-patl July 12, 2024 16:24
Oscar Cobles added 6 commits July 12, 2024 18:27
Signed-off-by: Oscar Cobles <oscar.cobles@eu.equinix.com>
Signed-off-by: Oscar Cobles <oscar.cobles@eu.equinix.com>
Signed-off-by: Oscar Cobles <oscar.cobles@eu.equinix.com>
Signed-off-by: Oscar Cobles <oscar.cobles@eu.equinix.com>
Signed-off-by: Oscar Cobles <oscar.cobles@eu.equinix.com>
Signed-off-by: Oscar Cobles <oscar.cobles@eu.equinix.com>
@ocobles

ocobles commented Jul 15, 2024

Copy link
Copy Markdown
Contributor Author

ready for review

@ocobles
ocobles merged commit 410b290 into main Jul 16, 2024
@ocobles
ocobles deleted the generate-example-and-docs branch July 16, 2024 12:55
ocobles pushed a commit that referenced this pull request Jul 16, 2024
Signed-off-by: Oscar Cobles <oscar.cobles@eu.equinix.com>
ocobles pushed a commit that referenced this pull request Jul 16, 2024
Signed-off-by: Oscar Cobles <oscar.cobles@eu.equinix.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants