From 85ff7531ca916d02ac9c1c16f199a7688842bb57 Mon Sep 17 00:00:00 2001 From: Maxime Beauchamp <15185355+baktun14@users.noreply.github.com> Date: Fri, 13 Sep 2024 12:09:24 -0400 Subject: [PATCH] chore: rename cloudmos/akashlytics to console --- apps/api/deploy.yml | 4 ++-- apps/api/env/.env | 2 +- apps/api/env/.env.production | 8 ++++---- apps/api/env/.env.sample | 4 ++-- apps/api/env/.env.staging | 6 +++--- apps/api/src/utils/env.ts | 2 +- apps/api/test/mocks/hello-world-sdl.yml | 2 +- apps/deploy-web/deploy.yml | 2 +- apps/deploy-web/env/.env | 2 +- apps/deploy-web/env/.env.production | 12 ++++++------ apps/deploy-web/env/.env.staging | 8 ++++---- .../src/components/get-started/GetStartedStepper.tsx | 2 +- apps/deploy-web/src/utils/templates.ts | 2 +- apps/indexer/UPGRADE.md | 2 +- .../src/components/layout/Sidebar.tsx | 2 +- apps/provider-console/src/utils/constants.ts | 2 +- apps/provider-proxy/server.ts | 1 - 17 files changed, 31 insertions(+), 32 deletions(-) diff --git a/apps/api/deploy.yml b/apps/api/deploy.yml index e5bb66502..2889675ea 100644 --- a/apps/api/deploy.yml +++ b/apps/api/deploy.yml @@ -6,7 +6,7 @@ services: image: : depends-on: cloud-sql-proxy env: - - AkashlyticsGithubPAT= + - ConsoleGithubPAT= - AkashSandboxDatabaseCS= - UserDatabaseCS= - SecretToken= @@ -23,7 +23,7 @@ services: - port: 3080 as: 80 accept: - - api-sandbox-staging.cloudmos.io + - console-api-sandbox-staging.akash.network to: - global: true cloud-sql-proxy: diff --git a/apps/api/env/.env b/apps/api/env/.env index 6a1f3ca6c..ebac2f0d7 100644 --- a/apps/api/env/.env +++ b/apps/api/env/.env @@ -1,4 +1,4 @@ -AKASHLYTICS_CORS_WEBSITE_URLS=https://cloudmos.io,https://www.cloudmos.io,http://debug.cloudmos.io,https://deploy.cloudmos.io,https://beta.cloudmos.io,https://stats.akash.network,https://console.akash.network,https://akash.network,https://akash.hooman.digital,http://localhost:3000,http://localhost:3001,https://beta2.cloudmos.io,https://beta3.cloudmos.io,https://akashconsole.vercel.app,https://console-beta.akash.network +CONSOLE_CORS_WEBSITE_URLS=https://stats.akash.network,https://console.akash.network,https://akash.network,https://akash.hooman.digital,http://localhost:3000,http://localhost:3001,https://akashconsole.vercel.app,https://console-beta.akash.network WEBSITE_URL=https://console-beta.akash.network TRIAL_DEPLOYMENT_ALLOWANCE_AMOUNT=10000000 DEPLOYMENT_ALLOWANCE_REFILL_AMOUNT=10000000 diff --git a/apps/api/env/.env.production b/apps/api/env/.env.production index 50846f66a..7c833797c 100644 --- a/apps/api/env/.env.production +++ b/apps/api/env/.env.production @@ -1,8 +1,8 @@ -AUTH0_JWKS_URI=https://cloudmos-prod.us.auth0.com/.well-known/jwks.json -AUTH0_AUDIENCE=https://api.cloudmos.io -AUTH0_ISSUER=https://auth.cloudmos.io/ +AUTH0_JWKS_URI=https://console-prod.us.auth0.com/.well-known/jwks.json +AUTH0_AUDIENCE=https://console-api.akash.network +AUTH0_ISSUER=https://console-auth.akash.network/ PORT=80 -SERVER_ORIGIN=https://api.cloudmos.io +SERVER_ORIGIN=https://console-api.akash.network DRIZZLE_MIGRATIONS_FOLDER=./dist/drizzle SENTRY_ENABLED=true BILLING_ENABLED=false diff --git a/apps/api/env/.env.sample b/apps/api/env/.env.sample index 879a0139c..8bda4d7fc 100644 --- a/apps/api/env/.env.sample +++ b/apps/api/env/.env.sample @@ -1,6 +1,6 @@ # Secrets AKASH_DATABASE_CS= -AKASHLYTICS_GITHUB_PAT= +CONSOLE_GITHUB_PAT= ANONYMOUS_USER_TOKEN_SECRET= HealthChecks_SyncAKTMarketData= MASTER_WALLET_MNEMONIC= @@ -12,7 +12,7 @@ STRIPE_PRICE_ID= USER_DATABASE_CS= # Configuration -AKASHLYTICS_CORS_WEBSITE_URLS= +CONSOLE_CORS_WEBSITE_URLS= AUTH0_AUDIENCE= AUTH0_ISSUER= AUTH0_JWKS_URI= diff --git a/apps/api/env/.env.staging b/apps/api/env/.env.staging index de43a1679..5c43b13e2 100644 --- a/apps/api/env/.env.staging +++ b/apps/api/env/.env.staging @@ -1,10 +1,10 @@ -SERVER_ORIGIN=https://api-sandbox.cloudmos.io +SERVER_ORIGIN=https://console-api-sandbox.akash.network DRIZZLE_MIGRATIONS_FOLDER=./dist/drizzle AUTH0_JWKS_URI=https://dev-5aprb0lr.us.auth0.com/.well-known/jwks.json -AUTH0_AUDIENCE=https://api.cloudmos.io +AUTH0_AUDIENCE=https://console-api.akash.network AUTH0_ISSUER=https://dev-5aprb0lr.us.auth0.com/ SENTRY_TRACES_RATE=1.0 SENTRY_ENABLED=true BILLING_ENABLED=true STRIPE_PRICE_ID=price_1Ps0Y0Csz6Fy2xVWVy8GMTA9 -STRIPE_CHECKOUT_REDIRECT_URL=https://beta.cloudmos.io \ No newline at end of file +STRIPE_CHECKOUT_REDIRECT_URL=https://console-beta.akash.network \ No newline at end of file diff --git a/apps/api/src/utils/env.ts b/apps/api/src/utils/env.ts index 7a1b2bd5f..1e8af2433 100644 --- a/apps/api/src/utils/env.ts +++ b/apps/api/src/utils/env.ts @@ -2,7 +2,7 @@ import { z } from "zod"; export const env = z .object({ - AKASHLYTICS_CORS_WEBSITE_URLS: z.string().optional(), + CONSOLE_CORS_WEBSITE_URLS: z.string().optional(), NODE_ENV: z.string().optional(), HEALTHCHECKS_ENABLED: z.string().optional(), AKASH_DATABASE_CS: z.string().optional(), diff --git a/apps/api/test/mocks/hello-world-sdl.yml b/apps/api/test/mocks/hello-world-sdl.yml index f96c89d6e..efd2fddc1 100644 --- a/apps/api/test/mocks/hello-world-sdl.yml +++ b/apps/api/test/mocks/hello-world-sdl.yml @@ -2,7 +2,7 @@ version: "2.0" services: web: - image: akashlytics/hello-akash-world:0.2.0 + image: baktun/hello-akash-world:1.0.0 expose: - port: 3000 as: 80 diff --git a/apps/deploy-web/deploy.yml b/apps/deploy-web/deploy.yml index f4a411f4c..7a0b13145 100644 --- a/apps/deploy-web/deploy.yml +++ b/apps/deploy-web/deploy.yml @@ -24,7 +24,7 @@ services: - port: 3040 as: 80 accept: - - providerproxy.console.akash.network + - provider-proxy.console.akash.network to: - global: true profiles: diff --git a/apps/deploy-web/env/.env b/apps/deploy-web/env/.env index 1e1b78ccd..d8c5f44f4 100644 --- a/apps/deploy-web/env/.env +++ b/apps/deploy-web/env/.env @@ -1,2 +1,2 @@ -AUTH0_AUDIENCE=https://api.cloudmos.io +AUTH0_AUDIENCE=https://console.akash.network AUTH0_SCOPE=openid profile email offline_access \ No newline at end of file diff --git a/apps/deploy-web/env/.env.production b/apps/deploy-web/env/.env.production index 7bd1d969e..de3eb85d8 100644 --- a/apps/deploy-web/env/.env.production +++ b/apps/deploy-web/env/.env.production @@ -1,5 +1,5 @@ AUTH0_BASE_URL=https://console.akash.network -AUTH0_ISSUER_BASE_URL=https://auth.cloudmos.io +AUTH0_ISSUER_BASE_URL=https://console-auth.akash.network NEXT_PUBLIC_DEFAULT_NETWORK_ID=mainnet NEXT_PUBLIC_BILLING_ENABLED=false @@ -9,12 +9,12 @@ NEXT_PUBLIC_MANAGED_WALLET_DENOM=usdc NEXT_PUBLIC_MASTER_WALLET_ADDRESS=akash1ss0d2yw38r6e7ew8ndye9h7kg62sem36zak4d5 NEXT_PUBLIC_STATS_APP_URL=https://stats.akash.network -NEXT_PUBLIC_PROVIDER_PROXY_URL=https://providerproxy.cloudmos.io -NEXT_PUBLIC_PROVIDER_PROXY_URL_WS=wss://providerproxy.cloudmos.io +NEXT_PUBLIC_PROVIDER_PROXY_URL=https://provider-proxy.akash.network +NEXT_PUBLIC_PROVIDER_PROXY_URL_WS=wss://provider-proxy.akash.network NEXT_PUBLIC_NODE_ENV=$NODE_ENV -NEXT_PUBLIC_BASE_API_MAINNET_URL=https://api.cloudmos.io -NEXT_PUBLIC_BASE_API_SANDBOX_URL=https://api-sandbox.cloudmos.io -NEXT_PUBLIC_BASE_API_TESTNET_URL=https://api-testnet.cloudmos.io +NEXT_PUBLIC_BASE_API_MAINNET_URL=https://console-api.akash.network +NEXT_PUBLIC_BASE_API_SANDBOX_URL=https://console-api-sandbox.akash.network +NEXT_PUBLIC_BASE_API_TESTNET_URL=https://console-api-testnet.akash.network NEXT_PUBLIC_API_BASE_URL=$NEXT_PUBLIC_BASE_API_MAINNET_URL BASE_API_MAINNET_URL=$NEXT_PUBLIC_BASE_API_MAINNET_URL diff --git a/apps/deploy-web/env/.env.staging b/apps/deploy-web/env/.env.staging index 7e9d7bfc2..24c697717 100644 --- a/apps/deploy-web/env/.env.staging +++ b/apps/deploy-web/env/.env.staging @@ -8,11 +8,11 @@ NEXT_PUBLIC_MANAGED_WALLET_DENOM=usdc NEXT_PUBLIC_MASTER_WALLET_ADDRESS=akash1ss0d2yw38r6e7ew8ndye9h7kg62sem36zak4d5 NEXT_PUBLIC_STATS_APP_URL=https://stats.akash.network -NEXT_PUBLIC_PROVIDER_PROXY_URL=https://providerproxy.cloudmos.io -NEXT_PUBLIC_PROVIDER_PROXY_URL_WS=wss://providerproxy.cloudmos.io +NEXT_PUBLIC_PROVIDER_PROXY_URL=https://provider-proxy.akash.network +NEXT_PUBLIC_PROVIDER_PROXY_URL_WS=wss://provider-proxy.akash.network NEXT_PUBLIC_NODE_ENV=$NODE_ENV -NEXT_PUBLIC_BASE_API_MAINNET_URL=https://api-mainnet-staging.cloudmos.io -NEXT_PUBLIC_BASE_API_SANDBOX_URL=https://api-sandbox-staging.cloudmos.io +NEXT_PUBLIC_BASE_API_MAINNET_URL=https://console-api-mainnet-staging.akash.network +NEXT_PUBLIC_BASE_API_SANDBOX_URL=https://console-api-sandbox-staging.akash.network NEXT_PUBLIC_BASE_API_TESTNET_URL=$NEXT_PUBLIC_BASE_API_MAINNET_URL NEXT_PUBLIC_API_BASE_URL=$NEXT_PUBLIC_BASE_API_MAINNET_URL diff --git a/apps/deploy-web/src/components/get-started/GetStartedStepper.tsx b/apps/deploy-web/src/components/get-started/GetStartedStepper.tsx index 837fecbdb..49270f2b9 100644 --- a/apps/deploy-web/src/components/get-started/GetStartedStepper.tsx +++ b/apps/deploy-web/src/components/get-started/GetStartedStepper.tsx @@ -239,7 +239,7 @@ export const GetStartedStepper: React.FunctionComponent = () => {

