-
Notifications
You must be signed in to change notification settings - Fork 19
Conversation
742183f
to
bab54ff
Compare
This works as is, but we still link Talking with Luke, we might consider doing an |
Let's stick with linking for now (since that aligns with the way folks will do development on these packages) and if it turns out that in CI we want to try to publish and install a local version of the package, we can do that. |
Instead of downloading versions of `@pulumi/pulumi` and `@pulumi/aws`, extracting them and then running `yarn link`, just use actual NPM references and install them from NPM.
bab54ff
to
b385733
Compare
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.
LGTM
@@ -189,22 +189,22 @@ func Test_Examples(t *testing.T) { | |||
}, | |||
{ | |||
Dir: path.Join(cwd, "../examples/containers"), | |||
StackName: "containers-fargate", | |||
StackName: addRandomSuffix("containers-fargate"), |
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.
Curious - any reason we don't do this automatically inside the integration test framework? Seems we'll always need something like this at usage sites.
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.
We do this in the case where you don't provide a StackName explicitly (which is the common case). We explicitly set a StackName here so we can provide a little more context (fargate vs ec2) in the name itself. In this case, we have to do the randomness ourselves.
@@ -6,12 +6,14 @@ | |||
"scripts": { | |||
"build": "tsc" | |||
}, | |||
"dependencies": { | |||
"@pulumi/pulumi": "^0.12.0" |
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.
Should this be aws
?
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.
Yup. Good catch.
@@ -1,5 +0,0 @@ | |||
package pkg |
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.
👍 🔥
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.
Seems reasonable given my deeply superficial understanding of how this all works.
@ellismg Anything preventing us from merging this in now? |
Nope. |
Just opening this so I can get CI running on it and iterate.