update
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Steve McMaster 2023-08-10 11:50:17 -04:00
parent 795f855ac5
commit 700ae07324

View File

@ -18,15 +18,25 @@ steps:
commands: commands:
- mkdir calcom - mkdir calcom
- tar --strip-components 1 -C calcom -xzf source.tar.gz - tar --strip-components 1 -C calcom -xzf source.tar.gz
- ls calcom
- mkdir docker - mkdir docker
- tar --strip-components 1 -C docker -xzf docker.tar.gz - tar --strip-components 1 -C docker -xzf docker.tar.gz
- mv docker/.dockerignore . - mv docker/.dockerignore .
- ls docker - mkdir -p build/apps
# - name: git - name: prepare build workspace
# image: alpine/git image: alpine/git
# commands: commands:
# - git init calcom - mkdir -p build/apps
- git init build
- cp calcom/package.json ./build/
- cp calcom/yarn.lock ./build/
- cp calcom/.yarnrc.yml ./build/
- cp calcom/playwright.config.ts ./build/
- cp calcom/turbo.json ./build/
- cp calcom/git-init.sh ./build/
- cp calcom/git-setup.sh ./build/
- cp -r calcom/.yarn/ ./build/.yarn/
- cp -r calcom/apps/web/ ./build/apps/web/
- cp -r calcom/packages ./build/packages
- name: build - name: build
image: node:18 image: node:18
environment: environment:
@ -42,17 +52,6 @@ steps:
NODE_OPTIONS: "--max-old-space-size=4096" NODE_OPTIONS: "--max-old-space-size=4096"
YARN_ENABLE_IMMUTABLE_INSTALLS: "false" YARN_ENABLE_IMMUTABLE_INSTALLS: "false"
commands: commands:
- mkdir -p build/apps
- cp calcom/package.json ./build/
- cp calcom/yarn.lock ./build/
- cp calcom/.yarnrc.yml ./build/
- cp calcom/playwright.config.ts ./build/
- cp calcom/turbo.json ./build/
- cp calcom/git-init.sh ./build/
- cp calcom/git-setup.sh ./build/
- cp -r calcom/.yarn/ ./build/.yarn/
- cp -r calcom/apps/web/ ./build/apps/web/
- cp -r calcom/packages ./build/packages
- cd build - cd build
- yarn config set httpTimeout 1200000 - yarn config set httpTimeout 1200000
- npx turbo prune --scope=@calcom/web --docker - npx turbo prune --scope=@calcom/web --docker