Deploy your first web app on Akash! This is a simple Next.js app and you can see the{" "} - . + .

= ({ isMobileOpen, handleDr { title: "API", icon: props => , - url: "https://api.cloudmos.io/v1/swagger", + url: "https://console-api.akash.network/v1/swagger", activeRoutes: [], target: "_blank" }, diff --git a/apps/provider-console/src/utils/constants.ts b/apps/provider-console/src/utils/constants.ts index fe8aa139e..95498e197 100644 --- a/apps/provider-console/src/utils/constants.ts +++ b/apps/provider-console/src/utils/constants.ts @@ -2,7 +2,7 @@ export const mainnetId = "mainnet"; export const testnetId = "testnet"; export const sandboxId = "sandbox"; -const productionHostnames = ["deploy.cloudmos.io", "console.akash.network", "staging-console.akash.network", "beta.cloudmos.io"]; +const productionHostnames = ["console.akash.network", "staging-console.akash.network"]; export const selectedRangeValues: { [key: string]: number } = { "7D": 7, diff --git a/apps/provider-proxy/server.ts b/apps/provider-proxy/server.ts index 47c60f8d9..cac52d5a1 100644 --- a/apps/provider-proxy/server.ts +++ b/apps/provider-proxy/server.ts @@ -21,7 +21,6 @@ const whitelist = [ "http://localhost:3000", "https://cloudmos.grafana.net", "https://console.akash.network", - "https://beta.cloudmos.io", "https://staging-console.akash.network", "https://akashconsole.vercel.app", "https://console-beta.akash.network"