Skip to content
This repository has been archived by the owner on Jul 18, 2023. It is now read-only.

Add java and yaml support #260

Merged
merged 7 commits into from
Jul 22, 2022
Merged

Add java and yaml support #260

merged 7 commits into from
Jul 22, 2022

Conversation

iwahbe
Copy link
Member

@iwahbe iwahbe commented Jul 19, 2022

Duplicate of #256, hopefully running from a pulumi org member will help with tests.

Fixes pulumi/pulumi-yaml#25.

Asamsig and others added 5 commits July 8, 2022 20:18
Ran `go mod tidy -go=1.16 && go mod tidy -go=1.17` to specify indirect dependency tree
Updated GIthub Actions scripts to use Go 1.17 to build the project
@iwahbe iwahbe self-assigned this Jul 19, 2022
Copy link
Contributor

@RobbieMcKinstry RobbieMcKinstry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM sans one question. Re-request me after? :D

@@ -15,7 +15,7 @@ const ubuntu = pulumi.output(aws.ec2.getAmi({
],
mostRecent: true,
owners: ["099720109477"],
}, { async: true }));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, I don't see this change in the original PR. I'm curious what it's been included?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's the current output of our codegen, so we need to make the change to get tests to pass. My assumption is that it is because async defaults to true already. See https://github.com/pulumi/pulumi/blob/18f7461d483dbb7c964d5dae4fd80147965a108c/sdk/nodejs/invoke.ts#L45-L53 for details.

Copy link
Member

@jkodroff jkodroff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved with nits.

.github/workflows/master.yml Outdated Show resolved Hide resolved
@@ -52,6 +52,12 @@ $ pulumi new python -f

// For a C# project
$ pulumi new csharp -f

// For a Java project
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: These should be in code fences with bash indicated (and should not have the prompt unless we show the output, per markdown lint).

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are already code fenced (with console) and match the surrounding style. Which markdown lint are you running?

misc/import-go/go.mod Outdated Show resolved Hide resolved
@RobbieMcKinstry RobbieMcKinstry removed their request for review July 21, 2022 17:20
@iwahbe iwahbe merged commit c6f41c6 into master Jul 22, 2022
@pulumi-bot pulumi-bot deleted the iwahbe/add-java-and-yaml-support branch July 22, 2022 08:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tf2pulumi/arm2pulumi/kube2pulumi support for YAML
4 participants