feat(digitalocean): add droplet provisioning support

This commit is contained in:
Andras Bacsai committed 2026-07-08 10:42:58 +02:00
1 parent 5936874ffd
commit c303c34cfd
32 files changed
+2796 -19

No files matched your search

@@ -84,6 +84,8 @@ it('creates Server with all fillable attributes', function () {
'team_id' => $this->team->id,
'hetzner_server_id' => 'htz-12345',
'hetzner_server_status' => 'running',
'digitalocean_droplet_id' => 987654,
'digitalocean_droplet_status' => 'active',
'is_validating' => false,
'detected_traefik_version' => 'v2.10.0',
'traefik_outdated_info' => 'Up to date',
@@ -101,6 +103,8 @@ it('creates Server with all fillable attributes', function () {
expect($server->cloud_provider_token_id)->toBe($cloudToken->id);
expect($server->hetzner_server_id)->toBe('htz-12345');
expect($server->hetzner_server_status)->toBe('running');
expect($server->digitalocean_droplet_id)->toBe(987654);
expect($server->digitalocean_droplet_status)->toBe('active');
expect($server->ip_previous)->toBe('10.0.0.1');
});