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:
- mkdir calcom
- tar --strip-components 1 -C calcom -xzf source.tar.gz
- ls calcom
- mkdir docker
- tar --strip-components 1 -C docker -xzf docker.tar.gz
- mv docker/.dockerignore .
- ls docker
# - name: git
# image: alpine/git
# commands:
# - git init calcom
- mkdir -p build/apps
- name: prepare build workspace
image: alpine/git
commands:
- 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
image: node:18
environment:
@ -42,17 +52,6 @@ steps:
NODE_OPTIONS: "--max-old-space-size=4096"
YARN_ENABLE_IMMUTABLE_INSTALLS: "false"
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
- yarn config set httpTimeout 1200000
- npx turbo prune --scope=@calcom/web --docker