-
Notifications
You must be signed in to change notification settings - Fork 9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Fixes to cloud benchmarks (no-changelog) (#10634)
- Loading branch information
Showing
19 changed files
with
272 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,16 @@ | ||
output "vm_name" { | ||
value = module.test_vm.vm_name | ||
} | ||
|
||
output "ip" { | ||
value = module.test_vm.ip | ||
} | ||
|
||
output "ssh_username" { | ||
value = module.test_vm.ssh_username | ||
} | ||
|
||
output "ssh_private_key" { | ||
value = tls_private_key.ssh_key.private_key_pem | ||
sensitive = true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
packages/@n8n/benchmark/scripts/n8nSetups/postgres/setup.mjs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/usr/bin/env zx | ||
|
||
import path from 'path'; | ||
import { fs } from 'zx'; | ||
|
||
/** | ||
* Creates the needed directories for the queue setup so their | ||
* permissions get set correctly. | ||
*/ | ||
export function setup({ runDir }) { | ||
const neededDirs = ['n8n', 'postgres']; | ||
|
||
for (const dir of neededDirs) { | ||
fs.ensureDirSync(path.join(runDir, dir)); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/usr/bin/env zx | ||
|
||
import path from 'path'; | ||
import { fs } from 'zx'; | ||
|
||
/** | ||
* Creates the needed directories for the queue setup so their | ||
* permissions get set correctly. | ||
*/ | ||
export function setup({ runDir }) { | ||
const neededDirs = ['n8n-worker1', 'n8n-worker2', 'n8n-main', 'postgres']; | ||
|
||
for (const dir of neededDirs) { | ||
fs.ensureDirSync(path.join(runDir, dir)); | ||
} | ||
} |
Oops, something went wrong.