Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

update all BASE_PATH for macro-api infra

Hutch877da2199ed1
diff --git a/infra/stacks/authentication-service/service.ts b/infra/stacks/authentication-service/service.ts
index 0cf02256b9..922ca89ba7 100644
--- a/infra/stacks/authentication-service/service.ts
+++ b/infra/stacks/authentication-service/service.ts
@@ -11,7 +11,7 @@ import { EcrImage } from '@service';
import { BASE_DOMAIN, CLOUD_TRAIL_SNS_TOPIC_ARN, stack } from '@shared';
const BASE_NAME = 'authentication-service';
-const BASE_PATH = '../../../';
+const BASE_PATH = '../../../../rust/cloud-storage';
export const SERVICE_DOMAIN_NAME = `auth-service${
stack === 'prod' ? '' : `-${stack}`
diff --git a/infra/stacks/cloud-storage-service/cloud-storage-service.ts b/infra/stacks/cloud-storage-service/cloud-storage-service.ts
index f45b2ebfe2..b5a69f64ea 100644
--- a/infra/stacks/cloud-storage-service/cloud-storage-service.ts
+++ b/infra/stacks/cloud-storage-service/cloud-storage-service.ts
@@ -20,7 +20,7 @@ import {
} from './datadog';
const BASE_NAME = 'cloud-storage-service';
-const BASE_PATH = '../../../';
+const BASE_PATH = '../../../../rust/cloud-storage';
type CreateCloudStorageServiceServiceArgs = {
cloudStorageClusterName: pulumi.Output<string> | string;
diff --git a/infra/stacks/comms-service/comms-service.ts b/infra/stacks/comms-service/comms-service.ts
index c6ddc3c207..1947e60a05 100644
--- a/infra/stacks/comms-service/comms-service.ts
+++ b/infra/stacks/comms-service/comms-service.ts
@@ -11,7 +11,7 @@ import {
} from './datadog';
const BASE_NAME = 'comms-service';
-const BASE_PATH = '../../../';
+const BASE_PATH = '../../../../rust/cloud-storage';
export const SERVICE_DOMAIN_NAME = `comms-service${
stack === 'prod' ? '' : `-${stack}`
diff --git a/infra/stacks/connection-gateway/connection_gateway.ts b/infra/stacks/connection-gateway/connection_gateway.ts
index 4b0dbcbfe2..37dcb2d2a9 100644
--- a/infra/stacks/connection-gateway/connection_gateway.ts
+++ b/infra/stacks/connection-gateway/connection_gateway.ts
@@ -11,7 +11,7 @@ import {
} from './datadog';
const BASE_NAME = 'connection-gateway';
-const BASE_PATH = '../../../';
+const BASE_PATH = '../../../../rust/cloud-storage';
export const SERVICE_DOMAIN_NAME = `connection-gateway${
stack === 'prod' ? '' : `-${stack}`
diff --git a/infra/stacks/contacts-service/service.ts b/infra/stacks/contacts-service/service.ts
index 3052b5abe7..c37ee8f7cd 100644
--- a/infra/stacks/contacts-service/service.ts
+++ b/infra/stacks/contacts-service/service.ts
@@ -11,7 +11,7 @@ import {
} from './datadog';
const BASE_NAME = 'contacts-service';
-const BASE_PATH = '../../../';
+const BASE_PATH = '../../../../rust/cloud-storage';
export const SERVICE_DOMAIN_NAME = `contacts${
stack === 'prod' ? '' : `-${stack}`
}.${BASE_DOMAIN}`;
diff --git a/infra/stacks/convert-service/service.ts b/infra/stacks/convert-service/service.ts
index c97eb0f21f..191052792d 100644
--- a/infra/stacks/convert-service/service.ts
+++ b/infra/stacks/convert-service/service.ts
@@ -11,7 +11,7 @@ import {
} from './datadog';
const BASE_NAME = 'convert-service';
-const BASE_PATH = '../../../';
+const BASE_PATH = '../../../../rust/cloud-storage';
export const SERVICE_DOMAIN_NAME = `convert-service${
stack === 'prod' ? '' : `-${stack}`
}.${BASE_DOMAIN}`;
diff --git a/infra/stacks/delete-document-worker/worker.ts b/infra/stacks/delete-document-worker/worker.ts
index 5abac355d1..bacfdf9813 100644
--- a/infra/stacks/delete-document-worker/worker.ts
+++ b/infra/stacks/delete-document-worker/worker.ts
@@ -11,7 +11,7 @@ import { EcrImage } from '@service';
import { BASE_DOMAIN, CLOUD_TRAIL_SNS_TOPIC_ARN, stack } from '@shared';
const BASE_NAME = 'delete-document-worker';
-const BASE_PATH = '../../../';
+const BASE_PATH = '../../../../rust/cloud-storage';
export const SERVICE_DOMAIN_NAME = `delete-document-worker${
stack === 'prod' ? '' : `-${stack}`
diff --git a/infra/stacks/document-cognition-service/document-cognition-service.ts b/infra/stacks/document-cognition-service/document-cognition-service.ts
index 93e0a947fe..720c3a8994 100644
--- a/infra/stacks/document-cognition-service/document-cognition-service.ts
+++ b/infra/stacks/document-cognition-service/document-cognition-service.ts
@@ -12,7 +12,7 @@ import { EcrImage } from '@service';
import { BASE_DOMAIN, CLOUD_TRAIL_SNS_TOPIC_ARN, stack } from '@shared';
const BASE_NAME = 'document-cognition';
-const BASE_PATH = '../../../';
+const BASE_PATH = '../../../../rust/cloud-storage';
export const SERVICE_DOMAIN_NAME = `document-cognition${
stack === 'prod' ? '' : `-${stack}`
diff --git a/infra/stacks/email-service/service.ts b/infra/stacks/email-service/service.ts
index aee2515a7c..24197e4d30 100644
--- a/infra/stacks/email-service/service.ts
+++ b/infra/stacks/email-service/service.ts
@@ -15,7 +15,7 @@ import { EmailAttachmentsBucket } from '@stacks/email-service/attachments-bucket
import { getCloudfrontDistribution } from '@stacks/email-service/s3-cloudfront-distribution';
const BASE_NAME = 'email-service';
-const BASE_PATH = '../../../';
+const BASE_PATH = '../../../../rust/cloud-storage';
export const SERVICE_DOMAIN_NAME = `email-service${
stack === 'prod' ? '' : `-${stack}`
diff --git a/infra/stacks/experiment-service/service.ts b/infra/stacks/experiment-service/service.ts
index 41063aa205..5133892fb5 100644
--- a/infra/stacks/experiment-service/service.ts
+++ b/infra/stacks/experiment-service/service.ts
@@ -11,7 +11,7 @@ import {
} from './datadog';
const BASE_NAME = 'experiment-service';
-const BASE_PATH = '../../../';
+const BASE_PATH = '../../../../rust/cloud-storage';
export const SERVICE_DOMAIN_NAME = `experiments-service${
stack === 'prod' ? '' : `-${stack}`
}.${BASE_DOMAIN}`;
diff --git a/infra/stacks/metering-service/service.ts b/infra/stacks/metering-service/service.ts
index b4ca50022b..a5a372139a 100644
--- a/infra/stacks/metering-service/service.ts
+++ b/infra/stacks/metering-service/service.ts
@@ -21,7 +21,7 @@ const KEBAB_BASE_NAME = toKebabCase(PROJECT, 'service');
// directory name of service
const SNAKE_BASE_NAME = toSnakeCase(PROJECT, 'service');
const SERVICE_DIR_NAME = SNAKE_BASE_NAME;
-const BASE_PATH = '../../../';
+const BASE_PATH = '../../../../rust/cloud-storage';
export const SERVICE_DOMAIN_NAME = `${PROJECT}${stack === 'prod' ? '' : `-${stack}`}.${BASE_DOMAIN}`;
diff --git a/infra/stacks/notification-email-poller/notification-email-poller.ts b/infra/stacks/notification-email-poller/notification-email-poller.ts
index 0e5606d514..ff5177daeb 100644
--- a/infra/stacks/notification-email-poller/notification-email-poller.ts
+++ b/infra/stacks/notification-email-poller/notification-email-poller.ts
@@ -13,7 +13,7 @@ import { awsRegion, stack } from '@shared';
const BASE_NAME = `notification-email-poller-worker`;
const WORKER_NAME = `${BASE_NAME}-${stack}`;
-const BASE_PATH = '../../../';
+const BASE_PATH = '../../../../rust/cloud-storage';
type WorkerArgs = {
containerEnvVars: { name: string; value: Output<string> | string }[];
diff --git a/infra/stacks/notification-service/service.ts b/infra/stacks/notification-service/service.ts
index ee40a07e26..9aa323ff83 100644
--- a/infra/stacks/notification-service/service.ts
+++ b/infra/stacks/notification-service/service.ts
@@ -11,7 +11,7 @@ import {
} from './datadog';
const BASE_NAME = 'notification-service';
-const BASE_PATH = '../../../';
+const BASE_PATH = '../../../../rust/cloud-storage';
export const SERVICE_DOMAIN_NAME = `notifications${
stack === 'prod' ? '' : `-${stack}`
diff --git a/infra/stacks/organization-service/organization-service.ts b/infra/stacks/organization-service/organization-service.ts
index cae442dae9..603bec7a98 100644
--- a/infra/stacks/organization-service/organization-service.ts
+++ b/infra/stacks/organization-service/organization-service.ts
@@ -16,7 +16,7 @@ import {
} from './datadog';
const BASE_NAME = 'organization-service';
-const BASE_PATH = '../../../';
+const BASE_PATH = '../../../../rust/cloud-storage';
export const SERVICE_DOMAIN_NAME = `organization-service${
stack === 'prod' ? '' : `-${stack}`
diff --git a/infra/stacks/properties-service/properties-service.ts b/infra/stacks/properties-service/properties-service.ts
index f65d38ccad..e402221b67 100644
--- a/infra/stacks/properties-service/properties-service.ts
+++ b/infra/stacks/properties-service/properties-service.ts
@@ -11,7 +11,7 @@ import { EcrImage } from '@service';
import { BASE_DOMAIN, CLOUD_TRAIL_SNS_TOPIC_ARN, stack } from '@shared';
const BASE_NAME = 'properties-service';
-const BASE_PATH = '../../../';
+const BASE_PATH = '../../../../rust/cloud-storage';
export const SERVICE_DOMAIN_NAME = `properties-service${
stack === 'prod' ? '' : `-${stack}`
diff --git a/infra/stacks/search-processing-service/service.ts b/infra/stacks/search-processing-service/service.ts
index d23010ae92..685ee65dca 100644
--- a/infra/stacks/search-processing-service/service.ts
+++ b/infra/stacks/search-processing-service/service.ts
@@ -11,7 +11,7 @@ import {
} from './datadog';
const BASE_NAME = 'search-processing';
-const BASE_PATH = '../../../';
+const BASE_PATH = '../../../../rust/cloud-storage';
export const SERVICE_DOMAIN_NAME = `search-processing${
stack === 'prod' ? '' : `-${stack}`
diff --git a/infra/stacks/search-service/service.ts b/infra/stacks/search-service/service.ts
index 11e6c8ca49..74a80cbba0 100644
--- a/infra/stacks/search-service/service.ts
+++ b/infra/stacks/search-service/service.ts
@@ -11,7 +11,7 @@ import {
} from './datadog';
const BASE_NAME = 'search-service';
-const BASE_PATH = '../../../';
+const BASE_PATH = '../../../../rust/cloud-storage';
export const SERVICE_DOMAIN_NAME = `search-service${
stack === 'prod' ? '' : `-${stack}`
diff --git a/infra/stacks/sha-cleanup/sha-cleanup-worker.ts b/infra/stacks/sha-cleanup/sha-cleanup-worker.ts
index f914a0887c..fe695505ed 100644
--- a/infra/stacks/sha-cleanup/sha-cleanup-worker.ts
+++ b/infra/stacks/sha-cleanup/sha-cleanup-worker.ts
@@ -6,7 +6,7 @@ import { stack } from '@shared';
const BASE_NAME = `sha-cleaner-worker`;
const WORKER_NAME = `${BASE_NAME}-${stack}`;
-const BASE_PATH = '../../../';
+const BASE_PATH = '../../../../rust/cloud-storage';
type CreateShaCleanupWorkerArgs = {
containerEnvVars?: { name: string; value: Output<string> | string }[];
diff --git a/infra/stacks/sha-ref-count-resetter/sha-ref-count-resetter-worker.ts b/infra/stacks/sha-ref-count-resetter/sha-ref-count-resetter-worker.ts
index 26235fb5ea..3d23ab7874 100644
--- a/infra/stacks/sha-ref-count-resetter/sha-ref-count-resetter-worker.ts
+++ b/infra/stacks/sha-ref-count-resetter/sha-ref-count-resetter-worker.ts
@@ -6,7 +6,7 @@ import { stack } from '@shared';
const BASE_NAME = `sha-ref-count-resetter-worker`;
const WORKER_NAME = `${BASE_NAME}-${stack}`;
-const BASE_PATH = '../../../';
+const BASE_PATH = '../../../../rust/cloud-storage';
type CreateShaRefCountResetterWorkerArgs = {
containerEnvVars?: { name: string; value: Output<string> | string }[];
diff --git a/infra/stacks/unfurl-service/unfurl-service.ts b/infra/stacks/unfurl-service/unfurl-service.ts
index cd6ae33523..964157cfff 100644
--- a/infra/stacks/unfurl-service/unfurl-service.ts
+++ b/infra/stacks/unfurl-service/unfurl-service.ts
@@ -11,7 +11,7 @@ import {
} from './datadog';
const BASE_NAME = 'unfurl-service';
-const BASE_PATH = '../../../';
+const BASE_PATH = '../../../../rust/cloud-storage';
export const SERVICE_DOMAIN_NAME = `unfurl-service${
stack === 'prod' ? '' : `-${stack}`