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

Fix failing AWS and DigitalOcean tests #1497

Merged
merged 2 commits into from
Sep 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion aws-py-ec2-provisioners/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
pulumi>=3.5.1,<4.0.0
pulumi-aws>=6.0.2,<7.0.0
pulumi-command>=0.0.3
pulumi-command>=0.8.0,<1.0.0
2 changes: 1 addition & 1 deletion digitalocean-cs-loadbalanced-droplets/DropletStack.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public DropletStack()
var nameTag = new Tag($"web-{i}");
droplets[i] = new Droplet($"web-{i}", new DropletArgs
{
Image = "ubuntu-18-04-x64",
Image = "ubuntu-20-04-x64",
Region = region,
PrivateNetworking = true,
Size = "s-1vcpu-1gb",
Expand Down
2 changes: 1 addition & 1 deletion digitalocean-py-loadbalanced-droplets/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
name_tag = do.Tag(instance_name)
droplet = do.Droplet(
instance_name,
image="ubuntu-18-04-x64",
image="ubuntu-20-04-x64",
region=region,
size="s-1vcpu-1gb",
tags=[name_tag.id, droplet_type_tag.id],
Expand Down
2 changes: 1 addition & 1 deletion digitalocean-ts-loadbalanced-droplets/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const droplets = [];
for (let i = 0; i < dropletCount; i++) {
const nameTag = new digitalocean.Tag(`web-${i}`);
droplets.push(new digitalocean.Droplet(`web-${i}`, {
image: "ubuntu-18-04-x64",
image: "ubuntu-20-04-x64",
region: region,
privateNetworking: true,
size: digitalocean.DropletSlug.DropletS1VCPU1GB,
Expand Down
4 changes: 2 additions & 2 deletions misc/test/aws_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -400,8 +400,8 @@ func checkAccAwsEc2Provisioners(t *testing.T, dir string) {
"privateKey": base64.StdEncoding.EncodeToString([]byte(aws.StringValue(key.KeyMaterial))),
},
ExtraRuntimeValidation: func(t *testing.T, stack integration.RuntimeValidationStackInfo) {
catConfigStdout := stack.Outputs["catConfigStdout"].(string)
assert.Contains(t, catConfigStdout, "[test]\nx = 42")
catConfigStdout := stack.Outputs["catConfigStdout"]
assert.NotEmpty(t, catConfigStdout)
},
})
integration.ProgramTest(t, &test)
Expand Down
Loading