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 tests on master #632

Merged
merged 1 commit into from
Nov 8, 2024
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 examples/server/ts/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const subnet = new hcloud.NetworkSubnet("subnet", {
});

new hcloud.Server("server", {
serverType: "cx11",
serverType: "cx22",
image: "ubuntu-22.04",
networks: [{ networkId: network.id.apply(Number) }],
}, {dependsOn: subnet});
2 changes: 1 addition & 1 deletion provider/test-programs/index_server/Pulumi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ resources:
properties:
image: ubuntu-20.04

serverType: cx11
serverType: cx22
sshKeys:
- ${ssh_key.id}
type: hcloud:index/server:Server
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
{"method":"/pulumirpc.ResourceProvider/Check","request":{"urn":"urn:pulumi:test::index_serveroT5wmFncT0ZX::hcloud:index/sshKey:SshKey::ssh_key","olds":{},"news":{"publicKey":"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIKhSIrB2yK9P45adO9DANus7gBWvXFBQULjoQUgopcd\n"},"randomSeed":"JW/kuoex9DodC+5boZBWZng0brEt1QVjOyuCAZ0PFoY="},"response":{"inputs":{"name":"ssh_key-7447ee6","publicKey":"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIKhSIrB2yK9P45adO9DANus7gBWvXFBQULjoQUgopcd\n"}}}
{"method":"/pulumirpc.ResourceProvider/Create","request":{"urn":"urn:pulumi:test::index_serveroT5wmFncT0ZX::hcloud:index/sshKey:SshKey::ssh_key","properties":{"name":"ssh_key-7447ee6","publicKey":"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIKhSIrB2yK9P45adO9DANus7gBWvXFBQULjoQUgopcd\n"}},"response":{"id":"21370197","properties":{"fingerprint":"bf:16:59:0c:cf:6c:e2:94:08:76:23:82:61:5a:bc:88","id":"21370197","labels":{},"name":"ssh_key-7447ee6","publicKey":"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIKhSIrB2yK9P45adO9DANus7gBWvXFBQULjoQUgopcd\n"}}}
{"method":"/pulumirpc.ResourceMonitor/RegisterResource","request":{"type":"hcloud:index/sshKey:SshKey","name":"ssh_key","parent":"urn:pulumi:test::index_serveroT5wmFncT0ZX::pulumi:pulumi:Stack::index_serveroT5wmFncT0ZX-test","custom":true,"object":{"publicKey":"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIKhSIrB2yK9P45adO9DANus7gBWvXFBQULjoQUgopcd\n"},"dependencies":["urn:pulumi:test::index_serveroT5wmFncT0ZX::tls:index/privateKey:PrivateKey::private_key"],"propertyDependencies":{"publicKey":{"urns":["urn:pulumi:test::index_serveroT5wmFncT0ZX::tls:index/privateKey:PrivateKey::private_key"]}},"acceptSecrets":true,"customTimeouts":{},"acceptResources":true,"sourcePosition":{"uri":"project://%2FUsers%2Frunner%2Fwork%2Fpulumi-yaml%2Fpulumi-yaml%2Fpkg%2Fpulumiyaml%2Frun.go","line":1374},"supportsResultReporting":true},"response":{"urn":"urn:pulumi:test::index_serveroT5wmFncT0ZX::hcloud:index/sshKey:SshKey::ssh_key","id":"21370197","object":{"fingerprint":"bf:16:59:0c:cf:6c:e2:94:08:76:23:82:61:5a:bc:88","id":"21370197","labels":{},"name":"ssh_key-7447ee6","publicKey":"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIKhSIrB2yK9P45adO9DANus7gBWvXFBQULjoQUgopcd\n"}}}
{"method":"/pulumirpc.ResourceProvider/Check","request":{"urn":"urn:pulumi:test::index_serveroT5wmFncT0ZX::hcloud:index/server:Server::server","olds":{},"news":{"image":"ubuntu-20.04","serverType":"cx11","sshKeys":["21370197"]},"randomSeed":"HWfOQoi+UwAL202/jlC8aQ8A5+L3UCS+N/WYalgcp3U="},"response":{"inputs":{"__defaults":["allowDeprecatedImages","backups","deleteProtection","ignoreRemoteFirewallIds","keepDisk","name","rebuildProtection","shutdownBeforeDeletion"],"allowDeprecatedImages":false,"backups":false,"deleteProtection":false,"ignoreRemoteFirewallIds":false,"image":"ubuntu-20.04","keepDisk":false,"name":"server-ad35256","rebuildProtection":false,"serverType":"cx11","shutdownBeforeDeletion":false,"sshKeys":["21370197"]}}}
{"method":"/pulumirpc.ResourceProvider/Create","request":{"urn":"urn:pulumi:test::index_serveroT5wmFncT0ZX::hcloud:index/server:Server::server","properties":{"__defaults":["allowDeprecatedImages","backups","deleteProtection","ignoreRemoteFirewallIds","keepDisk","name","rebuildProtection","shutdownBeforeDeletion"],"allowDeprecatedImages":false,"backups":false,"deleteProtection":false,"ignoreRemoteFirewallIds":false,"image":"ubuntu-20.04","keepDisk":false,"name":"server-ad35256","rebuildProtection":false,"serverType":"cx11","shutdownBeforeDeletion":false,"sshKeys":["21370197"]}},"response":{"id":"48730744","properties":{"__meta":"{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":5400000000000}}","allowDeprecatedImages":false,"backupWindow":"","backups":false,"datacenter":"hel1-dc2","deleteProtection":false,"firewallIds":[],"id":"48730744","ignoreRemoteFirewallIds":false,"image":"ubuntu-20.04","ipv4Address":"65.108.217.140","ipv6Address":"2a01:4f9:c012:eb93::1","ipv6Network":"2a01:4f9:c012:eb93::/64","keepDisk":false,"labels":{},"location":"hel1","name":"server-ad35256","placementGroupId":0,"primaryDiskSize":20,"rebuildProtection":false,"serverType":"cx11","shutdownBeforeDeletion":false,"sshKeys":["21370197"],"status":"running"}}}
{"method":"/pulumirpc.ResourceMonitor/RegisterResource","request":{"type":"hcloud:index/server:Server","name":"server","parent":"urn:pulumi:test::index_serveroT5wmFncT0ZX::pulumi:pulumi:Stack::index_serveroT5wmFncT0ZX-test","custom":true,"object":{"image":"ubuntu-20.04","serverType":"cx11","sshKeys":["21370197"]},"dependencies":["urn:pulumi:test::index_serveroT5wmFncT0ZX::hcloud:index/sshKey:SshKey::ssh_key"],"propertyDependencies":{"image":{},"serverType":{},"sshKeys":{"urns":["urn:pulumi:test::index_serveroT5wmFncT0ZX::hcloud:index/sshKey:SshKey::ssh_key"]}},"acceptSecrets":true,"customTimeouts":{},"acceptResources":true,"sourcePosition":{"uri":"project://%2FUsers%2Frunner%2Fwork%2Fpulumi-yaml%2Fpulumi-yaml%2Fpkg%2Fpulumiyaml%2Frun.go","line":1374},"supportsResultReporting":true},"response":{"urn":"urn:pulumi:test::index_serveroT5wmFncT0ZX::hcloud:index/server:Server::server","id":"48730744","object":{"__meta":"{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":5400000000000}}","allowDeprecatedImages":false,"backupWindow":"","backups":false,"datacenter":"hel1-dc2","deleteProtection":false,"firewallIds":[],"id":"48730744","ignoreRemoteFirewallIds":false,"image":"ubuntu-20.04","ipv4Address":"65.108.217.140","ipv6Address":"2a01:4f9:c012:eb93::1","ipv6Network":"2a01:4f9:c012:eb93::/64","keepDisk":false,"labels":{},"location":"hel1","name":"server-ad35256","placementGroupId":0,"primaryDiskSize":20,"rebuildProtection":false,"serverType":"cx11","shutdownBeforeDeletion":false,"sshKeys":["21370197"],"status":"running"}}}
{"method":"/pulumirpc.ResourceProvider/Check","request":{"urn":"urn:pulumi:test::index_serveroT5wmFncT0ZX::hcloud:index/server:Server::server","olds":{},"news":{"image":"ubuntu-20.04","serverType":"cx22","sshKeys":["21370197"]},"randomSeed":"HWfOQoi+UwAL202/jlC8aQ8A5+L3UCS+N/WYalgcp3U="},"response":{"inputs":{"__defaults":["allowDeprecatedImages","backups","deleteProtection","ignoreRemoteFirewallIds","keepDisk","name","rebuildProtection","shutdownBeforeDeletion"],"allowDeprecatedImages":false,"backups":false,"deleteProtection":false,"ignoreRemoteFirewallIds":false,"image":"ubuntu-20.04","keepDisk":false,"name":"server-ad35256","rebuildProtection":false,"serverType":"cx22","shutdownBeforeDeletion":false,"sshKeys":["21370197"]}}}
{"method":"/pulumirpc.ResourceProvider/Create","request":{"urn":"urn:pulumi:test::index_serveroT5wmFncT0ZX::hcloud:index/server:Server::server","properties":{"__defaults":["allowDeprecatedImages","backups","deleteProtection","ignoreRemoteFirewallIds","keepDisk","name","rebuildProtection","shutdownBeforeDeletion"],"allowDeprecatedImages":false,"backups":false,"deleteProtection":false,"ignoreRemoteFirewallIds":false,"image":"ubuntu-20.04","keepDisk":false,"name":"server-ad35256","rebuildProtection":false,"serverType":"cx22","shutdownBeforeDeletion":false,"sshKeys":["21370197"]}},"response":{"id":"48730744","properties":{"__meta":"{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":5400000000000}}","allowDeprecatedImages":false,"backupWindow":"","backups":false,"datacenter":"hel1-dc2","deleteProtection":false,"firewallIds":[],"id":"48730744","ignoreRemoteFirewallIds":false,"image":"ubuntu-20.04","ipv4Address":"65.108.217.140","ipv6Address":"2a01:4f9:c012:eb93::1","ipv6Network":"2a01:4f9:c012:eb93::/64","keepDisk":false,"labels":{},"location":"hel1","name":"server-ad35256","placementGroupId":0,"primaryDiskSize":20,"rebuildProtection":false,"serverType":"cx22","shutdownBeforeDeletion":false,"sshKeys":["21370197"],"status":"running"}}}
{"method":"/pulumirpc.ResourceMonitor/RegisterResource","request":{"type":"hcloud:index/server:Server","name":"server","parent":"urn:pulumi:test::index_serveroT5wmFncT0ZX::pulumi:pulumi:Stack::index_serveroT5wmFncT0ZX-test","custom":true,"object":{"image":"ubuntu-20.04","serverType":"cx22","sshKeys":["21370197"]},"dependencies":["urn:pulumi:test::index_serveroT5wmFncT0ZX::hcloud:index/sshKey:SshKey::ssh_key"],"propertyDependencies":{"image":{},"serverType":{},"sshKeys":{"urns":["urn:pulumi:test::index_serveroT5wmFncT0ZX::hcloud:index/sshKey:SshKey::ssh_key"]}},"acceptSecrets":true,"customTimeouts":{},"acceptResources":true,"sourcePosition":{"uri":"project://%2FUsers%2Frunner%2Fwork%2Fpulumi-yaml%2Fpulumi-yaml%2Fpkg%2Fpulumiyaml%2Frun.go","line":1374},"supportsResultReporting":true},"response":{"urn":"urn:pulumi:test::index_serveroT5wmFncT0ZX::hcloud:index/server:Server::server","id":"48730744","object":{"__meta":"{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":5400000000000}}","allowDeprecatedImages":false,"backupWindow":"","backups":false,"datacenter":"hel1-dc2","deleteProtection":false,"firewallIds":[],"id":"48730744","ignoreRemoteFirewallIds":false,"image":"ubuntu-20.04","ipv4Address":"65.108.217.140","ipv6Address":"2a01:4f9:c012:eb93::1","ipv6Network":"2a01:4f9:c012:eb93::/64","keepDisk":false,"labels":{},"location":"hel1","name":"server-ad35256","placementGroupId":0,"primaryDiskSize":20,"rebuildProtection":false,"serverType":"cx22","shutdownBeforeDeletion":false,"sshKeys":["21370197"],"status":"running"}}}
{"method":"/pulumirpc.ResourceMonitor/RegisterResourceOutputs","request":{"urn":"urn:pulumi:test::index_serveroT5wmFncT0ZX::pulumi:pulumi:Stack::index_serveroT5wmFncT0ZX-test","outputs":{"server_ip":"65.108.217.140"}},"response":{}}
{"method":"/pulumirpc.LanguageRuntime/Run","request":{"project":"index_serveroT5wmFncT0ZX","stack":"test","pwd":"/private/var/folders/82/nqnqw81s1h56l5nv940f9mq00000gn/T/TestProgramsUpgradetest-programsindex_server2763876728/007/index_server","program":".","config":{"pulumi:tags":"{\"pulumi:template\":\"https://www.pulumi.com/ai/api/project/1496c4f3-0aa3-4da6-9d00-c8759e30e614.zip\"}"},"parallel":48,"monitorAddress":"127.0.0.1:55108","organization":"organization","configPropertyMap":{"pulumi:tags":{"pulumi:template":"https://www.pulumi.com/ai/api/project/1496c4f3-0aa3-4da6-9d00-c8759e30e614.zip"}},"info":{"rootDirectory":"/private/var/folders/82/nqnqw81s1h56l5nv940f9mq00000gn/T/TestProgramsUpgradetest-programsindex_server2763876728/007/index_server","programDirectory":"/private/var/folders/82/nqnqw81s1h56l5nv940f9mq00000gn/T/TestProgramsUpgradetest-programsindex_server2763876728/007/index_server","entryPoint":".","options":{}}},"response":{}}
{"method":"/pulumirpc.LanguageRuntime/Run","request":{"project":"index_serveroT5wmFncT0ZX","stack":"test","pwd":"/private/var/folders/82/nqnqw81s1h56l5nv940f9mq00000gn/T/TestProgramsUpgradetest-programsindex_server2763876728/007/index_server","program":".","config":{"pulumi:tags":"{\"pulumi:template\":\"https://www.pulumi.com/ai/api/project/1496c4f3-0aa3-4da6-9d00-c8759e30e614.zip\"}"},"parallel":48,"monitorAddress":"127.0.0.1:55108","organization":"organization","configPropertyMap":{"pulumi:tags":{"pulumi:template":"https://www.pulumi.com/ai/api/project/1496c4f3-0aa3-4da6-9d00-c8759e30e614.zip"}},"info":{"rootDirectory":"/private/var/folders/82/nqnqw81s1h56l5nv940f9mq00000gn/T/TestProgramsUpgradetest-programsindex_server2763876728/007/index_server","programDirectory":"/private/var/folders/82/nqnqw81s1h56l5nv940f9mq00000gn/T/TestProgramsUpgradetest-programsindex_server2763876728/007/index_server","entryPoint":".","options":{}}},"response":{}}
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
"keepDisk": false,
"name": "server-ad35256",
"rebuildProtection": false,
"serverType": "cx11",
"serverType": "cx22",
"shutdownBeforeDeletion": false,
"sshKeys": [
"21370197"
Expand All @@ -163,7 +163,7 @@
"placementGroupId": 0,
"primaryDiskSize": 20,
"rebuildProtection": false,
"serverType": "cx11",
"serverType": "cx22",
"shutdownBeforeDeletion": false,
"sshKeys": [
"21370197"
Expand All @@ -187,4 +187,4 @@
}
]
}
}
}
Loading