diff --git a/packages/grid_client/scripts/caprover_leader.ts b/packages/grid_client/scripts/orchestrators/caprover_leader.ts similarity index 94% rename from packages/grid_client/scripts/caprover_leader.ts rename to packages/grid_client/scripts/orchestrators/caprover_leader.ts index 1456b365ce..c9b6298e78 100644 --- a/packages/grid_client/scripts/caprover_leader.ts +++ b/packages/grid_client/scripts/orchestrators/caprover_leader.ts @@ -1,6 +1,6 @@ -import { FilterOptions, MachinesModel } from "../src"; -import { config, getClient } from "./client_loader"; -import { log } from "./utils"; +import { FilterOptions, MachinesModel } from "../../src"; +import { config, getClient } from "../client_loader"; +import { log } from "../utils"; async function deploy(client, vms) { const res = await client.machines.deploy(vms); diff --git a/packages/grid_client/scripts/caprover_worker.ts b/packages/grid_client/scripts/orchestrators/caprover_worker.ts similarity index 93% rename from packages/grid_client/scripts/caprover_worker.ts rename to packages/grid_client/scripts/orchestrators/caprover_worker.ts index 23b53149ca..585f78699d 100644 --- a/packages/grid_client/scripts/caprover_worker.ts +++ b/packages/grid_client/scripts/orchestrators/caprover_worker.ts @@ -1,6 +1,6 @@ -import { FilterOptions, MachinesModel } from "../src"; -import { config, getClient } from "./client_loader"; -import { log } from "./utils"; +import { FilterOptions, MachinesModel } from "../../src"; +import { config, getClient } from "../client_loader"; +import { log } from "../utils"; async function deploy(client, vms) { const res = await client.machines.deploy(vms); diff --git a/packages/grid_client/scripts/kubernetes.ts b/packages/grid_client/scripts/orchestrators/kubernetes_leader.ts similarity index 94% rename from packages/grid_client/scripts/kubernetes.ts rename to packages/grid_client/scripts/orchestrators/kubernetes_leader.ts index b3963fbf6f..7960ee5176 100644 --- a/packages/grid_client/scripts/kubernetes.ts +++ b/packages/grid_client/scripts/orchestrators/kubernetes_leader.ts @@ -1,6 +1,6 @@ -import { FilterOptions, K8SModel } from "../src"; -import { config, getClient } from "./client_loader"; -import { log } from "./utils"; +import { FilterOptions, K8SModel } from "../../src"; +import { config, getClient } from "../client_loader"; +import { log } from "../utils"; async function deploy(client, k8s) { const res = await client.k8s.deploy(k8s); diff --git a/packages/grid_client/scripts/kubernetes_mycelium.ts b/packages/grid_client/scripts/orchestrators/kubernetes_mycelium.ts similarity index 95% rename from packages/grid_client/scripts/kubernetes_mycelium.ts rename to packages/grid_client/scripts/orchestrators/kubernetes_mycelium.ts index e927979964..d8305cda18 100644 --- a/packages/grid_client/scripts/kubernetes_mycelium.ts +++ b/packages/grid_client/scripts/orchestrators/kubernetes_mycelium.ts @@ -1,6 +1,6 @@ -import { FilterOptions, K8SModel } from "../src"; -import { config, getClient } from "./client_loader"; -import { log } from "./utils"; +import { FilterOptions, K8SModel } from "../../src"; +import { config, getClient } from "../client_loader"; +import { log } from "../utils"; async function deploy(client, k8s) { const res = await client.k8s.deploy(k8s); diff --git a/packages/grid_client/scripts/kubernetes_with_qsfs.ts b/packages/grid_client/scripts/orchestrators/kubernetes_with_qsfs.ts similarity index 96% rename from packages/grid_client/scripts/kubernetes_with_qsfs.ts rename to packages/grid_client/scripts/orchestrators/kubernetes_with_qsfs.ts index e55b24ce4d..b3122d542e 100644 --- a/packages/grid_client/scripts/kubernetes_with_qsfs.ts +++ b/packages/grid_client/scripts/orchestrators/kubernetes_with_qsfs.ts @@ -1,6 +1,6 @@ -import { FilterOptions, K8SModel, QSFSZDBSModel } from "../src"; -import { config, getClient } from "./client_loader"; -import { log } from "./utils"; +import { FilterOptions, K8SModel, QSFSZDBSModel } from "../../src"; +import { config, getClient } from "../client_loader"; +import { log } from "../utils"; async function deployQsfs(client, qsfs) { const res = await client.qsfs_zdbs.deploy(qsfs); diff --git a/packages/grid_client/scripts/add_worker.ts b/packages/grid_client/scripts/orchestrators/kubernetes_worker.ts similarity index 92% rename from packages/grid_client/scripts/add_worker.ts rename to packages/grid_client/scripts/orchestrators/kubernetes_worker.ts index 4eaaac06c2..aaf027099c 100644 --- a/packages/grid_client/scripts/add_worker.ts +++ b/packages/grid_client/scripts/orchestrators/kubernetes_worker.ts @@ -1,6 +1,6 @@ -import { AddWorkerModel, FilterOptions } from "../src"; -import { getClient } from "./client_loader"; -import { log } from "./utils"; +import { AddWorkerModel, FilterOptions } from "../../src"; +import { getClient } from "../client_loader"; +import { log } from "../utils"; // Please run kubernetes script first before running this one to create the cluster.