test
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Steve McMaster 2025-04-24 23:29:06 -04:00
parent 349d175dac
commit af7103f96e

View File

@ -26,33 +26,33 @@ steps:
- git init calcom
- mv docker/.dockerignore .
- mkdir -p build/apps
# - name: build
# image: node:18
# environment:
# NEXT_PUBLIC_WEBAPP_URL: https://cal.smcm.xyz
# NEXT_PUBLIC_API_V2_URL: https://cal.smcm.xyz/api/v2
# NEXT_PUBLIC_LICENSE_CONSENT: agree
# CALCOM_TELEMETRY_DISABLED: 1
# NEXTAUTH_SECRET:
# from_secret: nextauth_secret
# CALENDSO_ENCRYPTION_KEY:
# from_secret: calendso_encryption_key
# DATABASE_URL: postgresql://unicorn_user:magical_password@postgres/calendso
# DATABASE_DIRECT_URL: "postgresql://unicorn_user:magical_password@postgres/calendso"
# NODE_OPTIONS: "--max-old-space-size=4096"
# YARN_ENABLE_IMMUTABLE_INSTALLS: "false"
# BUILD_STANDALONE: true
# commands:
# - cd calcom
# - yarn config set httpTimeout 1200000
# - npx turbo prune --scope=@calcom/web --docker
# - yarn install
# - yarn db-deploy
# - yarn --cwd packages/prisma seed-app-store
# # Build and make embed servable from web/public/embed folder
# - yarn --cwd packages/embeds/embed-core workspace @calcom/embed-core run build
# - yarn --cwd apps/web workspace @calcom/web run build
# - rm -rf node_modules/.cache .yarn/cache apps/web/.next/cache
- name: build
image: node:18
environment:
NEXT_PUBLIC_WEBAPP_URL: https://cal.smcm.xyz
NEXT_PUBLIC_API_V2_URL: https://cal.smcm.xyz/api/v2
NEXT_PUBLIC_LICENSE_CONSENT: agree
CALCOM_TELEMETRY_DISABLED: 1
NEXTAUTH_SECRET:
from_secret: nextauth_secret
CALENDSO_ENCRYPTION_KEY:
from_secret: calendso_encryption_key
DATABASE_URL: postgresql://unicorn_user:magical_password@postgres/calendso
DATABASE_DIRECT_URL: "postgresql://unicorn_user:magical_password@postgres/calendso"
NODE_OPTIONS: "--max-old-space-size=4096"
YARN_ENABLE_IMMUTABLE_INSTALLS: "false"
BUILD_STANDALONE: true
commands:
- cd calcom
- yarn config set httpTimeout 1200000
- npx turbo prune --scope=@calcom/web --docker
- yarn install
- yarn db-deploy
- yarn --cwd packages/prisma seed-app-store
# Build and make embed servable from web/public/embed folder
- yarn --cwd packages/embeds/embed-core workspace @calcom/embed-core run build
- yarn --cwd apps/web workspace @calcom/web run build
- rm -rf node_modules/.cache .yarn/cache apps/web/.next/cache
- name: publish
image: plugins/docker
settings: